Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/centrality/CentralityInfov1.h>
Public Member Functions | |
CentralityInfov1 ()=default | |
~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 | |
virtual bool | has_centrality_bin (const PROP) const |
virtual int | get_centrality_bin (const PROP) const |
virtual void | set_centrality_bin (const PROP, const int) |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
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) |
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 () | |
Definition at line 9 of file CentralityInfov1.h.
View newest version in sPHENIX GitHub at line 9 of file CentralityInfov1.h
|
default |
|
inlineoverride |
Definition at line 13 of file CentralityInfov1.h.
View newest version in sPHENIX GitHub at line 13 of file CentralityInfov1.h
|
private |
|
overridevirtual |
Reimplemented from CentralityInfo.
Definition at line 50 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 50 of file CentralityInfov1.cc
References _centile_map, and has_centile().
Referenced by CentralityInfov2::identify(), and TPCHitTrackDisplay::SimulationOut().
|
overridevirtual |
Reimplemented from CentralityInfo.
Definition at line 28 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 28 of file CentralityInfov1.cc
References _quantity_map, and has_quantity().
|
overridevirtual |
Reimplemented from CentralityInfo.
Definition at line 40 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 40 of file CentralityInfov1.cc
References _centile_map.
Referenced by get_centile(), and CentralityInfov2::identify().
|
overridevirtual |
Reimplemented from CentralityInfo.
Definition at line 18 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 18 of file CentralityInfov1.cc
References _quantity_map.
Referenced by get_quantity().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from CentralityInfo.
Reimplemented in CentralityInfov2.
Definition at line 5 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 5 of file CentralityInfov1.cc
|
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
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in CentralityInfov2.
Definition at line 12 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 12 of file CentralityInfov1.cc
References _centile_map, and _quantity_map.
|
overridevirtual |
Reimplemented from CentralityInfo.
Definition at line 45 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 45 of file CentralityInfov1.cc
References _centile_map, and value.
|
overridevirtual |
Reimplemented from CentralityInfo.
Definition at line 23 of file CentralityInfov1.cc.
View newest version in sPHENIX GitHub at line 23 of file CentralityInfov1.cc
References _quantity_map, and value.
|
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(), Reset(), and set_centile().
|
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(), Reset(), and set_quantity().