File tree Expand file tree Collapse file tree 9 files changed +143
-0
lines changed
Expand file tree Collapse file tree 9 files changed +143
-0
lines changed Original file line number Diff line number Diff line change 1+ [Diamond]
2+ width[2]=6.0
3+
4+ [GeneratorExternal]
5+ fileName =${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+ funcName =generator_pythia8_ALICE3()
7+
8+ [GeneratorPythia8]
9+ config =${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_NeNe_536.cfg
Original file line number Diff line number Diff line change 1+ [Diamond]
2+ width[2]=6.0
3+
4+ [GeneratorExternal]
5+ fileName =${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+ funcName =generator_pythia8_ALICE3()
7+
8+ [GeneratorPythia8]
9+ config =${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_OO_536.cfg
Original file line number Diff line number Diff line change 1+ [Diamond]
2+ width[2]=6.0
3+
4+ [GeneratorExternal]
5+ fileName =${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+ funcName =generator_pythia8_ALICE3()
7+
8+ [GeneratorPythia8]
9+ config =${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_pO_961.cfg
Original file line number Diff line number Diff line change 1+ int External () {
2+ std ::string path {"o2sim_Kine.root" };
3+
4+ TFile file (path .c_str (), "READ ");
5+ if (file .IsZombie ()) {
6+ std ::cerr << "Cannot open ROOT file " << path << "\n" ;
7+ return 1 ;
8+ }
9+
10+ auto tree = (TTree * )file .Get ("o2sim" );
11+ if (!tree ) {
12+ std ::cerr << "Cannot find tree o2sim in file " << path << "\n" ;
13+ return 1 ;
14+ }
15+ std ::vector < o2 ::MCTrack > * tracks {};
16+ tree -> SetBranchAddress ("MCTrack" , & tracks );
17+
18+ auto nEvents = tree -> GetEntries ();
19+ if (nEvents == 0 ) {
20+ std ::cerr << "No event of interest\n" ;
21+ return 1 ;
22+ }
23+ return 0 ;
24+ }
Original file line number Diff line number Diff line change 1+ int External () {
2+ std ::string path {"o2sim_Kine.root" };
3+
4+ TFile file (path .c_str (), "READ ");
5+ if (file .IsZombie ()) {
6+ std ::cerr << "Cannot open ROOT file " << path << "\n" ;
7+ return 1 ;
8+ }
9+
10+ auto tree = (TTree * )file .Get ("o2sim" );
11+ if (!tree ) {
12+ std ::cerr << "Cannot find tree o2sim in file " << path << "\n" ;
13+ return 1 ;
14+ }
15+ std ::vector < o2 ::MCTrack > * tracks {};
16+ tree -> SetBranchAddress ("MCTrack" , & tracks );
17+
18+ auto nEvents = tree -> GetEntries ();
19+ if (nEvents == 0 ) {
20+ std ::cerr << "No event of interest\n" ;
21+ return 1 ;
22+ }
23+ return 0 ;
24+ }
Original file line number Diff line number Diff line change 1+ int External () {
2+ std ::string path {"o2sim_Kine.root" };
3+
4+ TFile file (path .c_str (), "READ ");
5+ if (file .IsZombie ()) {
6+ std ::cerr << "Cannot open ROOT file " << path << "\n" ;
7+ return 1 ;
8+ }
9+
10+ auto tree = (TTree * )file .Get ("o2sim" );
11+ if (!tree ) {
12+ std ::cerr << "Cannot find tree o2sim in file " << path << "\n" ;
13+ return 1 ;
14+ }
15+ std ::vector < o2 ::MCTrack > * tracks {};
16+ tree -> SetBranchAddress ("MCTrack" , & tracks );
17+
18+ auto nEvents = tree -> GetEntries ();
19+ if (nEvents == 0 ) {
20+ std ::cerr << "No event of interest\n" ;
21+ return 1 ;
22+ }
23+ return 0 ;
24+ }
Original file line number Diff line number Diff line change 1+ # ## NeNe beams
2+ Beams:idA = 1000100200 # Neon
3+ Beams:idB = 1000100200 # Neon
4+ Beams:eCM = 5360.0 # ## energy
5+
6+ Beams:frameType = 1
7+ ParticleDecays:limitTau0 = on
8+ ParticleDecays:tau0Max = 10. # ## match alice: 1cm/c = 10.0mm/c
9+
10+ # ## To avoid refitting, add the following lines to your configuration file:
11+ HeavyIon:SigFitNGen = 0
12+ HeavyIon:SigFitDefPar = 2.15,18.42,0.33
13+
14+ Random:setSeed = on
Original file line number Diff line number Diff line change 1+ # ## OO beams
2+ Beams:idA = 1000080160
3+ Beams:idB = 1000080160
4+ Beams:eCM = 5360.0 # ## energy
5+
6+ Beams:frameType = 1
7+ ParticleDecays:limitTau0 = on
8+ ParticleDecays:tau0Max = 10. # ## match alice: 1cm/c = 10.0mm/c
9+
10+ # ## Save some CPU at init of jobs
11+ # ## To avoid refitting, add the following lines to your configuration file:
12+ HeavyIon:SigFitNGen = 0
13+ HeavyIon:SigFitDefPar = 2.15,18.42,0.33
14+
15+ Random:setSeed = on
Original file line number Diff line number Diff line change 1+ # ## OO beams
2+ Beams:frameType 2 # back-to-back beams of different energies and particles
3+ Beams:idA 2212 # proton
4+ Beams:idB 1000080160 # Oxygen
5+ Beams:eA 6800. # Energy of proton beam in GeV moving in the +z direction
6+ Beams:eB 3400. # Energy in GeV per Oxygen nucleon (6.8 Z TeV) moving in the -z direction
7+
8+ ParticleDecays:limitTau0 = on
9+ ParticleDecays:tau0Max = 10. # ## match alice: 1cm/c = 10.0mm/c
10+
11+ # ## To avoid refitting, add the following lines to your configuration file:
12+ HeavyIon:SigFitNGen = 0
13+ HeavyIon:SigFitDefPar = 2.17,17.56,0.30
14+
15+ Random:setSeed = on
You can’t perform that action at this time.
0 commit comments