ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/reconstruction/eicpidbase/EICPIDParticle.h>
Public Types | |
enum | PROPERTY_TYPE { type_int = 1, type_uint = 2, type_float = 3, type_unknown = -1 } |
enum | PROPERTY { Truth_PID = 0, Truth_momentum, Truth_eta, CTTL_beta = 10, ETTL_beta, FTTL_beta, prop_MAX_NUMBER = UCHAR_MAX } |
Public Member Functions | |
EICPIDParticle () | |
~EICPIDParticle () override | |
void | identify (std::ostream &os=std::cout) const override |
void | CopyFrom (const PHObject *phobj) override |
void | Reset () override |
Clear Event. | |
virtual EICPIDDefs::keytype | get_id () const |
virtual void | set_id (const EICPIDDefs::keytype) |
virtual float | get_SumLogLikelyhood (EICPIDDefs::PIDCandidate) const |
virtual float | get_LogLikelyhood (EICPIDDefs::PIDCandidate, EICPIDDefs::PIDDetector) const |
virtual void | set_LogLikelyhood (EICPIDDefs::PIDCandidate, EICPIDDefs::PIDDetector, float) |
virtual bool | has_property (const PROPERTY) const |
virtual float | get_property_float (const PROPERTY) const |
virtual int | get_property_int (const PROPERTY) const |
virtual unsigned int | get_property_uint (const PROPERTY) const |
virtual void | set_property (const PROPERTY, const float) |
virtual void | set_property (const PROPERTY, const int) |
virtual void | set_property (const PROPERTY, const unsigned int) |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
Static Public Member Functions | |
static std::pair< const std::string, PROPERTY_TYPE > | get_property_info (PROPERTY prop_id) |
static bool | check_property (const PROPERTY prop_id, const PROPERTY_TYPE prop_type) |
static std::string | get_property_type (const PROPERTY_TYPE prop_type) |
Static Public Attributes | |
static const std::map < PROPERTY, std::pair< const std::string, EICPIDParticle::PROPERTY_TYPE > > | m_propertyInfo |
Protected Member Functions | |
virtual unsigned int | get_property_nocheck (const PROPERTY) const |
virtual void | set_property_nocheck (const PROPERTY, const unsigned int) |
Static Protected Attributes | |
static constexpr float | m_minLogLikelihood = -100 |
Definition at line 16 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 16 of file EICPIDParticle.h
Procedure to add a new PROPERTY tag: 1.add new tag below with unique value, 2.add a short name to EICPIDParticle::m_propertyInfo
Truth_PID | |
Truth_momentum | |
Truth_eta | |
CTTL_beta | |
ETTL_beta | |
FTTL_beta | |
prop_MAX_NUMBER |
max limit in order to fit into 8 bit unsigned number |
Definition at line 44 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 44 of file EICPIDParticle.h
Definition at line 33 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 33 of file EICPIDParticle.h
|
inline |
Definition at line 19 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 19 of file EICPIDParticle.h
|
inlineoverride |
Definition at line 20 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 20 of file EICPIDParticle.h
|
static |
Definition at line 69 of file EICPIDParticle.cc.
View newest version in sPHENIX GitHub at line 69 of file EICPIDParticle.cc
Reimplemented from PHObject.
Definition at line 22 of file EICPIDParticle.cc.
View newest version in sPHENIX GitHub at line 22 of file EICPIDParticle.cc
References get_id(), get_property_nocheck(), and has_property().
|
inlinevirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 26 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 26 of file EICPIDParticle.h
References EICPIDDefs::INVALID_KEY.
Referenced by EICPIDParticleContainer::AddPIDParticle(), and CopyFrom().
|
inlinevirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 30 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 30 of file EICPIDParticle.h
References m_minLogLikelihood.
|
inlinevirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 65 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 65 of file EICPIDParticle.h
|
static |
Definition at line 53 of file EICPIDParticle.cc.
View newest version in sPHENIX GitHub at line 53 of file EICPIDParticle.cc
References g4zmq::exit().
Reimplemented in EICPIDParticlev1.
Definition at line 66 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 66 of file EICPIDParticle.h
References INT_MIN.
|
inlineprotectedvirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 78 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 78 of file EICPIDParticle.h
Referenced by CopyFrom().
|
static |
Definition at line 80 of file EICPIDParticle.cc.
View newest version in sPHENIX GitHub at line 80 of file EICPIDParticle.cc
Reimplemented in EICPIDParticlev1.
Definition at line 67 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 67 of file EICPIDParticle.h
|
inlinevirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 29 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 29 of file EICPIDParticle.h
Referenced by EventEvaluatorEIC::fillOutputNtuples(), AnaTutorialECCE::getTracks(), and eIDMLInterface::getTracks().
|
inlinevirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 64 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 64 of file EICPIDParticle.h
Referenced by CopyFrom().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in EICPIDParticlev1.
Definition at line 40 of file EICPIDParticle.cc.
View newest version in sPHENIX GitHub at line 40 of file EICPIDParticle.cc
Referenced by ECCEFastPIDReco::process_event().
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in EICPIDParticlev1.
Definition at line 46 of file EICPIDParticle.cc.
View newest version in sPHENIX GitHub at line 46 of file EICPIDParticle.cc
|
inlinevirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 27 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 27 of file EICPIDParticle.h
Referenced by EICPIDParticleContainer::findOrAddPIDParticle().
|
inlinevirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 31 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 31 of file EICPIDParticle.h
Referenced by ECCEFastPIDReco::process_event().
Reimplemented in EICPIDParticlev1.
Definition at line 68 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 68 of file EICPIDParticle.h
Referenced by ECCEFastPIDReco::process_event().
Reimplemented in EICPIDParticlev1.
Definition at line 69 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 69 of file EICPIDParticle.h
Reimplemented in EICPIDParticlev1.
Definition at line 70 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 70 of file EICPIDParticle.h
|
inlineprotectedvirtual |
Reimplemented in EICPIDParticlev1.
Definition at line 79 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 79 of file EICPIDParticle.h
|
staticprotected |
Definition at line 76 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 76 of file EICPIDParticle.h
Referenced by get_LogLikelyhood().
|
static |
Definition at line 62 of file EICPIDParticle.h.
View newest version in sPHENIX GitHub at line 62 of file EICPIDParticle.h