Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/CaloBase/RawCluster.h>
Public Types | |
enum | PROPERTY { prop_ecore = 0, prop_prob = 1, prop_chi2 = 2, prop_et_iso_calotower_sub_R01 = 20, prop_et_iso_calotower_R01 = 21, prop_et_iso_calotower_sub_R02 = 22, prop_et_iso_calotower_R02 = 23, prop_et_iso_calotower_sub_R03 = 24, prop_et_iso_calotower_R03 = 25, prop_et_iso_calotower_sub_R04 = 26, prop_et_iso_calotower_R04 = 27, prop_MAX_NUMBER = UCHAR_MAX } |
enum | PROPERTY_TYPE { type_int = 1, type_uint = 2, type_float = 3, type_unknown = -1 } |
typedef std::map < RawTowerDefs::keytype, float > | TowerMap |
typedef TowerMap::iterator | TowerIterator |
typedef TowerMap::const_iterator | TowerConstIterator |
typedef std::pair < TowerIterator, TowerIterator > | TowerRange |
typedef std::pair < TowerConstIterator, TowerConstIterator > | TowerConstRange |
Public Member Functions | |
~RawCluster () override | |
void | Reset () override |
Clear Event. | |
PHObject * | CloneMe () const override |
Virtual copy constructor. | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
void | identify (std::ostream &=std::cout) const override |
virtual RawClusterDefs::keytype | get_id () const |
cluster ID | |
virtual float | get_energy () const |
total energy | |
virtual size_t | getNTowers () const |
Tower operations. | |
virtual TowerConstRange | get_towers () const |
virtual const TowerMap & | get_towermap () const |
return tower map for c++11 range-based for-loop | |
virtual CLHEP::Hep3Vector | get_position () const |
virtual float | get_phi () const |
access to intrinsic cylindrical coordinate system | |
virtual float | get_r () const |
virtual float | get_z () const |
virtual float | get_x () const |
access Cartesian coordinate system | |
virtual float | get_y () const |
virtual float | get_ecore () const |
virtual float | get_chi2 () const |
reduced chi2 for EM shower | |
virtual float | get_prob () const |
cluster template probability for EM shower | |
virtual float | get_et_iso () const |
isolation ET default | |
virtual float | get_et_iso (const int, bool, bool) const |
isolation ET the radius and hueristic can be specified | |
virtual void | set_id (const RawClusterDefs::keytype) |
cluster ID | |
virtual void | addTower (const RawClusterDefs::keytype, const float) |
Tower operations. | |
virtual void | set_energy (const float) |
total energy | |
virtual void | set_phi (const float) |
access to intrinsic cylindrical coordinate system | |
virtual void | set_z (const float) |
virtual void | set_r (const float) |
virtual void | set_ecore (const float) |
virtual void | set_chi2 (const float) |
reduced chi2 for EM shower | |
virtual void | set_prob (const float) |
cluster template probability for EM shower | |
virtual void | set_et_iso (const float) |
isolation ET | |
virtual void | set_et_iso (const float, const int, bool, bool) |
virtual bool | has_property (const PROPERTY) const |
getters | |
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) |
setters | |
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 * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Static Public Member Functions | |
static std::pair< const std::string, PROPERTY_TYPE > | get_property_info (PROPERTY prop_id) |
type management | |
static bool | check_property (const PROPERTY prop_id, const PROPERTY_TYPE prop_type) |
static std::string | get_property_type (const PROPERTY_TYPE prop_type) |
Protected Member Functions | |
RawCluster () | |
Definition at line 21 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 21 of file RawCluster.h
typedef TowerMap::const_iterator RawCluster::TowerConstIterator |
Definition at line 26 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 26 of file RawCluster.h
typedef std::pair<TowerConstIterator, TowerConstIterator> RawCluster::TowerConstRange |
Definition at line 28 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 28 of file RawCluster.h
typedef TowerMap::iterator RawCluster::TowerIterator |
Definition at line 25 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 25 of file RawCluster.h
typedef std::map<RawTowerDefs::keytype, float> RawCluster::TowerMap |
Definition at line 24 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 24 of file RawCluster.h
typedef std::pair<TowerIterator, TowerIterator> RawCluster::TowerRange |
Definition at line 27 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 27 of file RawCluster.h
|
inlineoverride |
Definition at line 30 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 30 of file RawCluster.h
|
inlineoverridevirtual |
Virtual copy constructor.
Reimplemented from PHObject.
Reimplemented in RawClusterv1.
Definition at line 33 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 33 of file RawCluster.h
Referenced by RawClusterPositionCorrection::process_event(), FilterEventsUpsilon::process_event(), FilterEvents::process_event(), and TruthConversionEval::recordConversion().
|
inlineoverridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in RawClusterv1.
Definition at line 40 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 40 of file RawCluster.h
References PHOOL_VIRTUAL_WARNING.
Referenced by RawClusterBuilderGraph::process_event(), RawClusterDeadHotMask::process_event(), and ClusterIso::process_event().
|
inlineoverridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Reimplemented in RawClusterv1.
Definition at line 35 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 35 of file RawCluster.h
References PHOOL_VIRTUAL_WARNING.
|
inlineoverridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in RawClusterv1.
Definition at line 31 of file RawCluster.h.
View newest version in sPHENIX GitHub at line 31 of file RawCluster.h
References PHOOL_VIRTUAL_WARNING.