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 generator DJANGOH. More...
#include <EventDjangoh.h>
Public Member Functions | |
EventDjangoh () | |
Constructor. More... | |
virtual bool | Parse (const std::string &) |
Parses the event information from a text string with the following format (no newlines): \verbatime "0 eventNum channel process subprocess nucleon parton partonTrack y Q2 x W2 nu trueY tueQ2 trueX trueW2 trueNu crossSection crossSectionError depolarisation F1NC F3NC G1NC G3NC A1NC F1CC F3CC G1CC G5CC numTracks" Returns true in the event of a successful read operation, false in case of an error. More... | |
virtual const ParticleMC * | ExchangeBoson () const |
Returns a pointer to the exchange boson, or NULL if it cannot be found. More... | |
virtual const ParticleMC * | ScatteredLepton () const |
Returns a pointer to the scattered lepton, or NULL if it cannot be found. 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 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... | |
Public Attributes | |
Int_t | nucleon |
Int_t | IChannel |
Int_t | dprocess |
Int_t | dstruckparton |
Int_t | dpartontrck |
Double32_t | dY |
Double32_t | dQ2 |
Double32_t | dX |
Double32_t | dW2 |
Double32_t | dNu |
Double32_t | dtrueY |
Double32_t | dtrueQ2 |
Double32_t | dtrueX |
Double32_t | dtrueW2 |
Double32_t | dtrueNu |
Double32_t | sigTot |
Double32_t | sigTotErr |
Double32_t | D |
Double32_t | F1NC |
Double32_t | F3NC |
Double32_t | G1NC |
Double32_t | G3NC |
Double32_t | A1NC |
Double32_t | F1CC |
Double32_t | F3CC |
Double32_t | G1CC |
Double32_t | G5CC |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
typedef std::vector< const erhic::VirtualParticle * > | ParticlePtrList |
typedef for a track pointer collection. 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... | |
Describes an event from the generator DJANGOH.
Definition at line 26 of file EventDjangoh.h.
|
inline |
Constructor.
Definition at line 31 of file EventDjangoh.h.
|
inlinevirtual |
Returns a pointer to the exchange boson, or NULL if it cannot be found.
Reimplemented from erhic::EventMC.
Definition at line 90 of file EventDjangoh.h.
|
virtual |
Parses the event information from a text string with the following format (no newlines): \verbatime "0 eventNum channel process subprocess nucleon parton partonTrack y Q2 x W2 nu trueY tueQ2 trueX trueW2 trueNu crossSection crossSectionError depolarisation F1NC F3NC G1NC G3NC A1NC F1CC F3CC G1CC G5CC numTracks" Returns true in the event of a successful read operation, false in case of an error.
Implements erhic::EventMC.
Definition at line 17 of file EventDjangoh.cxx.
|
inlinevirtual |
Returns a pointer to the scattered lepton, or NULL if it cannot be found.
Reimplemented from erhic::EventMC.
Definition at line 94 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::A1NC |
Definition at line 77 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::D |
Definition at line 72 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dNu |
Definition at line 64 of file EventDjangoh.h.
Int_t erhic::EventDjangoh::dpartontrck |
Definition at line 59 of file EventDjangoh.h.
Int_t erhic::EventDjangoh::dprocess |
Definition at line 57 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dQ2 |
Definition at line 61 of file EventDjangoh.h.
Int_t erhic::EventDjangoh::dstruckparton |
Definition at line 58 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dtrueNu |
Definition at line 69 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dtrueQ2 |
Definition at line 66 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dtrueW2 |
Definition at line 68 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dtrueX |
Definition at line 67 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dtrueY |
Definition at line 65 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dW2 |
Definition at line 63 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dX |
Definition at line 62 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::dY |
Definition at line 60 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::F1CC |
Definition at line 78 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::F1NC |
Definition at line 73 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::F3CC |
Definition at line 79 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::F3NC |
Definition at line 74 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::G1CC |
Definition at line 80 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::G1NC |
Definition at line 75 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::G3NC |
Definition at line 76 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::G5CC |
Definition at line 81 of file EventDjangoh.h.
Int_t erhic::EventDjangoh::IChannel |
Definition at line 56 of file EventDjangoh.h.
Int_t erhic::EventDjangoh::nucleon |
Definition at line 55 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::sigTot |
Definition at line 70 of file EventDjangoh.h.
Double32_t erhic::EventDjangoh::sigTotErr |
Definition at line 71 of file EventDjangoh.h.