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

#include <coresoftware/blob/master/offline/packages/centrality/CentralityInfov1.h>

+ Inheritance diagram for CentralityInfov1:
+ Collaboration diagram for CentralityInfov1:

Public Member Functions

 CentralityInfov1 ()
 
 ~CentralityInfov1 () override
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
bool has_quantity (const PROP prop_id) const override
 
float get_quantity (const PROP prop_id) const override
 
void set_quantity (const PROP prop_id, const float value) override
 
bool has_centile (const PROP prop_id) const override
 
float get_centile (const PROP prop_id) const override
 
void set_centile (const PROP prop_id, const float value) override
 
- Public Member Functions inherited from CentralityInfo
 ~CentralityInfo () override
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectCloneMe () const
 Virtual copy constructor.
 
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)
 

Private Member Functions

 ClassDefOverride (CentralityInfov1, 1)
 

Private Attributes

std::map< int, float > _quantity_map
 
std::map< int, float > _centile_map
 

Additional Inherited Members

- Public Types inherited from CentralityInfo
enum  PROP {
  mbd_N = 0, mbd_S = 1, mbd_NS = 2, epd_N = 3,
  epd_S = 4, epd_NS = 5, bimp = 6
}
 
- Protected Member Functions inherited from CentralityInfo
 CentralityInfo ()
 

Detailed Description

Definition at line 9 of file CentralityInfov1.h.

View newest version in sPHENIX GitHub at line 9 of file CentralityInfov1.h

Constructor & Destructor Documentation

CentralityInfov1::CentralityInfov1 ( )

Definition at line 3 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 3 of file CentralityInfov1.cc

CentralityInfov1::~CentralityInfov1 ( )
inlineoverride

Definition at line 13 of file CentralityInfov1.h.

View newest version in sPHENIX GitHub at line 13 of file CentralityInfov1.h

Member Function Documentation

CentralityInfov1::ClassDefOverride ( CentralityInfov1  ,
 
)
private
float CentralityInfov1::get_centile ( const PROP  prop_id) const
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 42 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 42 of file CentralityInfov1.cc

References _centile_map, and has_centile().

+ Here is the call graph for this function:

float CentralityInfov1::get_quantity ( const PROP  prop_id) const
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 24 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 24 of file CentralityInfov1.cc

References _quantity_map, and has_quantity().

+ Here is the call graph for this function:

bool CentralityInfov1::has_centile ( const PROP  prop_id) const
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 32 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 32 of file CentralityInfov1.cc

References _centile_map.

Referenced by get_centile().

+ Here is the caller graph for this function:

bool CentralityInfov1::has_quantity ( const PROP  prop_id) const
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 14 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 14 of file CentralityInfov1.cc

References _quantity_map.

Referenced by get_quantity().

+ Here is the caller graph for this function:

void CentralityInfov1::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from CentralityInfo.

Definition at line 7 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 7 of file CentralityInfov1.cc

int CentralityInfov1::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from CentralityInfo.

Definition at line 17 of file CentralityInfov1.h.

View newest version in sPHENIX GitHub at line 17 of file CentralityInfov1.h

void CentralityInfov1::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 16 of file CentralityInfov1.h.

View newest version in sPHENIX GitHub at line 16 of file CentralityInfov1.h

void CentralityInfov1::set_centile ( const PROP  prop_id,
const float  value 
)
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 37 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 37 of file CentralityInfov1.cc

References _centile_map.

void CentralityInfov1::set_quantity ( const PROP  prop_id,
const float  value 
)
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 19 of file CentralityInfov1.cc.

View newest version in sPHENIX GitHub at line 19 of file CentralityInfov1.cc

References _quantity_map.

Member Data Documentation

std::map<int, float> CentralityInfov1::_centile_map
private

Definition at line 29 of file CentralityInfov1.h.

View newest version in sPHENIX GitHub at line 29 of file CentralityInfov1.h

Referenced by get_centile(), has_centile(), and set_centile().

std::map<int, float> CentralityInfov1::_quantity_map
private

Definition at line 28 of file CentralityInfov1.h.

View newest version in sPHENIX GitHub at line 28 of file CentralityInfov1.h

Referenced by get_quantity(), has_quantity(), and set_quantity().


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