CMS 3D CMS Logo

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 EtHFtowerSumECut () const
 
double EtHFtowerSumECutMinus () const
 
double EtHFtowerSumECutPlus () 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 multiplicityPixelMinus () const
 
double multiplicityPixelPlus () const
 
double NpixelTracks () const
 
double NpixelTracksMinus () const
 
double NpixelTracksPlus () 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 etHFtowerSumECutMinus_
 
double etHFtowerSumECutPlus_
 
double etHFtowerSumMinus_
 
double etHFtowerSumPlus_
 
double etHFtruncatedMinus_
 
double etHFtruncatedPlus_
 
double etMidRapiditySum_
 
std::string label_
 
double nPixelTracks_
 
double nPixelTracksMinus_
 
double nPixelTracksPlus_
 
double ntracksEtaCut_
 
double ntracksEtaPtCut_
 
double ntracksPtCut_
 
double pixelMultiplicity_
 
double pixelMultiplicityMinus_
 
double pixelMultiplicityPlus_
 
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),
22 etEESumPlus_(0),
24 etEESumMinus_(0),
26 etEBSum_(0),
32 zdcSumPlus_(0),
33 zdcSumMinus_(0),
35 ntracksPtCut_(0),
38 nPixelTracks_(0),
41 {
42 }
double trackMultiplicity_
Definition: Centrality.h:82
double etMidRapiditySum_
Definition: Centrality.h:85
double etHFhitSumMinus_
Definition: Centrality.h:67
double etHFtowerSumPlus_
Definition: Centrality.h:63
double ntracksEtaCut_
Definition: Centrality.h:87
double etHFtruncatedPlus_
Definition: Centrality.h:65
double pixelMultiplicity_
Definition: Centrality.h:79
double nPixelTracksPlus_
Definition: Centrality.h:90
double etHFtruncatedMinus_
Definition: Centrality.h:70
double pixelMultiplicityMinus_
Definition: Centrality.h:81
double etHFhitSumPlus_
Definition: Centrality.h:62
double pixelMultiplicityPlus_
Definition: Centrality.h:80
double ntracksPtCut_
Definition: Centrality.h:86
std::string label() const
Definition: Centrality.h:18
double zdcSumMinus_
Definition: Centrality.h:84
double etEESumPlus_
Definition: Centrality.h:72
double etEEtruncatedPlus_
Definition: Centrality.h:73
std::string label_
Definition: Centrality.h:60
double etHFtowerSumECutPlus_
Definition: Centrality.h:64
double nPixelTracksMinus_
Definition: Centrality.h:91
double zdcSumPlus_
Definition: Centrality.h:83
double etEESumMinus_
Definition: Centrality.h:74
double etEBtruncated_
Definition: Centrality.h:77
double ntracksEtaPtCut_
Definition: Centrality.h:88
double etEEtruncatedMinus_
Definition: Centrality.h:75
double etHFtowerSumMinus_
Definition: Centrality.h:68
double nPixelTracks_
Definition: Centrality.h:89
double etHFtowerSumECutMinus_
Definition: Centrality.h:69
Centrality::~Centrality ( )
virtual

Definition at line 45 of file Centrality.cc.

46 {
47 }

Member Function Documentation

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

Definition at line 38 of file Centrality.h.

References etEBSum_.

Referenced by CentralityDQM::analyze(), CentralitypADQM::analyze(), and CentralityBinProducer::produce().

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

Definition at line 39 of file Centrality.h.

References etEBtruncated_.

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

Definition at line 40 of file Centrality.h.

References etEBSum_, and EtEESum().

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

Definition at line 41 of file Centrality.h.

References etEBtruncated_, and EtEEtruncated().

41 {return etEBtruncated_ + EtEEtruncated();}
double EtEEtruncated() const
Definition: Centrality.h:35
double etEBtruncated_
Definition: Centrality.h:77
double reco::Centrality::EtEESum ( ) const
inline
double reco::Centrality::EtEESumMinus ( ) const
inline

Definition at line 34 of file Centrality.h.

References etEESumMinus_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

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

Definition at line 33 of file Centrality.h.

References etEESumPlus_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

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

Definition at line 35 of file Centrality.h.

References etEEtruncatedMinus_, and etEEtruncatedPlus_.

Referenced by EtEcaltruncated().

