Millepede-II V04-17-03
Modules | Functions/Subroutines | Variables
mptest1.f90 File Reference

MC for simple 100 plane chamber. More...

Go to the source code of this file.

Modules

module  mptest1
 Parameters and data.
 

Functions/Subroutines

subroutine mptest
 Generate test files. More...
 
subroutine genlin (ip)
 Generate line and measurements. More...
 

Variables

integer(mpi), parameter mptest1::nplan =100
 
real(mps), parameter mptest1::detx = 10.0
 x-value of first plane More...
 
real(mps), parameter mptest1::disx = 10.0
 distance between planes More...
 
real(mps), parameter mptest1::thck = 2.0
 thickness of plane More...
 
real(mps), parameter mptest1::heit =100.0
 height of detector plane More...
 
real(mps), parameter mptest1::effp =0.90
 plane efficiency More...
 
real(mps), parameter mptest1::sgmp =0.0150
 measurement sigma More...
 
real(mps), dimension(nplan) mptest1::del
 shift (position deviation) (alignment parameter) More...
 
real(mps), dimension(nplan) mptest1::dvd
 rel. More...
 
real(mps) mptest1::ynull
 track position at vertex More...
 
real(mps) mptest1::slope
 track slope More...
 
integer(mpi) mptest1::nhits
 number of hits More...
 
integer(mpi), dimension(nplan) mptest1::ihits
 plane numbers (planes with hits) More...
 
real(mps), dimension(nplan) mptest1::eff
 plane efficiency More...
 
real(mps), dimension(nplan) mptest1::sgm
 measurement sigma (plane) More...
 
real(mps), dimension(nplan) mptest1::ydrft
 signed drift length More...
 
real(mps), dimension(nplan) mptest1::xhits
 position perp. More...
 
real(mps), dimension(nplan) mptest1::yhits
 measured position in plane (hit) More...
 
real(mps), dimension(nplan) mptest1::sigma
 measurement sigma (hit) More...
 

Detailed Description

MC for simple 100 plane chamber.

Author
Volker Blobel, University Hamburg, 2005-2009 (initial Fortran77 version)
Claus Kleinwort, DESY (maintenance and developement)

No B-field, straight tracks. Selected with command line option '-t'.

Global parameters:

Definition in file mptest1.f90.

Function/Subroutine Documentation

◆ genlin()

subroutine genlin ( integer(mpi), intent(in)  ip)

◆ mptest()

subroutine mptest

Generate test files.

Create text and binary files.

 unit  8: textfile mp2str.txt   = steering file
 unit  9: textfile mp2con.txt   = constraint file
 unit 51: binary file mp2test.bin, written using CALL MILLE(.)
 existing file are removed

Definition at line 78 of file mptest1.f90.

References mptest1::del, mptest1::detx, mptest1::disx, mptest1::dvd, mptest1::eff, mptest1::effp, endle(), genlin(), mptest1::ihits, mille(), mptest1::nhits, mptest1::nplan, mptest1::sgm, mptest1::sgmp, mptest1::sigma, mptest1::thck, mptest1::xhits, mptest1::ydrft, and mptest1::yhits.

Referenced by filetc().