Skip to content
rdomPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

593 Commits

Folders and files

Repository files navigation

Installation

#install and initialize geant4 with -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON

git clone https://github.com/rdom/prttools
git clone https://github.com/rdom/prtdirc
cd prtdirc
mkdir build
cd build
cmake ..
make -j4

#neural network
install tensorflow libs, cppflow and run:
cmake -DAI=1 ..

Synopsis

prtdirc [OPTION] [ARGUMENT] ... [OPTION] [ARGUMENT]

example:
./prtdirc -a 40 -l 0 -x "pi+" -p 1 -w 0 -g 0 -gsx 65 -e 1

for 2018 configuraion:
./prtdirc -r 0 -study 403 -e 1

Options


-o   output file name
-i   input file name
-u   look-up file name
-pdf pdf file name

-r   run type
     0    simulation
     1    look-up table generation
     11   look-up table generation using Cherenkov photons
     20   uniform random sampling (22-140 deg and 0.5-3.5 GeV/c)
     2    geometrical reconstruction
     3    likelihood calculation
     4    create pdf
     5    simulate pdf
     6    focal plane measurements
     7    calibration

-study  study id

-fid  fild id

-g   geometry configuration
     1    in vacuum
     2    in air
     3    in air + 1cm plastic at front + trigger
     5    for calibration

-gsx radiator-prism x step in mm

-gsy radiator-prism y step in mm

-gx  x position of beam-radiator hit point in mm
     0    is a middle of radiator 

-gz  z position of beam-radiator hit point in mm
     0    is at edge of radiator (prism side)

-z   beam dimension
     0    no smearing (default)
          positive int # [mm]   Gaussian smearing in x and y  
    -1  no smearing, random momenta [0,4] GeV


-h   radiator type
     1    bar (default)
     2    plate

-c   MCP layout
     0    MCP covers all FD plain
     2012
     2014 (default) 
     2015
     2016
     2017 3x4 layout
     20171 2x4 layout
     2021 3x3+2 layout - Barrel DIRC baseline design
     2030 3x4 EIC layout with 3mm x 3mm pixels 

-l   focusing system
     0    no lens
     1    2-layer spherical lens
     2    2-layer cylindrical lens
     3    3-layer spherical lens
     4    1-layer spherical lens (with air-gap)
     5    test lens
     6    3-layer cylindrical lens		
     10   ideal lens (thickness = 0, ideal focusing)

-a   polar angle between particle beam and bar radiator

-phi azimuth angle between particle beam and bar radiator

-e   number of simulated events
-f   number of the first event for the reconstruction

-x   particle type
     "pi+" 
     "proton"
     "kaon+"
     ...
     "opticalphoton"
     "mix_pip" - (mix pions and protons)
     "mix_pik" - (mix pions and kaons ) 

-p   particle momentum [GeV/c]

-w   physical list
     0    standard  (default)
     1    without multiple scattering
     10   monochromatic Cherenkov light
     11   10 + 1

-tr  time resolution [ns]
     0.2  (default)  

-seed   seed number for the random generator 

-b   batch mode
     1    run silent (without GUI)

Example of script usage from macro folder

./ba_scan -j6 -r0 -s5 -e50 -t1 -v0
root da_scan.C'("r_spr39498736070.root","ttt1.root")'

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages