EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eXEvent Class Reference

#include <estarlight/blob/master/include/eXevent.h>

+ Collaboration diagram for eXEvent:

Public Member Functions

 eXEvent ()
 
 eXEvent (const eXEvent &)=default
 
 eXEvent (starlightConstants::event &ev)
 
 ~eXEvent ()
 
void addParticle (starlightParticle &part)
 
void addVertex (vector3 &vertex)
 
void addGamma (lorentzVector gamma, float egamma, float Q2)
 
void addSourceElectron (lorentzVector &el)
 
void addScatteredTarget (lorentzVector &target, double t)
 
const std::vector
< starlightParticle > * 
getParticles () const
 
const std::vector< vector3 > * getVertices () const
 
const std::vector< float > * getGammaEnergies () const
 
const std::vector
< lorentzVector > * 
getSources () const
 
const std::vector< float > * getGammaMasses () const
 
const std::vector
< lorentzVector > * 
getGamma () const
 
const std::vector
< lorentzVector > * 
getTarget () const
 
const std::vector< double > * getVertext () const
 
eXEventoperator= (const eXEvent &)
 
eXEventoperator+ (const eXEvent &)
 
void boost (double rapidity, double e_rapiditya)
 
void reflect ()
 

Private Attributes

std::vector< starlightParticle_particles
 
std::vector< vector3_vertices
 
std::vector< lorentzVector_sources
 
std::vector< lorentzVector_target
 
std::vector< double > _vertext
 
std::vector< float > _gammaMasses
 
std::vector< float > _gammaEnergies
 
std::vector< lorentzVector_gamma
 

Detailed Description

Definition at line 45 of file eXevent.h.

View newest version in sPHENIX GitHub at line 45 of file eXevent.h

Constructor & Destructor Documentation

eXEvent::eXEvent ( )

Definition at line 38 of file eXevent.cpp.

View newest version in sPHENIX GitHub at line 38 of file eXevent.cpp

eXEvent::eXEvent ( const eXEvent )
default
eXEvent::eXEvent ( starlightConstants::event ev)

Definition at line 43 of file eXevent.cpp.

View newest version in sPHENIX GitHub at line 43 of file eXevent.cpp

References starlightConstants::event::_charge, starlightConstants::event::_fsParticle, starlightConstants::event::_numberOfTracks, addParticle(), p, starlightConstants::event::px, starlightConstants::event::py, starlightConstants::event::pz, and starlightConstants::UNKNOWN.

+ Here is the call graph for this function:

eXEvent::~eXEvent ( )

Definition at line 62 of file eXevent.cpp.

View newest version in sPHENIX GitHub at line 62 of file eXevent.cpp

Member Function Documentation

void eXEvent::addGamma ( lorentzVector  gamma,
float  egamma,
float  Q2 
)
inline

Definition at line 56 of file eXevent.h.

View newest version in sPHENIX GitHub at line 56 of file eXevent.h

References _gamma, _gammaEnergies, and _gammaMasses.

void eXEvent::addParticle ( starlightParticle part)
inline

Definition at line 54 of file eXevent.h.

View newest version in sPHENIX GitHub at line 54 of file eXevent.h

References _particles.

Referenced by pythiaDecayer::execute(), and eXEvent().

+ Here is the caller graph for this function:

void eXEvent::addScatteredTarget ( lorentzVector target,
double  t 
)
inline

Definition at line 58 of file eXevent.h.

View newest version in sPHENIX GitHub at line 58 of file eXevent.h

References _target, and _vertext.

void eXEvent::addSourceElectron ( lorentzVector el)
inline

Definition at line 57 of file eXevent.h.

View newest version in sPHENIX GitHub at line 57 of file eXevent.h

References _sources.

void eXEvent::addVertex ( vector3 vertex)
inline

Definition at line 55 of file eXevent.h.

View newest version in sPHENIX GitHub at line 55 of file eXevent.h

References _vertices.

void eXEvent::boost ( double  rapidity,
double  e_rapiditya 
)

Definition at line 107 of file eXevent.cpp.

View newest version in sPHENIX GitHub at line 107 of file eXevent.cpp

References _particles, _sources, _target, part, and charm_jet_tagging_optimization_study::target.

Referenced by avscatcen(), getscatterer(), maxscatcen(), and medinit().

+ Here is the caller graph for this function:

const std::vector<lorentzVector>* eXEvent::getGamma ( ) const
inline

Definition at line 65 of file eXevent.h.

View newest version in sPHENIX GitHub at line 65 of file eXevent.h

References _gamma.