double etEEtruncatedPlus_
Definition: Centrality.h:73
double etEEtruncatedMinus_
Definition: Centrality.h:75
double reco::Centrality::EtEEtruncatedMinus ( ) const
inline

Definition at line 37 of file Centrality.h.

References etEEtruncatedMinus_.

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

Definition at line 36 of file Centrality.h.

References etEEtruncatedPlus_.

36 {return etEEtruncatedPlus_;}
double etEEtruncatedPlus_
Definition: Centrality.h:73
double reco::Centrality::EtHFhitSum ( ) const
inline
double reco::Centrality::EtHFhitSumMinus ( ) const
inline

Definition at line 22 of file Centrality.h.

References etHFhitSumMinus_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

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

Definition at line 21 of file Centrality.h.

References etHFhitSumPlus_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

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

Definition at line 26 of file Centrality.h.

References etHFtowerSumECutMinus_, and etHFtowerSumECutPlus_.

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

Definition at line 28 of file Centrality.h.

References etHFtowerSumECutMinus_.

28 {return etHFtowerSumECutMinus_;}
double etHFtowerSumECutMinus_
Definition: Centrality.h:69
double reco::Centrality::EtHFtowerSumECutPlus ( ) const
inline

Definition at line 27 of file Centrality.h.

References etHFtowerSumECutPlus_.

27 {return etHFtowerSumECutPlus_;}
double etHFtowerSumECutPlus_
Definition: Centrality.h:64
double reco::Centrality::EtHFtowerSumMinus ( ) const
inline
double reco::Centrality::EtHFtowerSumPlus ( ) const
inline
double reco::Centrality::EtHFtruncated ( ) const
inline

Definition at line 29 of file Centrality.h.

References etHFtruncatedMinus_, and etHFtruncatedPlus_.

Referenced by CentralityBinProducer::produce().

double etHFtruncatedPlus_
Definition: Centrality.h:65
double etHFtruncatedMinus_
Definition: Centrality.h:70
double reco::Centrality::EtHFtruncatedMinus ( ) const
inline
double reco::Centrality::EtHFtruncatedPlus ( ) const
inline
double reco::Centrality::EtMidRapiditySum ( ) const
inline

Definition at line 56 of file Centrality.h.

References etMidRapiditySum_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

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

Definition at line 44 of file Centrality.h.

References pixelMultiplicityMinus_.

double pixelMultiplicityMinus_
Definition: Centrality.h:81
double reco::Centrality::multiplicityPixelPlus ( ) const
inline

Definition at line 43 of file Centrality.h.

References pixelMultiplicityPlus_.

43 {return pixelMultiplicityPlus_;}
double pixelMultiplicityPlus_
Definition: Centrality.h:80
double reco::Centrality::NpixelTracks ( ) const
inline

Definition at line 49 of file Centrality.h.

References nPixelTracks_.

Referenced by CentralityDQM::analyze(), and CentralityBinProducer::produce().

49 {return nPixelTracks_;}
double nPixelTracks_
Definition: Centrality.h:89
double reco::Centrality::NpixelTracksMinus ( ) const
inline

Definition at line 51 of file Centrality.h.

References nPixelTracksMinus_.

51 {return nPixelTracksMinus_;}
double nPixelTracksMinus_
Definition: Centrality.h:91
double reco::Centrality::NpixelTracksPlus ( ) const
inline

Definition at line 50 of file Centrality.h.

References nPixelTracksPlus_.

50 {return nPixelTracksPlus_;}
double nPixelTracksPlus_
Definition: Centrality.h:90
double reco::Centrality::Ntracks ( ) const
inline
double reco::Centrality::NtracksEtaCut ( ) const
inline

Definition at line 47 of file Centrality.h.

References ntracksEtaCut_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

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

Definition at line 48 of file Centrality.h.

References ntracksEtaPtCut_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

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

Definition at line 46 of file Centrality.h.

References ntracksPtCut_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

46 {return ntracksPtCut_;}
double ntracksPtCut_
Definition: Centrality.h:86
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 53 of file Centrality.h.

References zdcSumMinus_, and zdcSumPlus_.

Referenced by CentralityDQM::analyze(), and CentralitypADQM::analyze().

53 {return zdcSumPlus_ + zdcSumMinus_;}
double zdcSumMinus_
Definition: Centrality.h:84
double zdcSumPlus_
Definition: Centrality.h:83
double reco::Centrality::zdcSumMinus ( ) const
inline

