EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/erhic/EventGmcTrans.h>
Public Member Functions | |
EventGmcTrans (const std::string &="") | |
virtual | ~EventGmcTrans () |
virtual bool | Parse (const std::string &) |
Double_t | GetPhiSpin () const |
Double_t | GetPhiHadron () const |
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 |
virtual double | GetHermesPhiS () const |
Public Member Functions inherited from erhic::EventMC | |
EventMC () | |
virtual | ~EventMC () |
virtual bool | RequiresEaParticleFields () |
virtual ULong64_t | GetN () const |
virtual Int_t | GetProcess () const |
virtual UInt_t | GetNTracks () const |
virtual const ParticleMC * | GetTrack (UInt_t) const |
virtual ParticleMC * | GetTrack (UInt_t) |
virtual const ParticleMC * | BeamLepton () const |
virtual const ParticleMC * | BeamHadron () const |
virtual const ParticleMC * | ExchangeBoson () const |
virtual const ParticleMC * | ScatteredLepton () const |
virtual void | AddLast (ParticleMC *track) |
virtual void | Reset () |
void | Print (const Option_t *option="") const |
virtual void | Clear (Option_t *="") |
virtual void | SetProcess (int code) |
virtual void | SetN (int n) |
virtual void | SetNTracks (int n) |
virtual void | SetELeptonInNuclearFrame (double energy) |
virtual void | SetEScatteredInNuclearFrame (double energy) |
void | FinalState (ParticlePtrList &particles) const |
void | HadronicFinalState (ParticlePtrList &) const |
TLorentzVector | FinalStateMomentum () const |
TLorentzVector | HadronicFinalStateMomentum () const |
Double_t | FinalStateCharge () const |
std::vector< const VirtualParticle * > | GetTracks () const |
Public Member Functions inherited from erhic::EventDis | |
virtual | ~EventDis () |
EventDis () | |
EventDis (const EventDis &) | |
EventDis & | operator= (const EventDis &) |
virtual Double_t | GetX () const |
virtual Double_t | GetQ2 () const |
virtual Double_t | GetY () const |
virtual Double_t | GetYPlus () const |
virtual Double_t | GetW2 () const |
virtual Double_t | GetNu () const |
virtual double | GetXDoubleAngle () const |
virtual double | GetQ2DoubleAngle () const |
virtual double | GetYDoubleAngle () const |
virtual double | GetW2DoubleAngle () const |
virtual double | GetXJacquetBlondel () const |
virtual double | GetQ2JacquetBlondel () const |
virtual double | GetYJacquetBlondel () const |
virtual double | GetW2JacquetBlondel () const |
virtual void | SetLeptonKinematics (const DisKinematics &) |
virtual void | SetJacquetBlondelKinematics (const DisKinematics &) |
virtual void | SetDoubleAngleKinematics (const DisKinematics &) |
virtual void | CopyKinematics (const EventDis &) |
Public Member Functions inherited from erhic::VirtualEvent | |
virtual | ~VirtualEvent () |
Protected Attributes | |
Int_t | mStruckQuark |
Flavour of struck quark. | |
Double32_t | mQSquared |
Double32_t | mBjorkenX |
Double32_t | mInelasticity |
Double32_t | mWSquared |
Invariant mass of the hadronic final state. | |
Double32_t | mNu |
Energy of the exchanged boson in the hadron rest frame. | |
Double32_t | mS |
Square of the centre of mass energy. | |
Double32_t | mZ |
z of the produced hadron | |
Double32_t | mHadronPt |
pT of the produced hadron | |
Double32_t | mLeptonTheta |
Polar angle of the scattered lepton. | |
Double32_t | mLeptonPhi |
Azimuthal angle of the scattered lepton. | |
Double32_t | mPhiSpin |
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. | |
Protected Attributes inherited from erhic::EventMC | |
Int_t | number |
Event number. | |
Int_t | process |
PYTHIA code for the physics process producing the event. | |
Int_t | nTracks |
Number of Particles in the event (intermediate + final) | |
Double32_t | ELeptonInNucl |
Double32_t | ELeptonOutNucl |
TClonesArray | particles |
Particle list. | |
Additional Inherited Members | |
Public Types inherited from erhic::VirtualEvent | |
typedef std::vector< const erhic::VirtualParticle * > | ParticlePtrList |
Public Attributes inherited from erhic::EventDis | |
Double32_t | x |
Bjorken scaling variable. | |
Double32_t | QSquared |
Q2 calculated from scattered electron. | |
Double32_t | y |
Inelasticity. | |
Double32_t | WSquared |
Invariant mass of the hadronic system. | |
Double32_t | nu |
Energy transfer from the electron. | |
Double32_t | yJB |
y calculated via the Jacquet-Blondel method | |
Double32_t | QSquaredJB |
Q2 calculated via the Jacquet-Blondel method. | |
Double32_t | xJB |
x calculated via the Jacquet-Blondel method | |
Double32_t | WSquaredJB |
W2 calculated via the Jacquet-Blondel method. | |
Double32_t | yDA |
y calculated via the double-angle method | |
Double32_t | QSquaredDA |
Q2 calculated via the double-angle method. | |
Double32_t | xDA |
x calculated via the double-angle method | |
Double32_t | WSquaredDA |
W2 calculated via the double-angle method. | |
Describes an event from the gmc_trans Monte Carlo.
Definition at line 23 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 18 of file EventGmcTrans.cxx
References Parse().
|
inlinevirtual |
Destructor.
Definition at line 35 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 35 of file EventGmcTrans.h
|
inline |
Definition at line 98 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 98 of file EventGmcTrans.h
References mAutColAllQ.
|
inline |
Definition at line 102 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 102 of file EventGmcTrans.h
References mAutCol.
|
inline |
Definition at line 104 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 104 of file EventGmcTrans.h
References mAutWtCol.
|
inline |
Definition at line 106 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 106 of file EventGmcTrans.h
References mAutTw3Col.
|
inline |
Definition at line 108 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 108 of file EventGmcTrans.h
References mAutWtTw3Col.
|
inline |
Definition at line 100 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 100 of file EventGmcTrans.h
References mAutWtColAllQ.
|
inline |
Definition at line 114 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 114 of file EventGmcTrans.h
References mXCollins.
|
inline |
Definition at line 112 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 112 of file EventGmcTrans.h
References mXSivers.
|
inline |
Definition at line 110 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 110 of file EventGmcTrans.h
References mXUnpolarised.
|
inline |
Definition at line 74 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 74 of file EventGmcTrans.h
References mD1.
|
inline |
Definition at line 68 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 68 of file EventGmcTrans.h
References mF1.
|
inline |
Definition at line 76 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 76 of file EventGmcTrans.h
References mF1TPerp.
|
inline |
Definition at line 78 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 78 of file EventGmcTrans.h
References mF1TPerp1.
|
inline |
Definition at line 70 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 70 of file EventGmcTrans.h
References mG1.
|
inline |
Definition at line 72 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 72 of file EventGmcTrans.h
References mH1.
|
inline |
Definition at line 80 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 80 of file EventGmcTrans.h
References mH1Perp.
|
inline |
Definition at line 82 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 82 of file EventGmcTrans.h
References mH1Perp1.
|
inline |
Definition at line 84 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 84 of file EventGmcTrans.h
References mH1Perp12.
|
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.
View newest version in sPHENIX GitHub at line 131 of file EventGmcTrans.h
|
inline |
Definition at line 66 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 66 of file EventGmcTrans.h
References mHadronPt.
|
inline |
Definition at line 64 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 64 of file EventGmcTrans.h
References mZ.
|
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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 59 of file EventGmcTrans.h
References mPhiHadron.
|
inline |
Azimuthal angle of spin vector in gamma*-proton centre of mass frame.
Definition at line 54 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 54 of file EventGmcTrans.h
References mPhiSpin.
|
inline |
Definition at line 86 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 86 of file EventGmcTrans.h
References mAutSivAllQ.
|
inline |
Definition at line 94 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 94 of file EventGmcTrans.h
References mAutSivPiDiff.
|
inline |
Definition at line 96 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 96 of file EventGmcTrans.h
References mAutWtSivPiDiff.
|
inline |
Definition at line 90 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 90 of file EventGmcTrans.h
References mAutSiv.
|
inline |
Definition at line 92 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 92 of file EventGmcTrans.h
References mAutWtSiv.
|
inline |
Definition at line 88 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 88 of file EventGmcTrans.h
References mAutWtSivAllQ.
|
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.
View newest version in sPHENIX GitHub at line 64 of file EventGmcTrans.cxx
References mAutCol, mAutColAllQ, mAutSiv, mAutSivAllQ, mAutSivPiDiff, mAutTw3Col, mAutWtCol, mAutWtColAllQ, mAutWtSiv, mAutWtSivAllQ, mAutWtSivPiDiff, mAutWtTw3Col, mBjorkenX, mD1, mF1, mF1TPerp, mF1TPerp1, mF1TPerp12, mG1, mH1, mH1Perp, mH1Perp1, mH1Perp12, mHadronPt, mInelasticity, mLeptonPhi, mLeptonTheta, mNu, mPhiHadron, mPhiSpin, mQSquared, mStruckQuark, mWSquared, mXCollins, mXSivers, mXUnpolarised, mZ, and erhic::EventMC::process.
Referenced by EventGmcTrans().
|
protected |
Definition at line 175 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 175 of file EventGmcTrans.h
Referenced by GetCollinsStruckQuark(), and Parse().
|
protected |
Definition at line 179 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 179 of file EventGmcTrans.h
Referenced by GetCollins(), and Parse().
|
protected |
Definition at line 169 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 169 of file EventGmcTrans.h
Referenced by GetSiversStruckQuark(), and Parse().
|
protected |
Definition at line 171 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 171 of file EventGmcTrans.h
Referenced by GetSivers(), and Parse().
|
protected |
Definition at line 173 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 173 of file EventGmcTrans.h
Referenced by GetSiversPiDifference(), and Parse().
|
protected |
Definition at line 177 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 177 of file EventGmcTrans.h
Referenced by GetCollinsTwist3(), and Parse().
|
protected |
Definition at line 176 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 176 of file EventGmcTrans.h
Referenced by GetCollinsStructQuarkWeight(), and Parse().
|
protected |
Definition at line 180 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 180 of file EventGmcTrans.h
Referenced by GetCollinsWeight(), and Parse().
|
protected |
Definition at line 170 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 170 of file EventGmcTrans.h
Referenced by GetSiversStruckQuarkWeight(), and Parse().
|
protected |
Definition at line 172 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 172 of file EventGmcTrans.h
Referenced by GetSiversWeight(), and Parse().
|
protected |
Definition at line 174 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 174 of file EventGmcTrans.h
Referenced by GetSiversPiDifferenceWeight(), and Parse().
|
protected |
Definition at line 178 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 178 of file EventGmcTrans.h
Referenced by GetCollinsTwist3Weight(), and Parse().
|
protected |
Longitudinal momentum fraction in the infinite momentum frame
Definition at line 146 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 146 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Definition at line 162 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 162 of file EventGmcTrans.h
|
protected |
Definition at line 159 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 159 of file EventGmcTrans.h
|
protected |
Definition at line 163 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 163 of file EventGmcTrans.h
Referenced by GetF1TPerp(), and Parse().
|
protected |
Definition at line 164 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 164 of file EventGmcTrans.h
Referenced by GetF1TPerp1(), and Parse().
|
protected |
Definition at line 165 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 165 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Definition at line 160 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 160 of file EventGmcTrans.h
|
protected |
Definition at line 161 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 161 of file EventGmcTrans.h
|
protected |
Definition at line 166 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 166 of file EventGmcTrans.h
Referenced by GetH1Perp(), and Parse().
|
protected |
Definition at line 167 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 167 of file EventGmcTrans.h
Referenced by GetH1Perp1(), and Parse().
|
protected |
Definition at line 168 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 168 of file EventGmcTrans.h
Referenced by GetH1Perp12(), and Parse().
|
protected |
pT of the produced hadron
Definition at line 153 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 153 of file EventGmcTrans.h
Referenced by GetHadronPt(), and Parse().
|
protected |
Definition at line 148 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 148 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Azimuthal angle of the scattered lepton.
Definition at line 155 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 155 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Polar angle of the scattered lepton.
Definition at line 154 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 154 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Energy of the exchanged boson in the hadron rest frame.
Definition at line 150 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 150 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Definition at line 158 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 158 of file EventGmcTrans.h
Referenced by GetPhiHadron(), and Parse().
|
protected |
Azimuthal angle of spin vector in gamma*-proton centre-of-mass frame.
Definition at line 156 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 156 of file EventGmcTrans.h
Referenced by GetPhiSpin(), and Parse().
|
protected |
Negative squared four-momentum of the exchanged boson
Definition at line 144 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 144 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Square of the centre of mass energy.
Definition at line 151 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 151 of file EventGmcTrans.h
|
protected |
Flavour of struck quark.
Definition at line 143 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 143 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Invariant mass of the hadronic final state.
Definition at line 149 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 149 of file EventGmcTrans.h
Referenced by Parse().
|
protected |
Cross sections.
Definition at line 183 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 183 of file EventGmcTrans.h
Referenced by GetCrossSectionCollins(), and Parse().
|
protected |
Definition at line 182 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 182 of file EventGmcTrans.h
Referenced by GetCrossSectionSivers(), and Parse().
|
protected |
Definition at line 181 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 181 of file EventGmcTrans.h
Referenced by GetCrossSectionUnpolarised(), and Parse().
|
protected |
z of the produced hadron
Definition at line 152 of file EventGmcTrans.h.
View newest version in sPHENIX GitHub at line 152 of file EventGmcTrans.h
Referenced by GetHadronZ(), and Parse().