CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes | Friends
reco::Centrality Class Reference

#include <Centrality.h>

Public Member Functions

 Centrality (double d=0, std::string label="")
 
double EtEBSum () const
 
double EtEBtruncated () const
 
double EtEcalSum () const
 
double EtEcaltruncated () const
 
double EtEESum () const
 
double EtEESumMinus () const
 
double EtEESumPlus () const
 
double EtEEtruncated () const
 
double EtEEtruncatedMinus () const
 
double EtEEtruncatedPlus () const
 
double EtHFhitSum () const
 
double EtHFhitSumMinus () const
 
double EtHFhitSumPlus () const
 
double EtHFtowerSum () const
 
double EtHFtowerSumMinus () const
 
double EtHFtowerSumPlus () const
 
double EtHFtruncated () const
 
double EtHFtruncatedMinus () const
 
double EtHFtruncatedPlus () const
 
double EtMidRapiditySum () const
 
std::string label () const
 
double multiplicityPixel () const
 
double NpixelTracks () const
 
double Ntracks () const
 
double NtracksEtaCut () const
 
double NtracksEtaPtCut () const
 
double NtracksPtCut () const
 
double raw () const
 
double zdcSum () const
 
double zdcSumMinus () const
 
double zdcSumPlus () const
 
virtual ~Centrality ()
 

Protected Attributes

double etEBSum_
 
double etEBtruncated_
 
double etEESumMinus_
 
double etEESumPlus_
 
double etEEtruncatedMinus_
 
double etEEtruncatedPlus_
 
double etHFhitSumMinus_
 
double etHFhitSumPlus_
 
double etHFtowerSumMinus_
 
double etHFtowerSumPlus_
 
double etHFtruncatedMinus_
 
double etHFtruncatedPlus_
 
double etMidRapiditySum_
 
std::string label_
 
double nPixelTracks_
 
double ntracksEtaCut_
 
double ntracksEtaPtCut_
 
double ntracksPtCut_
 
double pixelMultiplicity_
 
double trackMultiplicity_
 
double value_
 
double zdcSumMinus_
 
double zdcSumPlus_
 

Friends

class CentralityProducer
 

Detailed Description

Definition at line 10 of file Centrality.h.

Constructor & Destructor Documentation

Centrality::Centrality ( double  d = 0,
std::string  label = "" 
)

Definition at line 10 of file Centrality.cc.

11  :
12 value_(d),
13 label_(label),
20 etEESumPlus_(0),
22 etEESumMinus_(0),
24 etEBSum_(0),
28 zdcSumPlus_(0),
29 zdcSumMinus_(0),
31 ntracksPtCut_(0),
35 {
36 }
double trackMultiplicity_
Definition: Centrality.h:71
double etMidRapiditySum_
Definition: Centrality.h:74
double etHFhitSumMinus_
Definition: Centrality.h:59
double etHFtowerSumPlus_
Definition: Centrality.h:56
double ntracksEtaCut_
Definition: Centrality.h:76
double etHFtruncatedPlus_
Definition: Centrality.h:57
double pixelMultiplicity_
Definition: Centrality.h:70
double etHFtruncatedMinus_
Definition: Centrality.h:61
double etHFhitSumPlus_
Definition: Centrality.h:55
tuple d
Definition: ztail.py:151
double ntracksPtCut_
Definition: Centrality.h:75
std::string label() const
Definition: Centrality.h:18
double zdcSumMinus_
Definition: Centrality.h:73
double etEESumPlus_
Definition: Centrality.h:63
double etEEtruncatedPlus_
Definition: Centrality.h:64
std::string label_
Definition: Centrality.h:53
double zdcSumPlus_
Definition: Centrality.h:72
double etEESumMinus_
Definition: Centrality.h:65
double etEBtruncated_
Definition: Centrality.h:68
double ntracksEtaPtCut_
Definition: Centrality.h:77
double etEEtruncatedMinus_
Definition: Centrality.h:66
double etHFtowerSumMinus_
Definition: Centrality.h:60
double nPixelTracks_
Definition: Centrality.h:78
Centrality::~Centrality ( )
virtual

Definition at line 39 of file Centrality.cc.

40 {
41 }

Member Function Documentation

double reco::Centrality::EtEBSum ( ) const
inline

Definition at line 35 of file Centrality.h.

References etEBSum_.

35 {return etEBSum_;}
double reco::Centrality::EtEBtruncated ( ) const
inline

Definition at line 36 of file Centrality.h.

References etEBtruncated_.

36 {return etEBtruncated_;}
double etEBtruncated_
Definition: Centrality.h:68
double reco::Centrality::EtEcalSum ( ) const
inline

Definition at line 37 of file Centrality.h.

References etEBSum_, and EtEESum().

37 {return etEBSum_ + EtEESum();}
double EtEESum() const
Definition: Centrality.h:29
double reco::Centrality::EtEcaltruncated ( ) const
inline

Definition at line 38 of file Centrality.h.

References etEBtruncated_, and EtEEtruncated().