Definition at line 55 of file Centrality.h.

References zdcSumMinus_.

Referenced by CentralityDQM::analyze(), CentralitypADQM::analyze(), and CentralityBinProducer::produce().

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

Definition at line 54 of file Centrality.h.

References zdcSumPlus_.

Referenced by CentralityDQM::analyze(), CentralitypADQM::analyze(), and CentralityBinProducer::produce().

54 {return zdcSumPlus_;}
double zdcSumPlus_
Definition: Centrality.h:83

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 76 of file Centrality.h.

Referenced by EtEBSum(), and EtEcalSum().

double reco::Centrality::etEBtruncated_
protected

Definition at line 77 of file Centrality.h.

Referenced by EtEBtruncated(), and EtEcaltruncated().

double reco::Centrality::etEESumMinus_
protected

Definition at line 74 of file Centrality.h.

Referenced by EtEESum(), and EtEESumMinus().

double reco::Centrality::etEESumPlus_
protected

Definition at line 72 of file Centrality.h.

Referenced by EtEESum(), and EtEESumPlus().

double reco::Centrality::etEEtruncatedMinus_
protected

Definition at line 75 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedMinus().

double reco::Centrality::etEEtruncatedPlus_
protected

Definition at line 73 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedPlus().

double reco::Centrality::etHFhitSumMinus_
protected

Definition at line 67 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumMinus().

double reco::Centrality::etHFhitSumPlus_
protected

Definition at line 62 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumPlus().

double reco::Centrality::etHFtowerSumECutMinus_
protected

Definition at line 69 of file Centrality.h.

Referenced by EtHFtowerSumECut(), and EtHFtowerSumECutMinus().

double reco::Centrality::etHFtowerSumECutPlus_
protected

Definition at line 64 of file Centrality.h.

Referenced by EtHFtowerSumECut(), and EtHFtowerSumECutPlus().

double reco::Centrality::etHFtowerSumMinus_
protected

Definition at line 68 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumMinus().

double reco::Centrality::etHFtowerSumPlus_
protected

Definition at line 63 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumPlus().

double reco::Centrality::etHFtruncatedMinus_
protected

Definition at line 70 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedMinus().

double reco::Centrality::etHFtruncatedPlus_
protected

Definition at line 65 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedPlus().

double reco::Centrality::etMidRapiditySum_
protected

Definition at line 85 of file Centrality.h.

Referenced by EtMidRapiditySum().

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

Definition at line 89 of file Centrality.h.

Referenced by NpixelTracks().

double reco::Centrality::nPixelTracksMinus_
protected

Definition at line 91 of file Centrality.h.

Referenced by NpixelTracksMinus().

double reco::Centrality::nPixelTracksPlus_
protected

Definition at line 90 of file Centrality.h.

Referenced by NpixelTracksPlus().

double reco::Centrality::ntracksEtaCut_
protected

Definition at line 87 of file Centrality.h.

Referenced by NtracksEtaCut().

double reco::Centrality::ntracksEtaPtCut_
protected

Definition at line 88 of file Centrality.h.

Referenced by NtracksEtaPtCut().

double reco::Centrality::ntracksPtCut_
protected

Definition at line 86 of file Centrality.h.

Referenced by NtracksPtCut().

double reco::Centrality::pixelMultiplicity_
protected

Definition at line 79 of file Centrality.h.

Referenced by multiplicityPixel().

double reco::Centrality::pixelMultiplicityMinus_
protected

Definition at line 81 of file Centrality.h.

Referenced by multiplicityPixelMinus().

double reco::Centrality::pixelMultiplicityPlus_
protected

Definition at line 80 of file Centrality.h.

Referenced by multiplicityPixelPlus().

double reco::Centrality::trackMultiplicity_
protected

Definition at line 82 of file Centrality.h.

Referenced by Ntracks().

double reco::Centrality::value_
protected

Definition at line 59 of file Centrality.h.

Referenced by raw().

double reco::Centrality::zdcSumMinus_
protected

Definition at line 84 of file Centrality.h.

Referenced by zdcSum(), and zdcSumMinus().

double reco::Centrality::zdcSumPlus_
protected

Definition at line 83 of file Centrality.h.

Referenced by zdcSum(), and zdcSumPlus().