"How to" for analysis code: Difference between revisions

From HELIOS Digital DAQ
Jump to navigation Jump to search
(Created page with "= How to Guide for analysis code = [last updated July 11, 2019] Everything should be performed in digios/analysis/working directory, *.txt file extension is editable for us...")
 
No edit summary
Line 19: Line 19:
== How to change the kinematic E-Z line? ==
== How to change the kinematic E-Z line? ==


see How to simulate the kinematics?
see [[#How to simulate the kinematics?]]


The E-Z lines are stored in fxList in transfer.root
The E-Z lines are stored in fxList in transfer.root

Revision as of 19:47, July 11, 2019

How to Guide for analysis code

[last updated July 11, 2019]

Everything should be performed in digios/analysis/working directory,

  • .txt file extension is editable for user.
  • .dat file extension is not supposed to be edited, they are generated.

How to change the array position ?

edit the file detectorGeo.txt

How to change the calculation for Ex and thetaCM ?

edit the file reactionConfig.txt, than recalculate the reaction.dat by running ../Cleopatra/Transfer

working>../Cleopatra/Transfer

How to change the kinematic E-Z line?

see #How to simulate the kinematics?

The E-Z lines are stored in fxList in transfer.root

In Monitors.C, at the end or Monitors::Terminate().

you can see the code call fxList.

How to simulate the kinematics?

edit

  • reactionConfig.txt
  • detectorGeo.txt
  • Ex.txt

Then run

 working>../Cleopatra/Transfer

after that, 2 files will be generated, 1) reaction.dat, 2) transfer.root

a tree is inside transfer.root.

you can see the tree branches by

root> tree->Print()

(I know some variable names are confusing, and I will update them soon)