38 {return etEBtruncated_ + EtEEtruncated();}
double EtEEtruncated() const
Definition: Centrality.h:32
double etEBtruncated_
Definition: Centrality.h:68
double reco::Centrality::EtEESum ( ) const
inline

Definition at line 29 of file Centrality.h.

References etEESumMinus_, and etEESumPlus_.

Referenced by EtEcalSum().

29 {return etEESumPlus_ + etEESumMinus_;}
double etEESumPlus_
Definition: Centrality.h:63
double etEESumMinus_
Definition: Centrality.h:65
double reco::Centrality::EtEESumMinus ( ) const
inline

Definition at line 31 of file Centrality.h.

References etEESumMinus_.

31 {return etEESumMinus_;}
double etEESumMinus_
Definition: Centrality.h:65
double reco::Centrality::EtEESumPlus ( ) const
inline

Definition at line 30 of file Centrality.h.

References etEESumPlus_.

30 {return etEESumPlus_;}
double etEESumPlus_
Definition: Centrality.h:63
double reco::Centrality::EtEEtruncated ( ) const
inline

Definition at line 32 of file Centrality.h.

References etEEtruncatedMinus_, and etEEtruncatedPlus_.

Referenced by EtEcaltruncated().

double etEEtruncatedPlus_
Definition: Centrality.h:64
double etEEtruncatedMinus_
Definition: Centrality.h:66
double reco::Centrality::EtEEtruncatedMinus ( ) const
inline

Definition at line 34 of file Centrality.h.

References etEEtruncatedMinus_.

34 {return etEEtruncatedMinus_;}
double etEEtruncatedMinus_
Definition: Centrality.h:66
double reco::Centrality::EtEEtruncatedPlus ( ) const
inline

Definition at line 33 of file Centrality.h.

References etEEtruncatedPlus_.

33 {return etEEtruncatedPlus_;}
double etEEtruncatedPlus_
Definition: Centrality.h:64
double reco::Centrality::EtHFhitSum ( ) const
inline

Definition at line 20 of file Centrality.h.

References etHFhitSumMinus_, and etHFhitSumPlus_.

double etHFhitSumMinus_
Definition: Centrality.h:59
double etHFhitSumPlus_
Definition: Centrality.h:55
double reco::Centrality::EtHFhitSumMinus ( ) const
inline

Definition at line 22 of file Centrality.h.

References etHFhitSumMinus_.

22 {return etHFhitSumMinus_;}
double etHFhitSumMinus_
Definition: Centrality.h:59
double reco::Centrality::EtHFhitSumPlus ( ) const
inline

Definition at line 21 of file Centrality.h.

References etHFhitSumPlus_.

21 {return etHFhitSumPlus_;}
double etHFhitSumPlus_
Definition: Centrality.h:55
double reco::Centrality::EtHFtowerSum ( ) const
inline

Definition at line 23 of file Centrality.h.

References etHFtowerSumMinus_, and etHFtowerSumPlus_.

double etHFtowerSumPlus_
Definition: Centrality.h:56
double etHFtowerSumMinus_
Definition: Centrality.h:60
double reco::Centrality::EtHFtowerSumMinus ( ) const
inline

Definition at line 25 of file Centrality.h.

References etHFtowerSumMinus_.

25 {return etHFtowerSumMinus_;}
double etHFtowerSumMinus_
Definition: Centrality.h:60
double reco::Centrality::EtHFtowerSumPlus ( ) const
inline

Definition at line 24 of file Centrality.h.

References etHFtowerSumPlus_.

24 {return etHFtowerSumPlus_;}
double etHFtowerSumPlus_
Definition: Centrality.h:56
double reco::Centrality::EtHFtruncated ( ) const
inline

Definition at line 26 of file Centrality.h.

References etHFtruncatedMinus_, and etHFtruncatedPlus_.

double etHFtruncatedPlus_
Definition: Centrality.h:57
double etHFtruncatedMinus_
Definition: Centrality.h:61
double reco::Centrality::EtHFtruncatedMinus ( ) const
inline

Definition at line 28 of file Centrality.h.

References etHFtruncatedMinus_.

28 {return etHFtruncatedMinus_;}
double etHFtruncatedMinus_
Definition: Centrality.h:61
double reco::Centrality::EtHFtruncatedPlus ( ) const
inline

Definition at line 27 of file Centrality.h.

References etHFtruncatedPlus_.

27 {return etHFtruncatedPlus_;}
double etHFtruncatedPlus_
Definition: Centrality.h:57
double reco::Centrality::EtMidRapiditySum ( ) const
inline

Definition at line 49 of file Centrality.h.

References etMidRapiditySum_.

49 {return etMidRapiditySum_;}
double etMidRapiditySum_
Definition: Centrality.h:74
std::string reco::Centrality::label ( ) const
inline
double reco::Centrality::multiplicityPixel ( ) const
inline

Definition at line 39 of file Centrality.h.

References pixelMultiplicity_.

39 {return pixelMultiplicity_;}
double pixelMultiplicity_
Definition: Centrality.h:70
double reco::Centrality::NpixelTracks ( ) const
inline

Definition at line 44 of file Centrality.h.

