Back to home page

EIC code displayed by LXR

 
 

    


Warning, /snippets/Tracking/ImpactPointEstimator/README.md is written in an unsupported language. File is not indexed.

0001 # Simple analysis code using ImpactPointEstimator
0002 
0003 Generating events from (x,y,z) = (1,0,0)mm
0004 -------------------------------------------
0005 In the container, do the following:
0006 
0007 ```
0008 mkdir output
0009 mkdir output/log
0010 
0011 source /opt/detector/epic-main/bin/thisepic.sh
0012 
0013 npsim --compactFile $DETECTOR_PATH/epic_craterlake.xml --enableGun --gun.distribution 'eta' \
0014 --gun.thetaMax 3.106 --gun.thetaMin 0.036 --gun.momentumMin "0.5*GeV" --gun.momentumMax "20*GeV" \
0015 --numberOfEvents 10000 --gun.position 1,0,0 --outputFile output/output_1_0_0.edm4hep.root
0016 
0017 eicrecon -Ppodio:output_file=output/eicrecon_out_1_0_0.root -Pjana:nevents=10000 -Pdd4hep:xml_files=epic_craterlake.xml output/output_1_0_0.edm4hep.root | tee output/log/out_1_0_0.txt
0018 ```
0019 
0020 Running the analysis code
0021 ---------------------
0022 The analysis code needs to be run in the container.
0023 
0024 ```
0025 mkdir plots
0026 source /opt/detector/epic-main/bin/thisepic.sh
0027 root -l -b -q pca_global_impactpoint.C
0028 ```
0029