Here is a procedure to convert a run and add data the Kinematic plot.
Every 4Go there will be a file change, convert the file and add it to the chain using the following step:
Step O: Take your favorite ortholinear keyboard
Step 1: Login in the right environment
- open a terminal from one of the mugast computer
- type lpcgrit to login to lpcgrit and source the right environmt
- you should see red lpcgrit invite of command
Step 2: Convert the file using the offline program
This Convert the file from the ganil .dat file and contained only MUGAST and CATS stuff
- type npp MUGAST/offline in the terminal to reach the correct folder
- ./Offline run_com2019/run_0ZZZ-DD-MM-YY.HHhMMmSSs root_com2019/run_ZZZ_0.root
- OR
- ./Offline run_com2019/run_0ZZZ-DD-MM-YY.HHhMMmSSs.R root_com2019/run_ZZZ_R.root
Step 3: Analyse the file using the npanalysis program
This could be used with any file, either from Offline conversion, or the VAMOS Analysis conversion or the Merged Tree from AGATA.
- type npp MUGAST in the terminal to reach the correct folder
there is an error below caused by the ortholinear keyboard, I guess, corrected using a normal keyboard:
- npanalysis -D mugast.detector -C Calibration.txt -E ./Reaction/16Odp.reaction -T offline/root_com2019/run_0253.root AutoTree -O PhyZZZ.root
- The run will be created in the NPOutputs/ folder
Step 4: Add the file to the KineMacro
- vim macros/Kine.cxx
- Add the new file in the LoadChain method
- root macros/Kine.cxx
- Enjoy the soothing feeling of a smooth knematic line during a late night shift.
|