Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/CaloBase/RawClusterv1.h>
Classes | |
union | u_property |
convert between 32bit inputs and storage type prop_storage_t More... | |
Public Member Functions | |
RawClusterv1 () | |
~RawClusterv1 () 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 &os=std::cout) const override |
RawClusterDefs::keytype | get_id () const override |
cluster ID | |
float | get_energy () const override |
total energy | |
size_t | getNTowers () const override |
Tower operations. | |
RawCluster::TowerConstRange | get_towers () const override |
const TowerMap & | get_towermap () const override |
return tower map for c++11 range-based for-loop | |
CLHEP::Hep3Vector | get_position () const override |
cluster position in 3D | |
float | get_phi () const override |
access to intrinsic cylindrical coordinate system | |
float | get_r () const override |
float | get_z () const override |
float | get_x () const override |
access Cartesian coordinate system | |
float | get_y () const override |
float | get_ecore () const override |
float | get_chi2 () const override |
reduced chi2 for EM shower | |
float | get_prob () const override |
cluster template probability for EM shower | |
float | get_et_iso () const override |
isolation ET default | |
float | get_et_iso (const int radiusx10, bool subtracted, bool clusterTower) const override |
isolation ET the radius and hueristic can be specified | |
void | set_id (const RawClusterDefs::keytype id) override |
cluster ID | |
void | addTower (const RawClusterDefs::keytype twrid, const float etower) override |
Tower operations. | |
void | set_energy (const float energy) override |
total energy | |
void | set_phi (const float phi) override |
access to intrinsic cylindrical coordinate system | |
void | set_z (const float z) override |
void | set_r (const float r) override |
void | set_ecore (const float ecore) override |
void | set_chi2 (const float chi2) override |
reduced chi2 for EM shower | |
void | set_prob (const float prob) override |
cluster template probability for EM shower | |
void | set_et_iso (const float e) override |
isolation ET default | |
void | set_et_iso (const float et_iso, const int radiusx10, bool subtracted, bool clusterTower) override |
isolation ET the radius and hueristic can be specified | |
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 RawCluster | |
~RawCluster () override | |
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) |
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 |
Protected Member Functions | |
unsigned int | get_property_nocheck (const PROPERTY prop_id) const |
void | set_property_nocheck (const PROPERTY prop_id, const unsigned int ui) |
Protected Member Functions inherited from RawCluster | |
RawCluster () | |
Protected Attributes | |
prop_map_t | prop_map |
container for additional property | |
RawClusterDefs::keytype | clusterid |
cluster ID | |
float | _energy |
total energy | |
TowerMap | towermap |
Tower operations. | |
float | _r |
location of cluster in cylindrical coordinate | |
float | _phi |
float | _z |
Definition at line 17 of file RawClusterv1.h.
View newest version in sPHENIX GitHub at line 17 of file RawClusterv1.h
RawClusterv1::RawClusterv1 | ( | ) |
Definition at line 13 of file RawClusterv1.cc.
View newest version in sPHENIX GitHub at line 13 of file RawClusterv1.cc
Referenced by CloneMe().
|
inlineoverride |
Definition at line 21 of file RawClusterv1.h.
View newest version in sPHENIX GitHub at line 21 of file RawClusterv1.h
|
inlineoverridevirtual |
Virtual copy constructor.
Reimplemented from RawCluster.
Definition at line 24 of file RawClusterv1.h.
View newest version in sPHENIX GitHub at line 24 of file RawClusterv1.h
References RawClusterv1().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from RawCluster.
Definition at line 45 of file RawClusterv1.cc.
View newest version in sPHENIX GitHub at line 45 of file RawClusterv1.cc
References get_energy(), get_id(), get_phi(), get_property_float(), RawCluster::get_property_info(), get_property_int(), get_property_uint(), get_r(), get_x(), get_y(), get_z(), getNTowers(), i, prop_map, RawCluster::type_float, RawCluster::type_int, and RawCluster::type_uint.
|
inlineoverridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from RawCluster.
Definition at line 25 of file RawClusterv1.h.
View newest version in sPHENIX GitHub at line 25 of file RawClusterv1.h
References towermap.
|
overridevirtual |
Clear Event.
Reimplemented from RawCluster.
Definition at line 23 of file RawClusterv1.cc.
View newest version in sPHENIX GitHub at line 23 of file RawClusterv1.cc
References _energy, _phi, _r, _z, clusterid, prop_map, and towermap.