eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
|
Describes an event from the gmc_trans Monte Carlo. More...
#include <EventGmcTrans.h>
Public Member Functions | |
EventGmcTrans (const std::string &="") | |
Constructor. More... | |
virtual | ~EventGmcTrans () |
Destructor. More... | |
virtual bool | Parse (const std::string &) |
Set the event properties from a string. More... | |
Double_t | GetPhiSpin () const |
Azimuthal angle of spin vector in gamma*-proton centre of mass frame. More... | |
Double_t | GetPhiHadron () const |
Azimuthal angle of hadron in gamma*-proton centre of mass frame. More... | |
Double_t | GetHadronZ () const |
Double_t | GetHadronPt () const |
Double_t | GetF1 () const |
Double_t | GetG1 () const |
Double_t | GetH1 () const |
Double_t | GetD1 () const |
Double_t | GetF1TPerp () const |
Double_t | GetF1TPerp1 () const |
Double_t | GetH1Perp () const |
Double_t | GetH1Perp1 () const |
Double_t | GetH1Perp12 () const |
Double_t | GetSivers () const |
Double_t | GetSiversWeight () const |
Double_t | GetSiversStruckQuark () const |
Double_t | GetSiversStruckQuarkWeight () const |
Double_t | GetSiversPiDifference () const |
Double_t | GetSiversPiDifferenceWeight () const |
Double_t | GetCollins () const |
Double_t | GetCollinsWeight () const |
Double_t | GetCollinsStruckQuark () const |
Double_t | GetCollinsStructQuarkWeight () const |
Double_t | GetCollinsTwist3 () const |
Double_t | GetCollinsTwist3Weight () const |
Double_t | GetCrossSectionUnpolarised () const |
Double_t | GetCrossSectionSivers () const |
Double_t | GetCrossSectionCollins () const |
TLorentzVector | GetHadronPolarisation () const |
Returns the hadron beam spin vector in the current frame. More... | |
virtual double | GetHermesPhiS () const |
Azimuthal angle of the produced hadron around the spin direction in the proton rest frame, as defined by the HERMES experiment. More... | |
![]() | |
EventMC () | |
Constructor. More... | |
virtual | ~EventMC () |
Destructor. More... | |
virtual bool | RequiresEaParticleFields () |
virtual ULong64_t | GetN () const |
Returns a unique identifier for this event. More... | |
virtual Int_t | GetProcess () const |
Returns a code describing the production process of this event. More... | |
virtual UInt_t | GetNTracks () const |
Returns the number of tracks in the event. More... | |
virtual const ParticleMC * | GetTrack (UInt_t) const |
Returns the nth track. More... | |
virtual ParticleMC * | GetTrack (UInt_t) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
virtual const ParticleMC * | BeamLepton () const |
Returns a pointer to the incident lepton beam particle. More... | |
virtual const ParticleMC * | BeamHadron () const |
Returns a pointer to the incident hadron beam particle. More... | |
virtual const ParticleMC * | ExchangeBoson () const |
Returns a pointer to the exchanged boson. More... | |
virtual const ParticleMC * | ScatteredLepton () const |
Returns a pointer to the lepton beam particle after scattering. More... | |
virtual void | AddLast (ParticleMC *track) |
Add a copy of a track argument to the end of the track list. More... | |
virtual void | Reset () |
Resets event properties to defaults. More... | |
virtual void | Clear (Option_t *="") |
Clears event contents. More... | |
virtual void | SetProcess (int code) |
Sets the code describing the production process of this event. More... | |
virtual void | SetN (int n) |
Sets the unique identifier for this event. More... | |
virtual void | SetNTracks (int n) |
Sets the track count for this event. More... | |
virtual void | SetELeptonInNuclearFrame (double energy) |
Set incident lepton energy in the nuclear rest frame. More... | |
virtual void | SetEScatteredInNuclearFrame (double energy) |
Set scattered lepton energy in the nuclear rest frame. More... | |
void | FinalState (ParticlePtrList &particles) const |
Stores pointers to all final state particles in the list. More... | |
void | HadronicFinalState (ParticlePtrList &) const |
Yields all particles that belong to the hadronic final state. More... | |
TLorentzVector | FinalStateMomentum () const |
Returns the total momentum of the final state in GeV/c. More... | |
TLorentzVector | HadronicFinalStateMomentum () const |
Returns the total momentum of the hadronic final state in GeV/c. More... | |
Double_t | FinalStateCharge () const |
Returns the total charge of the final state in units of e. More... | |
std::vector< const VirtualParticle * > | GetTracks () const |
Returns pointers to all tracks in the event. More... | |
![]() | |
virtual | ~EventDis () |
Destructor. More... | |
EventDis () | |
Default constructor. More... | |
EventDis (const EventDis &) | |
Constructor copying another event's kinematics. More... | |
EventDis & | operator= (const EventDis &) |
Assign another event's kinematics to this EventDis. More... | |
virtual Double_t | GetX () const |
Returns Bjorken-x of the event. More... | |
virtual Double_t | GetQ2 () const |
Returns the four-momentum transfer (exchange boson mass) Q2. More... | |
virtual Double_t | GetY () const |
Returns the event inelasticity. More... | |
virtual Double_t | GetYPlus () const |
Returns Y+ = y2 / (1 + (1-y)2) More... | |
virtual Double_t | GetW2 () const |
Returns the invariant mass of the hadronic final state. More... | |
virtual Double_t | GetNu () const |
Returns the exchange boson energy in the beam hadron rest frame. More... | |
virtual double | GetXDoubleAngle () const |
Returns Bjorken x computed via the double-angle method. More... | |
virtual double | GetQ2DoubleAngle () const |
Returns Q-squared computed via the double-angle method. More... | |
virtual double | GetYDoubleAngle () const |
Returns inelasticity computed via the double-angle method. More... | |
virtual double | GetW2DoubleAngle () const |
Returns W-squared computed via the double-angle method. More... | |
virtual double | GetXJacquetBlondel () const |
Returns Bjorken x computed via the Jacquet-Blondel method. More... | |
virtual double | GetQ2JacquetBlondel () const |
Returns Q-squared computed via the Jacquet-Blondel method. More... | |
virtual double | GetYJacquetBlondel () const |
Returns inelasticity computed via the Jacquet-Blondel method. More... | |
virtual double | GetW2JacquetBlondel () const |
Returns W-squared computed via the Jacquet-Blondel method. More... | |
virtual void | SetLeptonKinematics (const DisKinematics &) |
Set the kinematics computed from the scattered lepton. More... | |
virtual void | SetJacquetBlondelKinematics (const DisKinematics &) |
Set the kinematics computed from the Jacquet-Blondel method. More... | |
virtual void | SetDoubleAngleKinematics (const DisKinematics &) |
Set the kinematics computed from the double-angle method. More... | |
virtual void | CopyKinematics (const EventDis &) |
Copy the kinematics from another event to this event. More... | |
![]() | |
virtual | ~VirtualEvent () |
Destructor. More... | |
Protected Attributes | |
Int_t | mStruckQuark |
Flavour of struck quark. More... | |
Double32_t | mQSquared |
Negative squared four-momentum of the exchanged boson. More... | |
Double32_t | mBjorkenX |
Longitudinal momentum fraction in the infinite momentum frame. More... | |
Double32_t | mInelasticity |
Double32_t | mWSquared |
Invariant mass of the hadronic final state. More... | |
Double32_t | mNu |
Energy of the exchanged boson in the hadron rest frame. More... | |
Double32_t | mS |
Square of the centre of mass energy. More... | |
Double32_t | mZ |
z of the produced hadron More... | |
Double32_t | mHadronPt |
pT of the produced hadron More... | |
Double32_t | mLeptonTheta |
Polar angle of the scattered lepton. More... | |
Double32_t | mLeptonPhi |
Azimuthal angle of the scattered lepton. More... | |
Double32_t | mPhiSpin |
Azimuthal angle of spin vector in gamma*-proton centre-of-mass frame. More... | |
Double32_t | mPhiHadron |
Double32_t | mF1 |
Double32_t | mG1 |
Double32_t | mH1 |
Double32_t | mD1 |
Double32_t | mF1TPerp |
Double32_t | mF1TPerp1 |
Double32_t | mF1TPerp12 |
Double32_t | mH1Perp |
Double32_t | mH1Perp1 |
Double32_t | mH1Perp12 |
Double32_t | mAutSiv |
Double32_t | mAutWtSiv |
Double32_t | mAutSivAllQ |
Double32_t | mAutWtSivAllQ |
Double32_t | mAutSivPiDiff |
Double32_t | mAutWtSivPiDiff |
Double32_t | mAutCol |
Double32_t | mAutWtCol |
Double32_t | mAutTw3Col |
Double32_t | mAutWtTw3Col |
Double32_t | mAutColAllQ |
Double32_t | mAutWtColAllQ |
Double32_t | mXUnpolarised |
Double32_t | mXSivers |
Double32_t | mXCollins |
Cross sections. More... | |
![]() | |
Int_t | number |
Event number. More... | |
Int_t | process |
PYTHIA code for the physics process producing the event. More... | |
Int_t | nTracks |
Number of Particles in the event (intermediate + final) More... | |
Double32_t | ELeptonInNucl |
Incident lepton energy in the nuclear rest frame. More... | |
Double32_t | ELeptonOutNucl |
Scattered lepton energy in the nuclear rest frame. More... | |
TClonesArray | particles |
Particle list. More... | |
Additional Inherited Members | |
![]() | |
typedef std::vector< const erhic::VirtualParticle * > | ParticlePtrList |
typedef for a track pointer collection. More... | |
![]() | |
Double32_t | x |
Bjorken scaling variable. More... | |
Double32_t | QSquared |
Q2 calculated from scattered electron. More... | |
Double32_t | y |
Inelasticity. More... | |
Double32_t | WSquared |
Invariant mass of the hadronic system. More... | |
Double32_t | nu |
Energy transfer from the electron. More... | |
Double32_t | yJB |
y calculated via the Jacquet-Blondel method More... | |
Double32_t | QSquaredJB |
Q2 calculated via the Jacquet-Blondel method. More... | |
Double32_t | xJB |
x calculated via the Jacquet-Blondel method More... | |
Double32_t | WSquaredJB |
W2 calculated via the Jacquet-Blondel method. More... | |
Double32_t | yDA |
y calculated via the double-angle method More... | |
Double32_t | QSquaredDA |
Q2 calculated via the double-angle method. More... | |
Double32_t | xDA |
x calculated via the double-angle method More... | |
Double32_t | WSquaredDA |
W2 calculated via the double-angle method. More... | |
Describes an event from the gmc_trans Monte Carlo.
Definition at line 23 of file EventGmcTrans.h.
|
explicit |
Constructor.
Optionally initialise from a string. See Parse() for the string format.
Definition at line 18 of file EventGmcTrans.cxx.
|
inlinevirtual |
Destructor.
Definition at line 35 of file EventGmcTrans.h.
|
inline |
Definition at line 98 of file EventGmcTrans.h.
|
inline |
Definition at line 102 of file EventGmcTrans.h.
|
inline |
Definition at line 104 of file EventGmcTrans.h.
|
inline |
Definition at line 106 of file EventGmcTrans.h.
|
inline |
Definition at line 108 of file EventGmcTrans.h.
|
inline |
Definition at line 100 of file EventGmcTrans.h.
|
inline |
Definition at line 114 of file EventGmcTrans.h.
|
inline |
Definition at line 112 of file EventGmcTrans.h.
|
inline |
Definition at line 110 of file EventGmcTrans.h.
|
inline |
Definition at line 74 of file EventGmcTrans.h.
|
inline |
Definition at line 68 of file EventGmcTrans.h.
|
inline |
Definition at line 76 of file EventGmcTrans.h.
|
inline |
Definition at line 78 of file EventGmcTrans.h.
|
inline |
Definition at line 70 of file EventGmcTrans.h.
|
inline |
Definition at line 72 of file EventGmcTrans.h.
|
inline |
Definition at line 80 of file EventGmcTrans.h.
|
inline |
Definition at line 82 of file EventGmcTrans.h.
|
inline |
Definition at line 84 of file EventGmcTrans.h.
|
inline |
Returns the hadron beam spin vector in the current frame.
If the spin vector in the rest frame of the hadron (of mass m) is n and the 4-momentum of the hadron in the current frame is p = (E,P), then the hadron spin 4-vector in the current frame is (Bjorken & Drell, 1965):
s = (s0, S)
where
s0 = n.P / m S = n + (E/m - 1)(P.n) P / |P|^2
Definition at line 131 of file EventGmcTrans.h.
|
inline |
Definition at line 66 of file EventGmcTrans.h.
|
inline |
Definition at line 64 of file EventGmcTrans.h.
|
inlinevirtual |
Azimuthal angle of the produced hadron around the spin direction in the proton rest frame, as defined by the HERMES experiment.
phi_s = [(qxk.S)/|qxk.S|]arccos[(qxk.qxS)/(|qxk||qxS|)], 0 <= arccos <= pi. Gives result in range [0,2pi].
Definition at line 140 of file EventGmcTrans.h.
|
inline |
Azimuthal angle of hadron in gamma*-proton centre of mass frame.
Definition at line 59 of file EventGmcTrans.h.
|
inline |
Azimuthal angle of spin vector in gamma*-proton centre of mass frame.
Definition at line 54 of file EventGmcTrans.h.
|
inline |
Definition at line 86 of file EventGmcTrans.h.
|
inline |
Definition at line 94 of file EventGmcTrans.h.
|
inline |
Definition at line 96 of file EventGmcTrans.h.
|
inline |
Definition at line 90 of file EventGmcTrans.h.
|
inline |
Definition at line 92 of file EventGmcTrans.h.
|
inline |
Definition at line 88 of file EventGmcTrans.h.
|
virtual |
Set the event properties from a string.
The string format should be as follows:
quark, x, Q2, nu, y, W2, z, hadronPt, leptonTheta, leptonPhi, phiSpin, phiHadron, f1, g1, h1, D1, f1Tperp, f1Tperp1, f1Tperp12 H1perp, H1perp1, H1perp12, AUT_Siv, AUT_WtSiv, AUT_Siv_allq, AUT_WtSiv_allq, AUT_Siv_piDiff, AUT_WtSiv_piDiff, AUT_Col, AUT_WtCol, AUT_Col_allq, AUT_WtCol_allq, AUT_Tw3_Col, AUT_WtTw3_Col, X_UU, X_SIV, X_COL
Returns true if the string is processed successfully, false if not.
Implements erhic::EventMC.
Definition at line 64 of file EventGmcTrans.cxx.
|
protected |
Definition at line 175 of file EventGmcTrans.h.
|
protected |
Definition at line 179 of file EventGmcTrans.h.
|
protected |
Definition at line 169 of file EventGmcTrans.h.
|
protected |
Definition at line 171 of file EventGmcTrans.h.
|
protected |
Definition at line 173 of file EventGmcTrans.h.
|
protected |
Definition at line 177 of file EventGmcTrans.h.
|
protected |
Definition at line 176 of file EventGmcTrans.h.
|
protected |
Definition at line 180 of file EventGmcTrans.h.
|
protected |
Definition at line 170 of file EventGmcTrans.h.
|
protected |
Definition at line 172 of file EventGmcTrans.h.
|
protected |
Definition at line 174 of file EventGmcTrans.h.
|
protected |
Definition at line 178 of file EventGmcTrans.h.
|
protected |
Longitudinal momentum fraction in the infinite momentum frame.
Definition at line 146 of file EventGmcTrans.h.
|
protected |
Definition at line 162 of file EventGmcTrans.h.
|
protected |
Definition at line 159 of file EventGmcTrans.h.
|
protected |
Definition at line 163 of file EventGmcTrans.h.
|
protected |
Definition at line 164 of file EventGmcTrans.h.
|
protected |
Definition at line 165 of file EventGmcTrans.h.
|
protected |
Definition at line 160 of file EventGmcTrans.h.
|
protected |
Definition at line 161 of file EventGmcTrans.h.
|
protected |
Definition at line 166 of file EventGmcTrans.h.
|
protected |
Definition at line 167 of file EventGmcTrans.h.
|
protected |
Definition at line 168 of file EventGmcTrans.h.
|
protected |
pT of the produced hadron
Definition at line 153 of file EventGmcTrans.h.
|
protected |
Definition at line 148 of file EventGmcTrans.h.
|
protected |
Azimuthal angle of the scattered lepton.
Definition at line 155 of file EventGmcTrans.h.
|
protected |
Polar angle of the scattered lepton.
Definition at line 154 of file EventGmcTrans.h.
|
protected |
Energy of the exchanged boson in the hadron rest frame.
Definition at line 150 of file EventGmcTrans.h.
|
protected |
Definition at line 158 of file EventGmcTrans.h.
|
protected |
Azimuthal angle of spin vector in gamma*-proton centre-of-mass frame.
Definition at line 156 of file EventGmcTrans.h.
|
protected |
Negative squared four-momentum of the exchanged boson.
Definition at line 144 of file EventGmcTrans.h.
|
protected |
Square of the centre of mass energy.
Definition at line 151 of file EventGmcTrans.h.
|
protected |
Flavour of struck quark.
Definition at line 143 of file EventGmcTrans.h.
|
protected |
Invariant mass of the hadronic final state.
Definition at line 149 of file EventGmcTrans.h.
|
protected |
Cross sections.
Definition at line 183 of file EventGmcTrans.h.
|
protected |
Definition at line 182 of file EventGmcTrans.h.
|
protected |
Definition at line 181 of file EventGmcTrans.h.
|
protected |
z of the produced hadron
Definition at line 152 of file EventGmcTrans.h.