]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/RESONANCES/macros/lego_train/README
Updated cut classes and macro for Sigma* analysis (M. Venaruzzo)
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / macros / lego_train / README
CommitLineData
3248b3db 1# Working from v5-02-16-AN
2
3root 'RunALICE.C("proof","test","aod","",1e10,0,"my_local_data.txt","AddAMRsn")'
4
5root 'RunALICE.C("local","full","aod","",1e10,0,"my_local_data.txt","AddAMRsn")'
6
deb5c67a 7root 'RunALICE.C("proof","full","aod","",1e10,0,"datasets-proof/LHC11a_p3_SSD_AOD072.txt","AddAMRsn")'
b63dbf69 8
9
10
11##### Init working direcotry to be able use lego_train stuff #####
12
13# get source from RSN git (readonly version) [please install git]
14
15mkdir -p $HOME/ALICE/
16cd $HOME/ALICE/
17git clone git://github.com/mvala/AliRsn.git
18
19# to get latest source
20cd $HOME/ALICE/AliRsn
21git pull
22
23# Let's create working direcotry (any directory you want)
24mkdir -p /tmp/my_wk_dir
25cd /tmp/my_wk_dir
26$HOME/ALICE/AliRsn/scripts/alirsn-create-wk-dir.sh
27# now you should have .C files needed to run analysis
28
29# modify RsnManager.C to set your RSN you want to study
30# for example line
31
32listRsn->Add(new TNamed("Phi","Phi2010"));
33
34# will use
35# AddRsnPairsPhi.C
36# AddRsnDaughterCutsPhi2010.C
37# more info in 'RsnManager.C'
38# NOTE: ORDER of loading macros
39# 1. Looks for macro in local direcotry
40# 2. Looks in direcotry defined in RsnManager.C as variable 'legoTrainPath'
41# Default is '$ALICE_ROOT/PWGLF/RESONANCES/macros/lego_train'
42
43# if you want to use latest macros, which are not even in aliroot, but they are in RSN git, you can do
44# in 'RsnManager.C' change legoTrainPath
45# for example (my RSN git copy is located /home/mvala/ALICE/AliRsn)
46legoTrainPath = "/home/mvala/ALICE/AliRsn/PWGLF/RESONANCES/macros/lego_train";
47
48# and you can do for example , where 'my_local_data.txt' has
49# list of files localy saved
50
51root 'RunALICE.C("proof","test","aod","",1e10,0,"my_local_data.txt","AddAMRsn")'
52
53##### END Init working direcotry to be able use lego_train stuff #####
54
55
56###### EXTRA STUFF ###############################
57
58# <1> #
59# Create latest PWGLFresonances.par from RSN git
60cd $HOME/ALICE/AliRsn
61mkdir build
62cd build
63../scripts/alirsn-make.sh PWGLFresonances.par
64# and now PWGLFresonances.par is saved in build direcotry
65
66# to use PWGLFresonances.par in lego_train macros
67# just set
68
69Int_t useRsnPar = 1;
70
71# and run as usual, for example
72root 'RunALICE.C("proof","test","aod","",1e10,0,"my_local_data.txt","AddAMRsn")'
73
74###### END EXTRA STUFF ###############################