LCIO
02.17
|
Adding stuff needed for io (friend declarations, etc.) More...
#include <MCParticleIOImpl.h>
Friends | |
class | SIO::SIOParticleHandler |
Additional Inherited Members | |
![]() | |
typedef MCParticle | lcobject_type |
Useful typedef for template programming with LCIO. More... | |
![]() | |
typedef std::type_index | ext_index |
typedef std::shared_ptr< void > | ext_type |
typedef std::map< ext_index, ext_type > | ext_map |
![]() | |
MCParticleImpl () | |
virtual | ~MCParticleImpl () |
Copy c'tor. More... | |
virtual int | id () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
virtual const EVENT::MCParticleVec & | getParents () const |
Returns the parents of this particle. More... | |
virtual const EVENT::MCParticleVec & | getDaughters () const |
Returns the daughters of this particle. More... | |
virtual const double * | getEndpoint () const |
Returns the i-th daughter of this particle. More... | |
virtual int | getPDG () const |
Returns the number of daughters of this particle. More... | |
virtual int | getGeneratorStatus () const |
Returns the status for particles from the generator 0 empty line 1 undecayed particle, stable in the generator 2 particle decayed in the generator 3 documentation line. More... | |
virtual int | getSimulatorStatus () const |
Returns the status for particles from the simulation, e.g. More... | |
virtual bool | isCreatedInSimulation () const |
True if the particle has been created by the simulation program (rather than the generator). More... | |
virtual bool | isBackscatter () const |
True if the particle is the result of a backscatter from a calorimeter shower. More... | |
virtual bool | vertexIsNotEndpointOfParent () const |
True if the particle's vertex is not the endpoint of the parent particle. More... | |
virtual bool | isDecayedInTracker () const |
True if the particle has interacted in a tracking region. More... | |
virtual bool | isDecayedInCalorimeter () const |
True if the particle has interacted in a calorimeter region. More... | |
virtual bool | hasLeftDetector () const |
True if the particle has left the world volume undecayed. More... | |
virtual bool | isStopped () const |
True if the particle has been stopped by the simulation program. More... | |
virtual bool | isOverlay () const |
True if the particle has been overlayed by the simulation (or digitization) program. More... | |
virtual const double * | getVertex () const |
Returns the production vertex of the particle. More... | |
virtual float | getTime () const |
The creation time of the particle in [ns] wrt. More... | |
virtual const double * | getMomentum () const |
Returns the particle momentum at the production vertex. More... | |
virtual const double * | getMomentumAtEndpoint () const |
Returns the particle momentum at the endpoint. More... | |
virtual double | getMass () const |
Returns the mass of the particle in [GeV]. More... | |
virtual float | getCharge () const |
Returns the particle's charge. More... | |
virtual double | getEnergy () const |
Returns the energy of the particle (at the vertex) in [GeV] computed from the particle's momentum and mass. More... | |
virtual const float * | getSpin () const |
Returns the spin. More... | |
virtual const int * | getColorFlow () const |
Returns the color flow. More... | |
void | addParent (EVENT::MCParticle *mom) |
Adds a parent particle. More... | |
void | setPDG (int pdg) |
Sets the parent. More... | |
void | setGeneratorStatus (int status) |
Sets the Generator status. More... | |
void | setSimulatorStatus (int status) |
Sets the Simulator status. More... | |
void | setVertex (const double vtx[3]) |
Sets the production vertex. More... | |
void | setTime (float time) |
Sets the createion time. More... | |
void | setEndpoint (const double pnt[3]) |
Sets the particle endpoint. More... | |
void | setMomentum (const float p[3]) |
Sets the momentum. More... | |
void | setMomentum (const double p[3]) |
Sets the momentum. More... | |
void | setMomentumAtEndpoint (const float p[3]) |
Sets the momentum at the endpoint. More... | |
void | setMomentumAtEndpoint (const double p[3]) |
Sets the momentum at the endpoint. More... | |
void | setMass (float m) |
Sets the mass. More... | |
void | setCharge (float c) |
Sets the charge. More... | |
void | setSpin (const float spin[3]) |
Sets the spin. More... | |
void | setColorFlow (const int cflow[2]) |
Sets the color flow. More... | |
virtual void | setCreatedInSimulation (bool val) |
virtual void | setBackscatter (bool val) |
virtual void | setVertexIsNotEndpointOfParent (bool val) |
virtual void | setDecayedInTracker (bool val) |
virtual void | setDecayedInCalorimeter (bool val) |
virtual void | setHasLeftDetector (bool val) |
virtual void | setStopped (bool val) |
virtual void | setOverlay (bool val) |
![]() | |
virtual | ~MCParticle () |
Destructor. More... | |
![]() | |
virtual | ~LCObject () |
Destructor. More... | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
template<class V > | |
V::ext_type | ext () |
Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... More... | |
template<class V > | |
const V::ext_type | ext () const |
Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... More... | |
template<class V > | |
V::rel_type | rel () |
Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. More... | |
![]() | |
AccessChecked () | |
virtual | ~AccessChecked () |
virtual int | simpleUID () const |
![]() | |
static const int | BITEndpoint = 31 |
static const int | BITCreatedInSimulation = 30 |
static const int | BITBackscatter = 29 |
static const int | BITVertexIsNotEndpointOfParent = 28 |
static const int | BITDecayedInTracker = 27 |
static const int | BITDecayedInCalorimeter = 26 |
static const int | BITLeftDetector = 25 |
static const int | BITStopped = 24 |
static const int | BITOverlay = 23 |
![]() | |
void | addDaughter (EVENT::MCParticle *daughter) |
Adds a daughter particle - only called from addParent(). More... | |
![]() | |
virtual void | setReadOnly (bool readOnly) |
void | checkAccess () |
void | checkAccess (const char *what) |
![]() | |
int | _pdg |
int | _genstatus |
std::bitset< 32 > | _simstatus |
double | _vertex [3] |
double | _endpoint [3] |
double | _pEndpoint [3] |
double | _p [3] |
double | _mass |
float | _charge |
float | _time |
EVENT::MCParticleVec | _parents |
EVENT::MCParticleVec | _daughters |
bool | _endpointSet |
float | _spin [3] |
int | _colorFlow [2] |
![]() | |
bool | _readOnly {false} |
int | _id {-1} |
![]() | |
static std::atomic_int | _lCObjectId |
Adding stuff needed for io (friend declarations, etc.)
Definition at line 17 of file MCParticleIOImpl.h.
|
friend |
Definition at line 19 of file MCParticleIOImpl.h.