EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
property map definitions
+ Collaboration diagram for property map definitions:

Classes

union  RawClusterv1::u_property
 convert between 32bit inputs and storage type prop_storage_t More...
 

Typedefs

typedef uint8_t RawClusterv1::prop_id_t
 storage types for additional property
 
typedef uint32_t RawClusterv1::prop_storage_t
 
typedef std::map< prop_id_t,
prop_storage_t > 
RawClusterv1::prop_map_t
 

Enumerations

enum  RawCluster::PROPERTY {
  RawCluster::prop_ecore = 0, RawCluster::prop_prob = 1, RawCluster::prop_chi2 = 2, RawCluster::prop_et_iso_calotower_sub_R01 = 20,
  RawCluster::prop_et_iso_calotower_R01 = 21, RawCluster::prop_et_iso_calotower_sub_R02 = 22, RawCluster::prop_et_iso_calotower_R02 = 23, RawCluster::prop_et_iso_calotower_sub_R03 = 24,
  RawCluster::prop_et_iso_calotower_R03 = 25, RawCluster::prop_et_iso_calotower_sub_R04 = 26, RawCluster::prop_et_iso_calotower_R04 = 27, RawCluster::prop_MAX_NUMBER = UCHAR_MAX
}
 
enum  RawCluster::PROPERTY_TYPE { RawCluster::type_int = 1, RawCluster::type_uint = 2, RawCluster::type_float = 3, RawCluster::type_unknown = -1 }
 

Functions

virtual bool RawCluster::has_property (const PROPERTY) const
 getters
 
virtual float RawCluster::get_property_float (const PROPERTY) const
 
virtual int RawCluster::get_property_int (const PROPERTY) const
 
virtual unsigned int RawCluster::get_property_uint (const PROPERTY) const
 
virtual void RawCluster::set_property (const PROPERTY, const float)
 setters
 
virtual void RawCluster::set_property (const PROPERTY, const int)
 
virtual void RawCluster::set_property (const PROPERTY, const unsigned int)
 
static std::pair< const
std::string, PROPERTY_TYPE > 
RawCluster::get_property_info (PROPERTY prop_id)
 type management
 
static bool RawCluster::check_property (const PROPERTY prop_id, const PROPERTY_TYPE prop_type)
 
static std::string RawCluster::get_property_type (const PROPERTY_TYPE prop_type)
 
bool RawClusterv1::has_property (const PROPERTY prop_id) const override
 getters
 
float RawClusterv1::get_property_float (const PROPERTY prop_id) const override
 
int RawClusterv1::get_property_int (const PROPERTY prop_id) const override
 
unsigned int RawClusterv1::get_property_uint (const PROPERTY prop_id) const override
 
void RawClusterv1::set_property (const PROPERTY prop_id, const float value) override
 setters
 
void RawClusterv1::set_property (const PROPERTY prop_id, const int value) override
 
void RawClusterv1::set_property (const PROPERTY prop_id, const unsigned int value) override
 
unsigned int RawClusterv1::get_property_nocheck (const PROPERTY prop_id) const
 
void RawClusterv1::set_property_nocheck (const PROPERTY prop_id, const unsigned int ui)
 

Variables

prop_map_t RawClusterv1::prop_map
 container for additional property
 

Detailed Description

Typedef Documentation

typedef uint8_t RawClusterv1::prop_id_t
protected

storage types for additional property

Definition at line 129 of file RawClusterv1.h.

View newest version in sPHENIX GitHub at line 129 of file RawClusterv1.h

typedef std::map<prop_id_t, prop_storage_t> RawClusterv1::prop_map_t
protected

Definition at line 131 of file RawClusterv1.h.

View newest version in sPHENIX GitHub at line 131 of file RawClusterv1.h

Definition at line 130 of file RawClusterv1.h.

View newest version in sPHENIX GitHub at line 130 of file RawClusterv1.h

Enumeration Type Documentation

Procedure to add a new PROPERTY tag: 1.add new tag below with unique value, 2.add a short name to RawCluster::get_property_info()

Enumerator:
prop_ecore 

cluster core energy for EM shower

prop_prob 

cluster template probability for EM shower

prop_chi2 

reduced chi2 for EM shower

prop_et_iso_calotower_sub_R01 

isolation ET by the calorimeter tower heuristic with subtracted background R=.1

prop_et_iso_calotower_R01 

isolation ET by the calorimeter tower heuristic no subtracted background R=.1

prop_et_iso_calotower_sub_R02 

isolation ET by the calorimeter tower heuristic with subtracted background R=.2

prop_et_iso_calotower_R02 

isolation ET by the calorimeter tower heuristic with subtracted background R=.2

prop_et_iso_calotower_sub_R03 

isolation ET by the calorimeter tower heuristic with subtracted background R=.2

prop_et_iso_calotower_R03 

isolation ET by the calorimeter tower heuristic with subtracted background R=.2

prop_et_iso_calotower_sub_R04 

isolation ET by the calorimeter tower heuristic with subtracted background R=.2

prop_et_iso_calotower_R04 

isolation ET by the calorimeter tower heuristic with subtracted background R=.2

prop_MAX_NUMBER 

max limit in order to fit into 8 bit unsigned number

Definition at line 230 of file RawCluster.h.

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

Enumerator:
type_int 
type_uint 
type_float 
type_unknown 

Definition at line 267 of file RawCluster.h.

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

Function Documentation

bool RawCluster::check_property ( const PROPERTY  prop_id,
const PROPERTY_TYPE  prop_type 
)
static

Definition at line 73 of file RawCluster.cc.

View newest version in sPHENIX GitHub at line 73 of file RawCluster.cc

Referenced by RawClusterv1::get_property_float(), RawClusterv1::get_property_int(), RawClusterv1::get_property_uint(), and RawClusterv1::set_property().

+ Here is the caller graph for this function:

float RawClusterv1::get_property_float ( const PROPERTY  prop_id) const
overridevirtual

Reimplemented from RawCluster.

Definition at line 94 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 94 of file RawClusterv1.cc

References RawCluster::check_property(), exit(), RawClusterv1::u_property::fdata, RawCluster::get_property_info(), RawCluster::get_property_type(), PHWHERE, RawClusterv1::prop_map, and RawCluster::type_float.

Referenced by RawClusterv1::get_chi2(), RawClusterv1::get_ecore(), RawClusterv1::get_et_iso(), RawClusterv1::get_prob(), and RawClusterv1::identify().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual float RawCluster::get_property_float ( const PROPERTY  ) const
inlinevirtual

Reimplemented in RawClusterv1.

Definition at line 277 of file RawCluster.h.

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

std::pair< const std::string, RawCluster::PROPERTY_TYPE > RawCluster::get_property_info ( PROPERTY  prop_id)
static

type management

Definition at line 20 of file RawCluster.cc.

View newest version in sPHENIX GitHub at line 20 of file RawCluster.cc

References exit(), and RawCluster::type_float.

Referenced by RawClusterv1::get_property_float(), RawClusterv1::get_property_int(), RawClusterv1::get_property_uint(), RawClusterv1::identify(), and RawClusterv1::set_property().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int RawClusterv1::get_property_int ( const PROPERTY  prop_id) const
overridevirtual

Reimplemented from RawCluster.

Definition at line 111 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 111 of file RawClusterv1.cc

References RawCluster::check_property(), exit(), RawCluster::get_property_info(), RawCluster::get_property_type(), RawClusterv1::u_property::idata, PHWHERE, RawClusterv1::prop_map, and RawCluster::type_int.

Referenced by RawClusterv1::identify().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual int RawCluster::get_property_int ( const PROPERTY  ) const
inlinevirtual

Reimplemented in RawClusterv1.

Definition at line 278 of file RawCluster.h.

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

unsigned int RawClusterv1::get_property_nocheck ( const PROPERTY  prop_id) const
protected

Definition at line 240 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 240 of file RawClusterv1.cc

References RawClusterv1::prop_map.