References nPixelTracks_.

44 {return nPixelTracks_;}
double nPixelTracks_
Definition: Centrality.h:78
double reco::Centrality::Ntracks ( ) const
inline

Definition at line 40 of file Centrality.h.

References trackMultiplicity_.

40 {return trackMultiplicity_;}
double trackMultiplicity_
Definition: Centrality.h:71
double reco::Centrality::NtracksEtaCut ( ) const
inline

Definition at line 42 of file Centrality.h.

References ntracksEtaCut_.

42 {return ntracksEtaCut_;}
double ntracksEtaCut_
Definition: Centrality.h:76
double reco::Centrality::NtracksEtaPtCut ( ) const
inline

Definition at line 43 of file Centrality.h.

References ntracksEtaPtCut_.

43 {return ntracksEtaPtCut_;}
double ntracksEtaPtCut_
Definition: Centrality.h:77
double reco::Centrality::NtracksPtCut ( ) const
inline

Definition at line 41 of file Centrality.h.

References ntracksPtCut_.

41 {return ntracksPtCut_;}
double ntracksPtCut_
Definition: Centrality.h:75
double reco::Centrality::raw ( ) const
inline

Definition at line 17 of file Centrality.h.

References value_.

17 { return value_; }
double reco::Centrality::zdcSum ( ) const
inline

Definition at line 46 of file Centrality.h.

References zdcSumMinus_, and zdcSumPlus_.

46 {return zdcSumPlus_ + zdcSumMinus_;}
double zdcSumMinus_
Definition: Centrality.h:73
double zdcSumPlus_
Definition: Centrality.h:72
double reco::Centrality::zdcSumMinus ( ) const
inline

Definition at line 48 of file Centrality.h.

References zdcSumMinus_.

48 {return zdcSumMinus_;}
double zdcSumMinus_
Definition: Centrality.h:73
double reco::Centrality::zdcSumPlus ( ) const
inline

Definition at line 47 of file Centrality.h.

References zdcSumPlus_.

47 {return zdcSumPlus_;}
double zdcSumPlus_
Definition: Centrality.h:72

Friends And Related Function Documentation

friend class CentralityProducer
friend

Definition at line 15 of file Centrality.h.

Member Data Documentation

double reco::Centrality::etEBSum_
protected

Definition at line 67 of file Centrality.h.

Referenced by EtEBSum(), and EtEcalSum().

double reco::Centrality::etEBtruncated_
protected

Definition at line 68 of file Centrality.h.

Referenced by EtEBtruncated(), and EtEcaltruncated().

double reco::Centrality::etEESumMinus_
protected

Definition at line 65 of file Centrality.h.

Referenced by EtEESum(), and EtEESumMinus().

double reco::Centrality::etEESumPlus_
protected

Definition at line 63 of file Centrality.h.

Referenced by EtEESum(), and EtEESumPlus().

double reco::Centrality::etEEtruncatedMinus_
protected

Definition at line 66 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedMinus().

double reco::Centrality::etEEtruncatedPlus_
protected

Definition at line 64 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedPlus().

double reco::Centrality::etHFhitSumMinus_
protected

Definition at line 59 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumMinus().

double reco::Centrality::etHFhitSumPlus_
protected

Definition at line 55 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumPlus().

double reco::Centrality::etHFtowerSumMinus_
protected

Definition at line 60 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumMinus().

double reco::Centrality::etHFtowerSumPlus_
protected

Definition at line 56 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumPlus().

double reco::Centrality::etHFtruncatedMinus_
protected

Definition at line 61 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedMinus().

double reco::Centrality::etHFtruncatedPlus_
protected

Definition at line 57 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedPlus().

double reco::Centrality::etMidRapiditySum_
protected

Definition at line 74 of file Centrality.h.

Referenced by EtMidRapiditySum().

std::string reco::Centrality::label_
protected
double reco::Centrality::nPixelTracks_
protected

Definition at line 78 of file Centrality.h.

Referenced by NpixelTracks().

double reco::Centrality::ntracksEtaCut_
protected

Definition at line 76 of file Centrality.h.

Referenced by NtracksEtaCut().

double reco::Centrality::ntracksEtaPtCut_
protected

Definition at line 77 of file Centrality.h.

Referenced by NtracksEtaPtCut().

double reco::Centrality::ntracksPtCut_
protected

Definition at line 75 of file Centrality.h.

Referenced by NtracksPtCut().

double reco::Centrality::pixelMultiplicity_
protected

Definition at line 70 of file Centrality.h.

Referenced by multiplicityPixel().

double reco::Centrality::trackMultiplicity_
protected

Definition at line 71 of file Centrality.h.

Referenced by Ntracks().

double reco::Centrality::value_
protected

Definition at line 52 of file Centrality.h.

Referenced by raw().

double reco::Centrality::zdcSumMinus_
protected

Definition at line 73 of file Centrality.h.

Referenced by zdcSum(), and zdcSumMinus().

double reco::Centrality::zdcSumPlus_
protected

Definition at line 72 of file Centrality.h.

Referenced by zdcSum(), and zdcSumPlus().