EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/erhic/EventRapgap.h>
Public Member Functions | |
virtual bool | Parse (const std::string &) |
const ParticleMC * | ScatteredLepton () const |
virtual const ParticleMC * | ExchangeBoson () const |
Double32_t | Get_cs () const |
Double32_t | Get_sigma_cs () const |
Double32_t | Get_s () const |
Double32_t | Get_q2 () const |
Double32_t | Get_xgam () const |
Double32_t | Get_xpr () const |
Double32_t | Get_Pt_h () const |
Double32_t | Get_t () const |
Double32_t | Get_x_pom () const |
Double32_t | Get_sHat2 () const |
Double32_t | Get_z () const |
Double32_t | Get_x1 () const |
Double32_t | Get_phi1 () const |
Double32_t | Get_pt2_hat () const |
Double32_t | Get_sHat () 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 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 | idir |
Int_t | idisdif |
Int_t | genevent |
Double32_t | cs |
Double32_t | sigma_cs |
Double32_t | s |
Double32_t | q2 |
Double32_t | xgam |
Double32_t | xpr |
Double32_t | Pt_h |
Double32_t | t |
Double32_t | x_pom |
Double32_t | sHat2 |
Double32_t | z |
Double32_t | x1 |
Double32_t | phi1 |
Double32_t | pt2_hat |
Double32_t | sHat |
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 generator RAPGAP.
Definition at line 24 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 24 of file EventRapgap.h
|
virtual |
Returns a pointer to the exchanged boson. It would probably be the third track, but we'll go with the first status=21 boson that has particle 1 or 2 as parent
Reimplemented from erhic::EventMC.
Definition at line 68 of file EventRapgap.cxx.
View newest version in sPHENIX GitHub at line 68 of file EventRapgap.cxx
References kdfinder::abs(), erhic::EventMC::GetTracks(), and particle.
|
inline |
Definition at line 44 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 44 of file EventRapgap.h
References cs.
|
inline |
Definition at line 56 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 56 of file EventRapgap.h
References phi1.
|
inline |
Definition at line 57 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 57 of file EventRapgap.h
References pt2_hat.
|
inline |
Definition at line 50 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 50 of file EventRapgap.h
References Pt_h.
|
inline |
Definition at line 47 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 47 of file EventRapgap.h
References q2.
|
inline |
Definition at line 46 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 46 of file EventRapgap.h
References s.
|
inline |
Definition at line 58 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 58 of file EventRapgap.h
References sHat.
|
inline |
Definition at line 53 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 53 of file EventRapgap.h
References sHat2.
|
inline |
Definition at line 45 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 45 of file EventRapgap.h
References sigma_cs.
|
inline |
Definition at line 51 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 51 of file EventRapgap.h
References t.
|
inline |
Definition at line 55 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 55 of file EventRapgap.h
References x1.
|
inline |
Definition at line 52 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 52 of file EventRapgap.h
References x_pom.
|
inline |
Definition at line 48 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 48 of file EventRapgap.h
References xgam.
|
inline |
Definition at line 49 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 49 of file EventRapgap.h
References xpr.
|
inline |
Definition at line 54 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 54 of file EventRapgap.h
References z.
|
virtual |
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 17 of file EventRapgap.cxx.
View newest version in sPHENIX GitHub at line 17 of file EventRapgap.cxx
References cs, genevent, idir, idisdif, erhic::EventMC::nTracks, erhic::EventMC::number, phi1, erhic::EventMC::process, pt2_hat, Pt_h, q2, s, sHat, sHat2, sigma_cs, t, x1, x_pom, xgam, xpr, erhic::EventDis::y, and z.
|
virtual |
Returns a pointer to the scattered lepton in the event record. This is the first (only?) particle that matches the following: 1) pdg code equals that of incident lepton beam. 2) status code is 1 i.e. it's a stable/final-state particle. 3) the parent is track 1 or 2
Reimplemented from erhic::EventMC.
Definition at line 36 of file EventRapgap.cxx.
View newest version in sPHENIX GitHub at line 36 of file EventRapgap.cxx
References erhic::EventMC::BeamLepton(), erhic::Pid::Code(), erhic::EventMC::FinalState(), and erhic::VirtualParticle::Id().
|
protected |
Definition at line 66 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 66 of file EventRapgap.h
|
protected |
Definition at line 64 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 64 of file EventRapgap.h
Referenced by Parse().
|
protected |
Definition at line 62 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 62 of file EventRapgap.h
Referenced by Parse().
|
protected |
Definition at line 63 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 63 of file EventRapgap.h
Referenced by Parse().
|
protected |
Definition at line 78 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 78 of file EventRapgap.h
Referenced by Get_phi1(), and Parse().
|
protected |
Definition at line 79 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 79 of file EventRapgap.h
Referenced by Get_pt2_hat(), and Parse().
|
protected |
Definition at line 72 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 72 of file EventRapgap.h
Referenced by Get_Pt_h(), and Parse().
|
protected |
Definition at line 69 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 69 of file EventRapgap.h
|
protected |
Definition at line 68 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 68 of file EventRapgap.h
|
protected |
Definition at line 80 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 80 of file EventRapgap.h
Referenced by Get_sHat(), and Parse().
|
protected |
Definition at line 75 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 75 of file EventRapgap.h
Referenced by Get_sHat2(), and Parse().
|
protected |
Definition at line 67 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 67 of file EventRapgap.h
Referenced by Get_sigma_cs(), and Parse().
|
protected |
Definition at line 73 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 73 of file EventRapgap.h
|
protected |
Definition at line 77 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 77 of file EventRapgap.h
|
protected |
Definition at line 74 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 74 of file EventRapgap.h
Referenced by Get_x_pom(), and Parse().
|
protected |
Definition at line 70 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 70 of file EventRapgap.h
Referenced by Get_xgam(), and Parse().
|
protected |
Definition at line 71 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 71 of file EventRapgap.h
|
protected |
Definition at line 76 of file EventRapgap.h.
View newest version in sPHENIX GitHub at line 76 of file EventRapgap.h
Referenced by eicpy.qaplots.LogAxis::apply(), Get_z(), Parse(), and eicpy.qaplots.LogAxis::rebin().