Adding stuff needed for io (friend declarations, etc.) More...
#include <IOIMPL/ReconstructedParticleIOImpl.h>
Friends | |
class | SIO::SIOReconstructedParticleHandler |
Additional Inherited Members | |
![]() | |
typedef ReconstructedParticle | lcobject_type |
Useful typedef for template programming with LCIO. | |
![]() | |
ReconstructedParticleImpl () | |
Default constructor, initializes values to 0. | |
virtual | ~ReconstructedParticleImpl () |
Destructor. | |
virtual int | id () const |
Returns an object id for internal (debugging) use in LCIO. | |
virtual int | getType () const |
Type of reconstructed particle. More... | |
virtual bool | isCompound () const |
Convenient method - same as (getParticles().size() > 0 ). | |
virtual const double * | getMomentum () const |
The magnitude of the reconstructed particle's momentum,. | |
virtual double | getEnergy () const |
Energy of the reconstructed particle. | |
virtual const EVENT::FloatVec & | getCovMatrix () const |
Covariance matrix of the reconstructed particle's 4vector (10 parameters). | |
virtual double | getMass () const |
Mass of the reconstructed particle, set independently from four vector quantities. | |
virtual float | getCharge () const |
Charge of the reconstructed particle. | |
virtual const float * | getReferencePoint () const |
Reference point of the reconstructedParticle parameters. | |
virtual const EVENT::ParticleIDVec & | getParticleIDs () const |
The particle Id's sorted by their likelihood. More... | |
virtual EVENT::ParticleID * | getParticleIDUsed () const |
The particle Id used for the kinematics of this particle. More... | |
virtual float | getGoodnessOfPID () const |
The overall goodness of the PID on a scale of [0;1]. | |
virtual const EVENT::ReconstructedParticleVec & | getParticles () const |
The reconstructed particles that have been combined to this particle. | |
virtual const EVENT::ClusterVec & | getClusters () const |
The clusters that have been used for this particle. | |
virtual const EVENT::TrackVec & | getTracks () const |
The tracks that have been used for this particle. | |
virtual EVENT::Vertex * | getStartVertex () const |
The start vertex associated to this particle. | |
virtual EVENT::Vertex * | getEndVertex () const |
The vertex where the particle decays This method actually returns the start vertex from the first daughter particle found. | |
void | setType (int type) |
void | setMomentum (const float *momentum) |
void | setMomentum (const double *momentum) |
void | setEnergy (float energy) |
void | setCovMatrix (const float *cov) |
void | setCovMatrix (const EVENT::FloatVec &) |
void | setMass (float mass) |
void | setCharge (float charge) |
void | setReferencePoint (const float *reference) |
void | addParticleID (EVENT::ParticleID *pid) |
Set the type of reconstructed particle, one of: ReconstructedParticle::SINGLE, ReconstructedParticle::V0, ReconstructedParticle::COMPOUND, ReconstructedParticle::JET More... | |
void | setParticleIDUsed (EVENT::ParticleID *pid) |
void | setGoodnessOfPID (float goodness) |
void | addParticle (EVENT::ReconstructedParticle *particle) |
Add a particle that has been used to create this particle. | |
void | addCluster (EVENT::Cluster *cluster) |
Add a cluster that has been used to create this particle. | |
void | addTrack (EVENT::Track *track) |
Add a track that has been used to create this particle. | |
void | setStartVertex (EVENT::Vertex *sv) |
![]() | |
virtual | ~ReconstructedParticle () |
Destructor. | |
![]() | |
virtual | ~LCObject () |
Destructor. | |
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,... | |
template<class V > | |
const V::ext_type | ext () const |
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. | |
![]() | |
virtual int | simpleUID () const |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
![]() | |
virtual void | setReadOnly (bool readOnly) |
void | checkAccess () throw ( EVENT::ReadOnlyException ) |
void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
![]() | |
int | _type |
double | _momentum [3] |
double | _energy |
EVENT::FloatVec | _cov |
double | _mass |
float | _charge |
float | _reference [3] |
EVENT::ParticleID * | _pidUsed |
float | _goodnessOfPID |
EVENT::ParticleIDVec | _pid |
EVENT::ReconstructedParticleVec | _particles |
EVENT::ClusterVec | _clusters |
EVENT::TrackVec | _tracks |
EVENT::Vertex * | _sv |
![]() | |
bool | _readOnly |
int | _id |
Adding stuff needed for io (friend declarations, etc.)