ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawCluster Class Reference

#include <coresoftware/blob/master/offline/packages/CaloBase/RawCluster.h>

+ Inheritance diagram for RawCluster:
+ Collaboration diagram for RawCluster:

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.
 
PHObjectCloneMe () 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 TowerMapget_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 PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
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 *)
 
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 ()
 

Detailed Description

Definition at line 21 of file RawCluster.h.

View newest version in sPHENIX GitHub at line 21 of file RawCluster.h

Member Typedef Documentation

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

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

Definition at line 27 of file RawCluster.h.

View newest version in sPHENIX GitHub at line 27 of file RawCluster.h

Constructor & Destructor Documentation

RawCluster::~RawCluster ( )
inlineoverride

Definition at line 30 of file RawCluster.h.

View newest version in sPHENIX GitHub at line 30 of file RawCluster.h

Member Function Documentation

PHObject* RawCluster::CloneMe ( ) const
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().

+ Here is the caller graph for this function:

void RawCluster::identify ( std::ostream &  os = std::cout) const
inlineoverridevirtual

identify Function from PHObject

Parameters
osOutput 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(), RawClusterDeadAreaMask::process_event(), RawClusterBuilderFwd::process_event(), RawClusterBuilderHelper::process_event(), and ClusterIso::process_event().

+ Here is the caller graph for this function:

int RawCluster::isValid ( ) const
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.

void RawCluster::Reset ( )
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.


The documentation for this class was generated from the following files: