File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [GeneratorExternal]
2+ fileName =${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
3+ funcName =generator_pythia8_ALICE3()
4+
5+ [GeneratorPythia8]
6+ config =${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_536tev_wDeInel.cfg
Original file line number Diff line number Diff line change 1+ int External ()
2+ {
3+ std ::string path {"o2sim_Kine.root" };
4+
5+ TFile file (path .c_str (), "READ ");
6+ if (file .IsZombie ())
7+ {
8+ std ::cerr << "Cannot open ROOT file " << path << "\n" ;
9+ return 1 ;
10+ }
11+
12+ auto tree = (TTree * )file .Get ("o2sim" );
13+ if (!tree )
14+ {
15+ std ::cerr << "Cannot find tree o2sim in file " << path << "\n" ;
16+ return 1 ;
17+ }
18+ std ::vector < o2 ::MCTrack > * tracks {};
19+ tree -> SetBranchAddress ("MCTrack" , & tracks );
20+
21+ auto nEvents = tree -> GetEntries ();
22+ if (nEvents < 1 )
23+ {
24+ std ::cerr << "No events actually generated: not OK!" ;
25+ return 1 ;
26+ }
27+ return 0 ;
28+ }
Original file line number Diff line number Diff line change 1+ # ## Specify beams
2+ Beams:idA = 2212
3+ Beams:idB = 2212
4+ Beams:eCM = 5360. # ## energy
5+
6+ Beams:frameType = 1
7+ ParticleDecays:limitTau0 = on
8+ ParticleDecays:tau0Max = 10. # ## match alice: 1cm/c = 10.0mm/c
9+
10+ # ## processes
11+ SoftQCD:inelastic = on # all inelastic processes
12+
13+ # default: do nothing, Monash 2013 will do its thing
14+ Tune:pp = 14
15+
16+ Random:setSeed = on
17+
18+ # enable deuteron production by inelastic collisions
19+ HadronLevel:DeuteronProduction = on
You can’t perform that action at this time.
0 commit comments