34 #ifndef QweakSimUserPrimaryEvent_h
35 #define QweakSimUserPrimaryEvent_h
146 std::stringstream name;
148 std::ofstream file(name.str().c_str());
152 return seed.Length();
void StoreCrossSection(Float_t cs)
Float_t OriginVertexKinematicW
Float_t OriginVertexTotalEnergy
Total energy right after the primary vertex.
void StoreCrossSectionRadElastic(Float_t cs)
Float_t GetOriginVertexThetaAngle() const
void StoreReactionType(Int_t rt)
void StorePhaseSpace(Float_t ps)
Float_t OriginVertexThetaAngle
(degrees)
Float_t GetEPrime_Max() const
void StoredEIonTot(Float_t dE)
Int_t WriteRandomSeed() const
Int_t ReactionRegion
The reaction region used for this event, e.g. LH2 interior = 1, US window = 2, DS window = 3...
Int_t PrimaryEventNumber
The primary event number (increments by two due to target energy loss simulation) ...
Float_t GetPhaseSpace() const
Float_t GetLuminosity() const
Float_t GetOriginVertexPositionZ() const
Float_t GetOriginVertexKinematicW() const
void StoredETotOut(Float_t dE)
void StoreOriginVertexKinematicW(Float_t w)
Float_t OriginVertexMomentumDirectionX
Float_t OriginVertexPhiAngle
(degrees)
QweakSimUserPrimaryEvent()
Float_t GetPreScatteringKineticEnergy() const
void StoredEMscTot(Float_t dE)
void StorePhiAngle_Max(Float_t ang)
Float_t OriginVertexKinematicQ2
Float_t GetOriginVertexKinematicX() const
Float_t EffectiveKinematicQ2
Float_t GetOriginVertexKinematicNu() const
void StoreOriginVertexKinematicQ2(Float_t q2)
Float_t CrossSectionBornInelastic
Float_t GetThetaAngle_Max() const
virtual ~QweakSimUserPrimaryEvent()
Float_t CrossSectionRadTotal
Float_t PrimaryQ2
Momentum transfer Q^2 for this event (GeV2)
Float_t GetCrossSectionRadTotal() const
void StoreCrossSectionBornInelastic(Float_t cs)
Float_t GetCrossSectionBornTotal() const
Float_t GetCrossSectionRadDIS() const
Float_t EffectiveKinematicX
Float_t GetOriginVertexKineticEnergy() const
Float_t CrossSectionRadDISIntOnly
void StoredETot(Float_t dE)
Float_t GetOriginVertexPositionY() const
Float_t GetOriginVertexMomentumDirectionX() const
void StoreCrossSectionRadTotalIntOnly(Float_t cs)
Float_t GetEffectiveKinematicX() const
Float_t OriginVertexKineticEnergy
Kinetic energy right after the primary vertex.
void StorePDGcode(Int_t code)
Float_t GetOriginVertexKinematicQ2() const
Int_t TrackID
ID of the primary track in this event.
Float_t CrossSectionRadElasticIntOnly
void StoreEPrime_Min(Float_t energy)
void StoreTrackID(Int_t tid)
Float_t GetCrossSectionRadDISIntOnly() const
Float_t GetCrossSectionRadTotalIntOnly() const
Int_t ReactionType
The reaction type used for this event, e.g. elastic ep = 1, e+p -> e'+p+pi = 2.
void StoreCrossSectionRadQE(Float_t cs)
void StoreOriginVertexMomentumDirectionY(Float_t vy)
Int_t GetReactionType() const
Float_t GetGloablTime() const
void StoreEffectiveKinematicW(Float_t w)
void StoreCrossSectionRadElasticPeak(Float_t cs)
Float_t GetOriginVertexPositionX() const
Float_t GetAsymmetry() const
void StoreCrossSectionRadTotal(Float_t cs)
Float_t GetCrossSectionRadElastic() const
Float_t GetCrossSectionRadQEIntOnly() const
Float_t GetEffectiveKinematicNu() const
Float_t CrossSectionBornTotal
void StoreRandomSeed(TString seed)
void StoreCrossSectionWeight(Float_t csw)
Float_t GetThetaAngle_Min() const
void StoreReactionRegion(Int_t rt)
Float_t Asymmetry
Asymmetry for events with these kinematics.
Float_t OriginVertexMomentumDirectionY
Float_t GetCrossSectionWeight() const
Float_t OriginVertexPositionX
(mm)
void StoreCrossSectionBornTotal(Float_t cs)
void StoredEIonOut(Float_t dE)
void StoreNumberOfEventToBeProcessed(Int_t events)
Int_t GetPrimaryEventNumber() const
Float_t GetPhiAngle_Min() const
void StoreOriginVertexPositionY(Float_t vy)
void StoreOriginVertexMomentumDirectionZ(Float_t vz)
void StoreAsymmetry(Float_t asym)
Float_t CrossSectionRadDIS
void StoreOriginVertexKinematicX(Float_t x)
Float_t GetEPrime_Min() const
Float_t GetEffectiveKinematicW() const
void StoreEffectiveKinematicNu(Float_t nu)
Float_t OriginVertexMomentumDirectionZ
Float_t GetOriginVertexMomentumDirectionY() const
void StoreOriginVertexPositionX(Float_t vx)
Int_t GetNumberOfEventToBeProcessed() const
Int_t NumberOfEventToBeProcessed
void StoredEIonIn(Float_t dE)
void StoreOriginVertexPositionZ(Float_t vz)
void StoreEffectiveKinematicX(Float_t x)
Float_t OriginVertexPositionY
(mm)
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.
void StoreOriginVertexKineticEnergy(Float_t ekin)
Int_t GetReactionRegion() const
Int_t PDGcode
The Lund type of the primary particle, e.g. electron = 11.
Float_t GetPhiAngle_Max() const
Float_t CrossSectionRadTotalIntOnly
void StoreOriginVertexKinematicNu(Float_t nu)
void StoreOriginVertexPhiAngle(Float_t phi)
Float_t OriginVertexPositionZ
(mm)
void StoreCrossSectionRadQEIntOnly(Float_t cs)
void StoreEffectiveKinematicQ2(Float_t q2)
void StoreOriginVertexThetaAngle(Float_t theta)
void StorePhiAngle_Min(Float_t ang)
void StoreCrossSectionBornQE(Float_t cs)
Float_t GetCrossSectionRadQE() const
void StoredEMscOut(Float_t dE)
void StoreLuminosity(Float_t lum)
void StoreOriginVertexTotalEnergy(Float_t etot)
Float_t EffectiveKinematicW
void StoreThetaAngle_Min(Float_t ang)
Stores the PrimaryEvent information into the ROOT file for each event.
void StoredEMscIn(Float_t dE)
void StoredEBremIn(Float_t dE)
void StoreGlobalTime(Float_t gtime)
void StoreThetaAngle_Max(Float_t ang)
Float_t GetBeamEnergy() const
Float_t GetCrossSectionRadElasticIntOnly() const
Float_t GetCrossSectionBornQE() const
Float_t CrossSectionRadQEIntOnly
Float_t EffectiveKinematicNu
void StoredEBremOut(Float_t dE)
Float_t GlobalTime
Time of primary interaction, starting 30 cm in front of the target, see target energy loss (ns) ...
Float_t GetCrossSection() const
void StoreEPrime_Max(Float_t energy)
TString GetRandomSeed() const
void StorePrimaryQ2(Float_t pq2)
Float_t GetCrossSectionBornInelastic() const
void StoreBeamEnergy(Float_t energy)
void StorePrimaryEventNumber(Int_t pen)
Float_t GetOriginVertexTotalEnergy() const
void StorePreScatteringKineticEnergy(Float_t ekin)
void StoreCrossSectionRadDISIntOnly(Float_t cs)
void StoredETotIn(Float_t dE)
Float_t PreScatteringKineticEnergy
Kinetic energy right before the primary vertex (after external target energy loss) ...
Float_t OriginVertexKinematicNu
Float_t CrossSectionRadElasticPeak
Float_t GetOriginVertexMomentumDirectionZ() const
Float_t CrossSectionRadQE
Float_t GetEffectiveKinematicQ2() const
void StoreOriginVertexMomentumDirectionX(Float_t vx)
Float_t CrossSection
Cross section weight for events with these kinematics, assuming isotropic spherical picking (isotropy...
Float_t CrossSectionRadElastic
void StoreCrossSectionRadElasticIntOnly(Float_t cs)
void StoredEBremTot(Float_t dE)
Float_t GetPrimaryQ2() const
Float_t GetOriginVertexPhiAngle() const
Float_t GetCrossSectionRadElasticPeak() const
Float_t CrossSectionBornQE
void StoreCrossSectionRadDIS(Float_t cs)
Float_t OriginVertexKinematicX