ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/reconstruction/eicpidbase/EICPIDParticlev1.h>
Classes | |
union | u_property |
convert between 32bit inputs and storage type prop_storage_t More... | |
Public Member Functions | |
EICPIDParticlev1 ()=default | |
EICPIDParticlev1 (const EICPIDParticle *g4hit) | |
~EICPIDParticlev1 () override=default | |
void | identify (std::ostream &os=std::cout) const override |
void | Reset () override |
Clear Event. | |
EICPIDDefs::keytype | get_id () const override |
void | set_id (const EICPIDDefs::keytype i) override |
float | get_SumLogLikelyhood (EICPIDDefs::PIDCandidate pid) const override |
float | get_LogLikelyhood (EICPIDDefs::PIDCandidate pid, EICPIDDefs::PIDDetector det) const override |
void | set_LogLikelyhood (EICPIDDefs::PIDCandidate pid, EICPIDDefs::PIDDetector det, float LogLikelyhood) override |
bool | has_property (const PROPERTY prop_id) const override |
float | get_property_float (const PROPERTY prop_id) const override |
int | get_property_int (const PROPERTY prop_id) const override |
unsigned int | get_property_uint (const PROPERTY prop_id) const override |
void | set_property (const PROPERTY prop_id, const float value) override |
void | set_property (const PROPERTY prop_id, const int value) override |
void | set_property (const PROPERTY prop_id, const unsigned int value) override |
Public Member Functions inherited from EICPIDParticle | |
EICPIDParticle () | |
~EICPIDParticle () override | |
void | CopyFrom (const PHObject *phobj) override |
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 *) |
Protected Types | |
typedef uint8_t | prop_id_t |
storage types for additional property | |
typedef uint32_t | prop_storage_t |
typedef std::map< prop_id_t, prop_storage_t > | prop_map_t |
typedef std::pair < EICPIDDefs::PIDCandidate, EICPIDDefs::PIDDetector > | LogLikelyhoodMapKey_t |
Protected Member Functions | |
unsigned int | get_property_nocheck (const PROPERTY prop_id) const override |
void | set_property_nocheck (const PROPERTY prop_id, const unsigned int ui) override |
Protected Attributes | |
EICPIDDefs::keytype | m_id = -1 |
prop_map_t | prop_map |
container for additional property | |
std::map < LogLikelyhoodMapKey_t, float > | m_LogLikelyhoodMap |
Additional Inherited Members | |
Public Types inherited from EICPIDParticle | |
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 } |
Static Public Member Functions inherited from EICPIDParticle | |
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 inherited from EICPIDParticle | |
static const std::map < PROPERTY, std::pair< const std::string, EICPIDParticle::PROPERTY_TYPE > > | m_propertyInfo |
Static Protected Attributes inherited from EICPIDParticle | |
static constexpr float | m_minLogLikelihood = -100 |
Definition at line 15 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 15 of file EICPIDParticlev1.h
|
protected |
Definition at line 80 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 80 of file EICPIDParticlev1.h
|
protected |
storage types for additional property
Definition at line 46 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 46 of file EICPIDParticlev1.h
|
protected |
Definition at line 48 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 48 of file EICPIDParticlev1.h
|
protected |
Definition at line 47 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 47 of file EICPIDParticlev1.h
|
default |
|
explicit |
Definition at line 14 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 14 of file EICPIDParticlev1.cc
|
overridedefault |
|
inlineoverridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 24 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 24 of file EICPIDParticlev1.h
References m_id.
|
overridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 76 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 76 of file EICPIDParticlev1.cc
References EICPIDDefs::PIDAll.
|
overridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 102 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 102 of file EICPIDParticlev1.cc
References g4zmq::exit(), EICPIDParticlev1::u_property::fdata, and PHWHERE.
Reimplemented from EICPIDParticle.
Definition at line 119 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 119 of file EICPIDParticlev1.cc
References g4zmq::exit(), EICPIDParticlev1::u_property::idata, INT_MIN, and PHWHERE.
|
overrideprotectedvirtual |
Reimplemented from EICPIDParticle.
Definition at line 194 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 194 of file EICPIDParticlev1.cc
Reimplemented from EICPIDParticle.
Definition at line 137 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 137 of file EICPIDParticlev1.cc
References g4zmq::exit(), PHWHERE, and EICPIDParticlev1::u_property::uidata.
|
overridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 66 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 66 of file EICPIDParticlev1.cc
References LL.
|
overridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 96 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 96 of file EICPIDParticlev1.cc
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from EICPIDParticle.
Definition at line 26 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 26 of file EICPIDParticlev1.cc
References EICPIDDefs::getPIDDetectorName(), and LL.
|
overridevirtual |
Clear Event.
Reimplemented from EICPIDParticle.
Definition at line 19 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 19 of file EICPIDParticlev1.cc
|
inlineoverridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 25 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 25 of file EICPIDParticlev1.h
References m_id.
|
overridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 89 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 89 of file EICPIDParticlev1.cc
Reimplemented from EICPIDParticle.
Definition at line 154 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 154 of file EICPIDParticlev1.cc
References g4zmq::exit(), EICPIDParticlev1::u_property::get_storage(), and PHWHERE.
Reimplemented from EICPIDParticle.
Definition at line 167 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 167 of file EICPIDParticlev1.cc
References g4zmq::exit(), EICPIDParticlev1::u_property::get_storage(), and PHWHERE.
|
overridevirtual |
Reimplemented from EICPIDParticle.
Definition at line 180 of file EICPIDParticlev1.cc.
View newest version in sPHENIX GitHub at line 180 of file EICPIDParticlev1.cc
References g4zmq::exit(), EICPIDParticlev1::u_property::get_storage(), and PHWHERE.
|
inlineoverrideprotectedvirtual |
Reimplemented from EICPIDParticle.
Definition at line 41 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 41 of file EICPIDParticlev1.h
References prop_map.
|
protected |
Definition at line 43 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 43 of file EICPIDParticlev1.h
|
protected |
Definition at line 81 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 81 of file EICPIDParticlev1.h
|
protected |
container for additional property
Definition at line 78 of file EICPIDParticlev1.h.
View newest version in sPHENIX GitHub at line 78 of file EICPIDParticlev1.h
Referenced by set_property_nocheck().