const std::vector<float>* eXEvent::getGammaEnergies ( ) const
inline

Definition at line 62 of file eXevent.h.

View newest version in sPHENIX GitHub at line 62 of file eXevent.h

References _gammaEnergies.

const std::vector<float>* eXEvent::getGammaMasses ( ) const
inline

Definition at line 64 of file eXevent.h.

View newest version in sPHENIX GitHub at line 64 of file eXevent.h

References _gammaMasses.

const std::vector<starlightParticle>* eXEvent::getParticles ( ) const
inline

Definition at line 60 of file eXevent.h.

View newest version in sPHENIX GitHub at line 60 of file eXevent.h

References _particles.

Referenced by eventFileWriter::writeEvent(), and eventFileWriter::writeEventLUND().

+ Here is the caller graph for this function:

const std::vector<lorentzVector>* eXEvent::getSources ( ) const
inline

Definition at line 63 of file eXevent.h.

View newest version in sPHENIX GitHub at line 63 of file eXevent.h

References _sources.

const std::vector<lorentzVector>* eXEvent::getTarget ( ) const
inline

Definition at line 66 of file eXevent.h.

View newest version in sPHENIX GitHub at line 66 of file eXevent.h

References _target.

const std::vector<double>* eXEvent::getVertext ( ) const
inline

Definition at line 67 of file eXevent.h.

View newest version in sPHENIX GitHub at line 67 of file eXevent.h

References _vertext.

const std::vector<vector3>* eXEvent::getVertices ( ) const
inline

Definition at line 61 of file eXevent.h.

View newest version in sPHENIX GitHub at line 61 of file eXevent.h

References _vertices.

eXEvent & eXEvent::operator+ ( const eXEvent ev)

Definition at line 81 of file eXevent.cpp.

View newest version in sPHENIX GitHub at line 81 of file eXevent.cpp

References _gammaEnergies, _particles, _sources, _target, _vertext, _vertices, and n.

eXEvent & eXEvent::operator= ( const eXEvent rhs)

Definition at line 66 of file eXevent.cpp.

View newest version in sPHENIX GitHub at line 66 of file eXevent.cpp

References _gammaEnergies, _particles, _sources, _target, _vertext, and _vertices.

void eXEvent::reflect ( )

Definition at line 128 of file eXevent.cpp.

View newest version in sPHENIX GitHub at line 128 of file eXevent.cpp

References _gamma, _particles, _sources, _target, part, and v.

Member Data Documentation

std::vector<lorentzVector> eXEvent::_gamma
private

Definition at line 83 of file eXevent.h.

View newest version in sPHENIX GitHub at line 83 of file eXevent.h

Referenced by addGamma(), getGamma(), and reflect().

std::vector<float> eXEvent::_gammaEnergies
private

Definition at line 82 of file eXevent.h.

View newest version in sPHENIX GitHub at line 82 of file eXevent.h

Referenced by addGamma(), getGammaEnergies(), operator+(), and operator=().

std::vector<float> eXEvent::_gammaMasses
private

Definition at line 81 of file eXevent.h.

View newest version in sPHENIX GitHub at line 81 of file eXevent.h

Referenced by addGamma(), and getGammaMasses().

std::vector<starlightParticle> eXEvent::_particles
private

Definition at line 76 of file eXevent.h.

View newest version in sPHENIX GitHub at line 76 of file eXevent.h

Referenced by addParticle(), boost(), getParticles(), operator+(), operator=(), and reflect().

std::vector<lorentzVector> eXEvent::_sources
private

Definition at line 78 of file eXevent.h.

View newest version in sPHENIX GitHub at line 78 of file eXevent.h

Referenced by addSourceElectron(), boost(), getSources(), operator+(), operator=(), and reflect().

std::vector<lorentzVector> eXEvent::_target
private

Definition at line 79 of file eXevent.h.

View newest version in sPHENIX GitHub at line 79 of file eXevent.h

Referenced by addScatteredTarget(), boost(), getTarget(), operator+(), operator=(), and reflect().

std::vector<double> eXEvent::_vertext
private

Definition at line 80 of file eXevent.h.

View newest version in sPHENIX GitHub at line 80 of file eXevent.h

Referenced by addScatteredTarget(), getVertext(), operator+(), and operator=().

std::vector<vector3> eXEvent::_vertices
private

Definition at line 77 of file eXevent.h.

View newest version in sPHENIX GitHub at line 77 of file eXevent.h

Referenced by addVertex(), getVertices(), operator+(), and operator=().


The documentation for this class was generated from the following files: