Here is the procedure to convert a run with VAMOS and AGATA data and add those data to the Kinematic plot.
Every 4GB there will be a file change, to see if there is a file change type:
ls -ltrh /data/mugastX/e768s/acquisition/run/
Convert the last 4GB file and add it to the chain through the following steps:
Open a terminal from one of the Mugast computer:
Type: source $HOME/GoToVamosAna
Type: MyVAna -d2Ar -f /data/mugastX/e768s/acquisition/run/run_$$$$-DD-MM-YY.HHhMMmSSs /data/mugastX/e768s/acquisition/run/RootA/r$$$$_000a.root
OR (in case the run is split in more files)
Type: MyVAna -d2Ar -f /data/mugastX/e768s/acquisition/run/run_$$$$-DD-MM-YY.HHhMMmSSs.N /data/mugastX/e768s/acquisition/run/RootA/r$$$$_00Na.root
(If you get the error "Could not find the BrhoRef for the run <RunNr> ", update the ./Calibs/ListBrho.dat file with relevant Brho for RunNr)
Now you would be already able to run npanalysis to analyze the data VAMOS+Mugast with the following procedure:
Type: exit (to exit the VAMOS environment)
Type: lpcgrit (to load the analysis environment)
Type: npp MUGAST
Edit the exe_e768s.sh to specify which runs to analyze. The command should be the following:
npanalysis -D mugast.detector -C Calibration.txt -E ./Reaction/15N7Lit.reaction -T /data/mugastX/e768s/acquisition/run/RootA/r$$$$_00Na.root AD -O run_$$$$_N.root
Type: ./exe_e768s.sh
To convert a run including the AGATA data, the procedure is the following:
Go to the AGATA analysis computer (last on the right close to the window in the acquisition room), open a terminal and type the following commands:
> a4
> t e768s
> cd Replay
>./do_global_replay.sh -run ## (## is the number of the run you want to convert).
When it is finished, copy the root file to the GANIL world:
> mkdir /dataganil/e768s/acquisition/root_agata/run_00##/
> cp ./run_00##/Out/Analysis/Tree_00*.root /dataganil/e768s/acquisition/root_agata/run_00##/.
Now you can analyze the file using npanalysis.
The command in the exe_e768s.sh file should now look like:
npanalysis -D mugast.detector -C Calibration.txt -E ./Reaction/15N7Lit.reaction -T /data/mugastX/e768s/acquisition/root_agata/run_00##/Tree_000N.root TreeMaster -O run_00##_N_agata.root
The run will be created in the ./NPOutputs folder.
Bon courage! |