- Timestamp:
- May 17, 2021, 6:05:38 PM (4 years ago)
- Branches:
- master
- Children:
- 7dac4ea
- Parents:
- 46d3442 (diff), 4afb18d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Michele Selvaggi <michele.selvaggi@…> (05/17/21 18:05:38)
- git-committer:
- GitHub <noreply@…> (05/17/21 18:05:38)
- Location:
- examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Example5.C
r46d3442 r4acf2fd 37 37 // Load selected branches with data from specified event 38 38 treeReader->ReadEntry(entry); 39 39 40 40 if(entry>10) break; 41 41 42 42 cout<<"" <<endl; 43 43 cout<<"--------- New Event ---------" <<endl; 44 44 cout<<"" <<endl; 45 45 46 46 // loop over all input particles in the event 47 47 for(Int_t i=0; i < branchParticle->GetEntriesFast(); i++) 48 { 49 GenParticle *gen = (GenParticle*) branchParticle->At(i); 50 cout<<"N: "<<i<<", St: "<<gen->Status<<", PID: "<<gen->PID<<", E: "<<gen->E<<", Px: "<<gen->Px<<", Py: "<<gen->Py<<", Pz: "<<gen->Pz<<", M: "<<gen->Mass<<", M1: "<<gen->M1<<", M2: "<<gen->M2<<", D1: "<<gen->D1<<", D2: "<<gen->D2<<endl;48 { 49 GenParticle *gen = (GenParticle*) branchParticle->At(i); 50 cout<<"N: "<<i<<", St: "<<gen->Status<<", PID: "<<gen->PID<<", E: "<<gen->E<<", Px: "<<gen->Px<<", Py: "<<gen->Py<<", Pz: "<<gen->Pz<<", M: "<<gen->Mass<<", T: "<<gen->T<<", X: "<<gen->X<<", Y: "<<gen->Y<<", Z: "<<gen->Z<<", M1: "<<gen->M1<<", M2: "<<gen->M2<<", D1: "<<gen->D1<<", D2: "<<gen->D2<<endl; 51 51 } 52 52 } -
examples/Pythia8/ee_zh.cmnd
r46d3442 r4acf2fd 1 1 2 Main:numberOfEvents = 10 ! number of events to generate 2 ! number of events to generate 3 Main:numberOfEvents = 1000 ! number of events to generate 3 4 4 5 Beams:idA = 11 ! first beam, e- = -11 … … 7 8 8 9 ! Vertex smearing : 9 Beams:allowVertexSpread = off10 !Beams:sigmaVertexX = 9.70e-3 ! 13.7 mum / sqrt211 !Beams:sigmaVertexY = 25.5E-6 ! 36.1 nm / sqrt212 !Beams:sigmaVertexZ = 20.64 ! 0.64 mm13 !ï¿ŒBeams:sigmaVertexT = 0.64 ! 0.64 mm14 ï¿Œ15 10 11 Beams:allowVertexSpread = on 12 Beams:sigmaVertexX = 9.70e-3 ! 13.7 mum / sqrt2 13 Beams:sigmaVertexY = 25.5E-6 ! 36.1 nm / sqrt2 14 Beams:sigmaVertexZ = 0.64 ! 0.64 mm 15 Beams:sigmaTime = 0.64 ! 0.64 mm 16 16 17 17 ! Higgsstrahlung process
Note:
See TracChangeset
for help on using the changeset viewer.