CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pat::HeavyIon Class Reference

#include <HeavyIon.h>

Public Member Functions

double generatedB () const
 
double generatedEvtPlane () const
 
int generatedNcoll () const
 
int generatedNhard () const
 
int generatedNpart () const
 
const reco::CentralityCollectiongetCentralityCollection () const
 
 HeavyIon ()
 
 HeavyIon (const reco::CentralityCollection &c, const reco::EvtPlaneCollection &e)
 
 HeavyIon (const reco::CentralityCollection &c, const reco::EvtPlaneCollection &e, double b, int npart, int ncoll, int nhard, double phi)
 
bool isMC () const
 
virtual ~HeavyIon ()
 

Private Attributes

double b_
 
reco::CentralityCollection cents_
 
bool isMC_
 
int ncoll_
 
int nhard_
 
int npart_
 
double phi_
 
reco::EvtPlaneCollection planes_
 

Detailed Description

Definition at line 9 of file HeavyIon.h.

Constructor & Destructor Documentation

◆ HeavyIon() [1/3]

pat::HeavyIon::HeavyIon ( )

Definition at line 4 of file HeavyIon.cc.

4 { ; }

◆ HeavyIon() [2/3]

pat::HeavyIon::HeavyIon ( const reco::CentralityCollection c,
const reco::EvtPlaneCollection e 
)

Definition at line 6 of file HeavyIon.cc.

7  : cents_(c), planes_(e), isMC_(false), b_(-99), npart_(-99), ncoll_(-99), nhard_(-99), phi_(-99) {
8  ;
9 }
reco::CentralityCollection cents_
Definition: HeavyIon.h:32
bool isMC_
Definition: HeavyIon.h:34
double b_
Definition: HeavyIon.h:35
reco::EvtPlaneCollection planes_
Definition: HeavyIon.h:33
double phi_
Definition: HeavyIon.h:39

◆ HeavyIon() [3/3]

pat::HeavyIon::HeavyIon ( const reco::CentralityCollection c,
const reco::EvtPlaneCollection e,
double  b,
int  npart,
int  ncoll,
int  nhard,
double  phi 
)

Definition at line 11 of file HeavyIon.cc.

18  : cents_(c), planes_(e), isMC_(true), b_(b), npart_(npart), ncoll_(ncoll), nhard_(nhard), phi_(phi) {
19  ;
20 }
reco::CentralityCollection cents_
Definition: HeavyIon.h:32
double npart
Definition: HydjetWrapper.h:48
bool isMC_
Definition: HeavyIon.h:34
double b_
Definition: HeavyIon.h:35
double b
Definition: hdecay.h:120
reco::EvtPlaneCollection planes_
Definition: HeavyIon.h:33
double phi_
Definition: HeavyIon.h:39

◆ ~HeavyIon()

virtual pat::HeavyIon::~HeavyIon ( )
inlinevirtual

Definition at line 20 of file HeavyIon.h.

20 { ; }

Member Function Documentation

◆ generatedB()

double pat::HeavyIon::generatedB ( ) const
inline

Definition at line 25 of file HeavyIon.h.

References b_.

25 { return b_; }
double b_
Definition: HeavyIon.h:35

◆ generatedEvtPlane()

double pat::HeavyIon::generatedEvtPlane ( ) const
inline

Definition at line 29 of file HeavyIon.h.

References phi_.

29 { return phi_; }
double phi_
Definition: HeavyIon.h:39

◆ generatedNcoll()

int pat::HeavyIon::generatedNcoll ( ) const
inline

Definition at line 27 of file HeavyIon.h.

References ncoll_.

27 { return ncoll_; }

◆ generatedNhard()

int pat::HeavyIon::generatedNhard ( ) const
inline

Definition at line 28 of file HeavyIon.h.

References nhard_.

28 { return nhard_; }

◆ generatedNpart()

int pat::HeavyIon::generatedNpart ( ) const
inline

Definition at line 26 of file HeavyIon.h.

References npart_.

26 { return npart_; }

◆ getCentralityCollection()

const reco::CentralityCollection& pat::HeavyIon::getCentralityCollection ( ) const
inline

Definition at line 22 of file HeavyIon.h.

References cents_.

22 { return cents_; }
reco::CentralityCollection cents_
Definition: HeavyIon.h:32

◆ isMC()

bool pat::HeavyIon::isMC ( ) const
inline

Definition at line 24 of file HeavyIon.h.

References isMC_.

24 { return isMC_; }
bool isMC_
Definition: HeavyIon.h:34

Member Data Documentation

◆ b_

double pat::HeavyIon::b_
private

Definition at line 35 of file HeavyIon.h.

Referenced by generatedB().

◆ cents_

reco::CentralityCollection pat::HeavyIon::cents_
private

Definition at line 32 of file HeavyIon.h.

Referenced by getCentralityCollection().

◆ isMC_

bool pat::HeavyIon::isMC_
private

Definition at line 34 of file HeavyIon.h.

Referenced by isMC().

◆ ncoll_

int pat::HeavyIon::ncoll_
private

Definition at line 37 of file HeavyIon.h.

Referenced by generatedNcoll().

◆ nhard_

int pat::HeavyIon::nhard_
private

Definition at line 38 of file HeavyIon.h.

Referenced by generatedNhard().

◆ npart_

int pat::HeavyIon::npart_
private

Definition at line 36 of file HeavyIon.h.

Referenced by generatedNpart().

◆ phi_

double pat::HeavyIon::phi_
private

Definition at line 39 of file HeavyIon.h.

Referenced by generatedEvtPlane().

◆ planes_

reco::EvtPlaneCollection pat::HeavyIon::planes_
private

Definition at line 33 of file HeavyIon.h.