Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CentralityInfov2 Class Reference

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

+ Inheritance diagram for CentralityInfov2:
+ Collaboration diagram for CentralityInfov2:

Public Member Functions

 CentralityInfov2 ()=default
 
 ~CentralityInfov2 () override=default
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Event.
 
bool has_centrality_bin (const PROP prop_id) const override
 
int get_centrality_bin (const PROP prop_id) const override
 
void set_centrality_bin (const PROP prop_id, const int value) override
 
- Public Member Functions inherited from CentralityInfov1
 CentralityInfov1 ()=default
 
 ~CentralityInfov1 () override
 
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 Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Private Member Functions

 ClassDefOverride (CentralityInfov2, 1)
 

Private Attributes

std::map< int, int > _centrality_bin_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 CentralityInfov2.h.

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

Constructor & Destructor Documentation

CentralityInfov2::CentralityInfov2 ( )
default
CentralityInfov2::~CentralityInfov2 ( )
overridedefault

Member Function Documentation

CentralityInfov2::ClassDefOverride ( CentralityInfov2  ,
 
)
private
int CentralityInfov2::get_centrality_bin ( const PROP  prop_id) const
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 24 of file CentralityInfov2.cc.

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

References _centrality_bin_map, and has_centrality_bin().

Referenced by identify().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool CentralityInfov2::has_centrality_bin ( const PROP  prop_id) const
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 14 of file CentralityInfov2.cc.

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

References _centrality_bin_map.

Referenced by get_centrality_bin(), and identify().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from CentralityInfov1.

Definition at line 5 of file CentralityInfov2.cc.

View newest version in sPHENIX GitHub at line 5 of file CentralityInfov2.cc

References CentralityInfov1::get_centile(), get_centrality_bin(), CentralityInfov1::has_centile(), and has_centrality_bin().

+ Here is the call graph for this function:

void CentralityInfov2::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from CentralityInfov1.

Definition at line 16 of file CentralityInfov2.h.

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

void CentralityInfov2::set_centrality_bin ( const PROP  prop_id,
const int  value 
)
overridevirtual

Reimplemented from CentralityInfo.

Definition at line 19 of file CentralityInfov2.cc.

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

References _centrality_bin_map, and value.

Member Data Documentation

std::map<int, int> CentralityInfov2::_centrality_bin_map
private

Definition at line 23 of file CentralityInfov2.h.

View newest version in sPHENIX GitHub at line 23 of file CentralityInfov2.h

Referenced by get_centrality_bin(), has_centrality_bin(), and set_centrality_bin().


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