EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/eic/event/EicEventGenerator.h>
Public Member Functions | |
EventEicMC () | |
~EventEicMC () | |
const erhic::ParticleMC * | BeamLepton () const |
const erhic::ParticleMC * | BeamHadron () const |
const erhic::ParticleMC * | ExchangeBoson () const |
const erhic::ParticleMC * | ScatteredLepton () const |
bool | Parse (const std::string &) |
ClassDef (EventEicMC, 1) | |
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 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 () |
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. | |
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. | |
Definition at line 62 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 62 of file EicEventGenerator.h
|
inline |
Definition at line 65 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 65 of file EicEventGenerator.h
|
inline |
Definition at line 66 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 66 of file EicEventGenerator.h
|
inlinevirtual |
Returns a pointer to the incident hadron beam particle. See also notes in BeamLepton().
In the standard eRHIC Monte Carlo format, the incident hadron beam is assumed to be the second particle in the particle list.
Reimplemented from erhic::EventMC.
Definition at line 70 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 70 of file EicEventGenerator.h
|
inlinevirtual |
Returns a pointer to the incident lepton beam particle. Returns a NULL pointer if the particle cannot be located in the event. IMPORTANT - DO NOT DELETE THE POINTER OR BAD THINGS WILL HAPPEN!
In the standard eRHIC Monte Carlo format, the incident lepton beam is assumed to be the first particle in the particle list. This is the behaviour implemented here. Derived classes can implement other selection mechanisms depending on their data format.
Reimplemented from erhic::EventMC.
Definition at line 69 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 69 of file EicEventGenerator.h
EventEicMC::ClassDef | ( | EventEicMC | , |
1 | |||
) |
|
inlinevirtual |
Returns a pointer to the exchanged boson. See also notes in BeamLepton().
In the standard eRHIC Monte Carlo format, the exchanged boson is assumed to be the fourth particle in the particle list.
Reimplemented from erhic::EventMC.
Definition at line 71 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 71 of file EicEventGenerator.h
|
inlinevirtual |
Populates the event-wise variables from a string. Does not populate the particle list or compute derived quantities. See also Compute().
Implements erhic::EventMC.
Definition at line 76 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 76 of file EicEventGenerator.h
|
inlinevirtual |
Returns a pointer to the lepton beam particle after scattering. See also notes in BeamLepton().
In the standard eRHIC Monte Carlo format, the scattered lepton beam is assumed to be the first final-state particle in the particle list with the same PDG code as the incident lepton beam.
Please overwrite this method accordingly! By default, it will simply use the fourth particle in the particle list. See e.g. EventPythia, EventSimple.
Reimplemented from erhic::EventMC.
Definition at line 72 of file EicEventGenerator.h.
View newest version in sPHENIX GitHub at line 72 of file EicEventGenerator.h