string RawCluster::get_property_type ( const PROPERTY_TYPE  prop_type)
static

Definition at line 84 of file RawCluster.cc.

View newest version in sPHENIX GitHub at line 84 of file RawCluster.cc

Referenced by RawClusterv1::get_property_float(), RawClusterv1::get_property_int(), RawClusterv1::get_property_uint(), and RawClusterv1::set_property().

+ Here is the caller graph for this function:

unsigned int RawClusterv1::get_property_uint ( const PROPERTY  prop_id) const
overridevirtual

Reimplemented from RawCluster.

Definition at line 129 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 129 of file RawClusterv1.cc

References RawCluster::check_property(), exit(), RawCluster::get_property_info(), RawCluster::get_property_type(), PHWHERE, RawClusterv1::prop_map, RawCluster::type_uint, and RawClusterv1::u_property::uidata.

Referenced by RawClusterv1::identify().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual unsigned int RawCluster::get_property_uint ( const PROPERTY  ) const
inlinevirtual

Reimplemented in RawClusterv1.

Definition at line 279 of file RawCluster.h.

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

bool RawClusterv1::has_property ( const PROPERTY  ) const
overridevirtual

getters

Reimplemented from RawCluster.

Definition at line 88 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 88 of file RawClusterv1.cc

References RawClusterv1::prop_map.

virtual bool RawCluster::has_property ( const PROPERTY  ) const
inlinevirtual

getters

Reimplemented in RawClusterv1.

Definition at line 276 of file RawCluster.h.

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

void RawClusterv1::set_property ( const PROPERTY  ,
const float   
)
overridevirtual

setters

Reimplemented from RawCluster.

Definition at line 146 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 146 of file RawClusterv1.cc

References RawCluster::check_property(), exit(), RawCluster::get_property_info(), RawCluster::get_property_type(), RawClusterv1::u_property::get_storage(), PHWHERE, RawClusterv1::prop_map, and RawCluster::type_float.

Referenced by RawClusterv1::set_chi2(), RawClusterv1::set_ecore(), RawClusterv1::set_et_iso(), and RawClusterv1::set_prob().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RawClusterv1::set_property ( const PROPERTY  prop_id,
const int  value 
)
overridevirtual

Reimplemented from RawCluster.

Definition at line 159 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 159 of file RawClusterv1.cc

References RawCluster::check_property(), exit(), RawCluster::get_property_info(), RawCluster::get_property_type(), RawClusterv1::u_property::get_storage(), PHWHERE, RawClusterv1::prop_map, and RawCluster::type_int.

+ Here is the call graph for this function:

void RawClusterv1::set_property ( const PROPERTY  prop_id,
const unsigned int  value 
)
overridevirtual

Reimplemented from RawCluster.

Definition at line 172 of file RawClusterv1.cc.

View newest version in sPHENIX GitHub at line 172 of file RawClusterv1.cc

References RawCluster::check_property(), exit(), RawCluster::get_property_info(), RawCluster::get_property_type(), RawClusterv1::u_property::get_storage(), PHWHERE, RawClusterv1::prop_map, and RawCluster::type_uint.

+ Here is the call graph for this function:

virtual void RawCluster::set_property ( const PROPERTY  ,
const float   
)
inlinevirtual

setters

Reimplemented in RawClusterv1.

Definition at line 281 of file RawCluster.h.

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

virtual void RawCluster::set_property ( const PROPERTY  ,
const int   
)
inlinevirtual

Reimplemented in RawClusterv1.

Definition at line 282 of file RawCluster.h.

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

virtual void RawCluster::set_property ( const PROPERTY  ,
const unsigned int   
)
inlinevirtual

Reimplemented in RawClusterv1.

Definition at line 283 of file RawCluster.h.

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

void RawClusterv1::set_property_nocheck ( const PROPERTY  prop_id,
const unsigned int  ui 
)
inlineprotected

Definition at line 127 of file RawClusterv1.h.

View newest version in sPHENIX GitHub at line 127 of file RawClusterv1.h

References RawClusterv1::prop_map.

Variable Documentation