TS RunGroupC

From New IAC Wiki
Revision as of 22:15, 30 November 2015 by Foretony (talk | contribs) (→‎Commands)
Jump to navigation Jump to search

Inclusive electron scattering

Theta and Phi graphs

TS 11162015 Theta.png


Inclusive Track Reconstruction efficiencies

Plot the reconstruction efficiency for an electron as a function of the angles Theta and Phi


Commands

Simulation commands

tcsh cd ~/src/CLAS/GEMC source setup cd experiments/eg12/lh2 gemc -HALL_MATERIAL="Vacuum" eg12.gcard gemc -USE_GUI=0 -HALL_MATERIAL="Vacuum" -N=10 eg12.gcard to edit files

emacs -nw filename

without solenoid

~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -config DCHB::torus=1.0 -config DCHB::solenoid=0.0 -config DCTB::kalman=true  -s DCHB:DCTB:EC:FTOF:EB -i eg12.ev -o eg12_rec.evio

with solenoid

~/src/CLAS/coatjava-1.0/bin/clas12-reconstruction -s FMT:DCHB:DCTB:FTOF:EC:EB -config MAG::fields=nominal -i eg12_5GeVe.evio -o eg12_rec.evio

evio analysis program

~/src/CLAS/coatjava-1.0/bin/run-groovy Analysis.groovy eg12_rec.0.evio


dump file contents

~/src/CLAS/coatjava-1.0/bin/evio-dump -i eg12_rec.0.evio

Analysis commands

Converting files to ROOT

~/src/CLAS/coatjava-1.0/bin/run-groovy Evio2Text.groovy eg12_rec.0.evio > Sim.dat

edit Sim.dat and remove the first few lines until you have only numbers

minerve2:~/src/CLAS/GEMC/experiments/eg12/lh2> root -l root [0] .L Asci2Root.C root [1] Asci2Root("Sim.dat");



Using ROOT to analyze a file

minerve2:~/src/CLAS/GEMC/experiments/eg12/lh2> root -l Sim.root root [0] Attaching file Sim.root as _file0... root [1] new TBrowser(); root [2] CLAS12Sim->Draw("evt.Theta"); root [3] CLAS12Sim->Draw("evt.Theta:evt.Phi"); root [4] CLAS12Sim->Draw("evt.Theta:evt.Phi","","colz");


EG12#Tyler_Stokes_EG12_studies