QwGeant4
QweakSimUserPrimaryEvent.cc
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // ---------------------------
4 // | Doxygen File Information |
5 // ---------------------------
6 //
7 /**
8 
9  \file QweakSimUserPrimaryEvent.cc
10 
11  $Revision: 1.2 $
12  $Date: 2005/12/27 19:18:05 $
13 
14  \author Klaus Hans Grimm
15 
16 */
17 //=============================================================================
18 
19 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
20 //
21 // Structure of subtree withtin Root ntuple:
22 // Info saved of primary event
23 //
24 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
26 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
27 
29 
30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
32 {
33  Initialize();
34 }
35 
36 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
38 {;}
39 
40 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
42 {
43  RandomSeed = "";
44 
45  TrackID = 0;
46  GlobalTime = 0.0;
47 
51 
55 
58 
61 
66 
67  BeamEnergy = 0.0;
68 
71  EffectiveKinematicX = 0.0;
72  EffectiveKinematicW = 0.0;
73 
74  PrimaryQ2 = 0.0;
75  CrossSection = 0.0;
76  CrossSectionWeight = 0.0;
79  CrossSectionBornQE = 0.0;
82  CrossSectionRadQE = 0.0;
83  CrossSectionRadDIS = 0.0;
89  Asymmetry = 0.0;
90 
91  PDGcode = 0;
92 
93  ReactionType = 1; // assume elastic as default
94  ReactionRegion = 1; // assume LH2 cell interior by default
95 
96  // clear Eloss variables
100  dETotIn= dETotOut= dETot=0;
101 }
102 
103 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
104 
Float_t OriginVertexTotalEnergy
Total energy right after the primary vertex.
Float_t OriginVertexThetaAngle
(degrees)
Int_t ReactionRegion
The reaction region used for this event, e.g. LH2 interior = 1, US window = 2, DS window = 3...
Float_t PrimaryQ2
Momentum transfer Q^2 for this event (GeV2)
Float_t OriginVertexKineticEnergy
Kinetic energy right after the primary vertex.
Int_t TrackID
ID of the primary track in this event.
Int_t ReactionType
The reaction type used for this event, e.g. elastic ep = 1, e+p -> e'+p+pi = 2.
Float_t Asymmetry
Asymmetry for events with these kinematics.
Float_t CrossSectionWeight
Modified cross section weight for events with these kimematics, assuming flat-theta picking (isotropy...
TString RandomSeed
The state of the random number generator when this event was generated.
Int_t PDGcode
The Lund type of the primary particle, e.g. electron = 11.
Stores the PrimaryEvent information into the ROOT file for each event.
Float_t GlobalTime
Time of primary interaction, starting 30 cm in front of the target, see target energy loss (ns) ...
Float_t CrossSection
Cross section weight for events with these kinematics, assuming isotropic spherical picking (isotropy...