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

Constructor & Destructor Documentation

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

Definition at line 10 of file Centrality.cc.

11  : value_(d),
12  label_(label),
13  etHFhitSumPlus_(0),
21  etEESumPlus_(0),
23  etEESumMinus_(0),
25  etEBSum_(0),
26  etEBtruncated_(0),
31  zdcSumPlus_(0),
32  zdcSumMinus_(0),
34  ntracksPtCut_(0),
35  ntracksEtaCut_(0),
37  nPixelTracks_(0),
39  nPixelTracksMinus_(0) {}
double trackMultiplicity_
Definition: Centrality.h:83
double etMidRapiditySum_
Definition: Centrality.h:86
double etHFhitSumMinus_
Definition: Centrality.h:68
double etHFtowerSumPlus_
Definition: Centrality.h:64
double ntracksEtaCut_
Definition: Centrality.h:88
double etHFtruncatedPlus_
Definition: Centrality.h:66
double pixelMultiplicity_
Definition: Centrality.h:80
double nPixelTracksPlus_
Definition: Centrality.h:91
double etHFtruncatedMinus_
Definition: Centrality.h:71
double pixelMultiplicityMinus_
Definition: Centrality.h:82
double etHFhitSumPlus_
Definition: Centrality.h:63
double pixelMultiplicityPlus_
Definition: Centrality.h:81
double ntracksPtCut_
Definition: Centrality.h:87
std::string label() const
Definition: Centrality.h:19
double zdcSumMinus_
Definition: Centrality.h:85
d
Definition: ztail.py:151
double etEESumPlus_
Definition: Centrality.h:73
double etEEtruncatedPlus_
Definition: Centrality.h:74
std::string label_
Definition: Centrality.h:61
double etHFtowerSumECutPlus_
Definition: Centrality.h:65
double nPixelTracksMinus_
Definition: Centrality.h:92
double zdcSumPlus_
Definition: Centrality.h:84
double etEESumMinus_
Definition: Centrality.h:75
double etEBtruncated_
Definition: Centrality.h:78
double ntracksEtaPtCut_
Definition: Centrality.h:89
double etEEtruncatedMinus_
Definition: Centrality.h:76
double etHFtowerSumMinus_
Definition: Centrality.h:69
double nPixelTracks_
Definition: Centrality.h:90
double etHFtowerSumECutMinus_
Definition: Centrality.h:70
Centrality::~Centrality ( )
virtual

Definition at line 41 of file Centrality.cc.

41 {}

Member Function Documentation

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

Definition at line 39 of file Centrality.h.

References etEBSum_.

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

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

Definition at line 40 of file Centrality.h.

References etEBtruncated_.

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

Definition at line 41 of file Centrality.h.

References etEBSum_, and EtEESum().

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

Definition at line 42 of file Centrality.h.

References etEBtruncated_, and EtEEtruncated().

42 { return etEBtruncated_ + EtEEtruncated(); }
double EtEEtruncated() const
Definition: Centrality.h:36
double etEBtruncated_
Definition: Centrality.h:78
double reco::Centrality::EtEESum ( ) const
inline
double reco::Centrality::EtEESumMinus ( ) const
inline

Definition at line 35 of file Centrality.h.

References etEESumMinus_.

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

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

Definition at line 34 of file Centrality.h.

References etEESumPlus_.

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

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

Definition at line 36 of file Centrality.h.

References etEEtruncatedMinus_, and etEEtruncatedPlus_.

Referenced by EtEcaltruncated().

double etEEtruncatedPlus_
Definition: Centrality.h:74
double etEEtruncatedMinus_
Definition: Centrality.h:76
double reco::Centrality::EtEEtruncatedMinus ( ) const
inline

Definition at line 38 of file Centrality.h.

References etEEtruncatedMinus_.

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

Definition at line 37 of file Centrality.h.

References etEEtruncatedPlus_.

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

Definition at line 23 of file Centrality.h.

References etHFhitSumMinus_.

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

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

Definition at line 22 of file Centrality.h.

References etHFhitSumPlus_.

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

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

Definition at line 27 of file Centrality.h.

References etHFtowerSumECutMinus_, and etHFtowerSumECutPlus_.

double etHFtowerSumECutPlus_
Definition: Centrality.h:65
double etHFtowerSumECutMinus_
Definition: Centrality.h:70
double reco::Centrality::EtHFtowerSumECutMinus ( ) const
inline

Definition at line 29 of file Centrality.h.

References etHFtowerSumECutMinus_.

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

Definition at line 28 of file Centrality.h.

References etHFtowerSumECutPlus_.

28 { return etHFtowerSumECutPlus_; }
double etHFtowerSumECutPlus_
Definition: Centrality.h:65
double reco::Centrality::EtHFtowerSumMinus ( ) const
inline

Definition at line 26 of file Centrality.h.

References etHFtowerSumMinus_.

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

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

Definition at line 25 of file Centrality.h.

References etHFtowerSumPlus_.

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

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

Definition at line 30 of file Centrality.h.

References etHFtruncatedMinus_, and etHFtruncatedPlus_.

Referenced by CentralityBinProducer::produce().

double etHFtruncatedPlus_
Definition: Centrality.h:66
double etHFtruncatedMinus_
Definition: Centrality.h:71
double reco::Centrality::EtHFtruncatedMinus ( ) const
inline
double reco::Centrality::EtHFtruncatedPlus ( ) const
inline

Definition at line 31 of file Centrality.h.

References etHFtruncatedPlus_.

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

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

Definition at line 57 of file Centrality.h.

References etMidRapiditySum_.

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

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

Definition at line 43 of file Centrality.h.

References pixelMultiplicity_.

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

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

Definition at line 45 of file Centrality.h.

References pixelMultiplicityMinus_.

45 { return pixelMultiplicityMinus_; }
double pixelMultiplicityMinus_
Definition: Centrality.h:82
double reco::Centrality::multiplicityPixelPlus ( ) const
inline

Definition at line 44 of file Centrality.h.

References pixelMultiplicityPlus_.

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

Definition at line 50 of file Centrality.h.

References nPixelTracks_.

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

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

Definition at line 52 of file Centrality.h.

References nPixelTracksMinus_.

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

Definition at line 51 of file Centrality.h.

References nPixelTracksPlus_.

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

Definition at line 48 of file Centrality.h.

References ntracksEtaCut_.

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

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

Definition at line 49 of file Centrality.h.

References ntracksEtaPtCut_.

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

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

Definition at line 47 of file Centrality.h.

References ntracksPtCut_.

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

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

Definition at line 18 of file Centrality.h.

References value_.

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

Definition at line 54 of file Centrality.h.

References zdcSumMinus_, and zdcSumPlus_.

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

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

Definition at line 56 of file Centrality.h.

References zdcSumMinus_.

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

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

Definition at line 55 of file Centrality.h.

References zdcSumPlus_.

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

55 { return zdcSumPlus_; }
double zdcSumPlus_
Definition: Centrality.h:84

Friends And Related Function Documentation

friend class CentralityProducer
friend

Definition at line 16 of file Centrality.h.

Member Data Documentation

double reco::Centrality::etEBSum_
protected

Definition at line 77 of file Centrality.h.

Referenced by EtEBSum(), and EtEcalSum().

double reco::Centrality::etEBtruncated_
protected

Definition at line 78 of file Centrality.h.

Referenced by EtEBtruncated(), and EtEcaltruncated().

double reco::Centrality::etEESumMinus_
protected

Definition at line 75 of file Centrality.h.

Referenced by EtEESum(), and EtEESumMinus().

double reco::Centrality::etEESumPlus_
protected

Definition at line 73 of file Centrality.h.

Referenced by EtEESum(), and EtEESumPlus().

double reco::Centrality::etEEtruncatedMinus_
protected

Definition at line 76 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedMinus().

double reco::Centrality::etEEtruncatedPlus_
protected

Definition at line 74 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedPlus().

double reco::Centrality::etHFhitSumMinus_
protected

Definition at line 68 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumMinus().

double reco::Centrality::etHFhitSumPlus_
protected

Definition at line 63 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumPlus().

double reco::Centrality::etHFtowerSumECutMinus_
protected

Definition at line 70 of file Centrality.h.

Referenced by EtHFtowerSumECut(), and EtHFtowerSumECutMinus().

double reco::Centrality::etHFtowerSumECutPlus_
protected

Definition at line 65 of file Centrality.h.

Referenced by EtHFtowerSumECut(), and EtHFtowerSumECutPlus().

double reco::Centrality::etHFtowerSumMinus_
protected

Definition at line 69 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumMinus().

double reco::Centrality::etHFtowerSumPlus_
protected

Definition at line 64 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumPlus().

double reco::Centrality::etHFtruncatedMinus_
protected

Definition at line 71 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedMinus().

double reco::Centrality::etHFtruncatedPlus_
protected

Definition at line 66 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedPlus().

double reco::Centrality::etMidRapiditySum_
protected

Definition at line 86 of file Centrality.h.

Referenced by EtMidRapiditySum().

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

Definition at line 90 of file Centrality.h.

Referenced by NpixelTracks().

double reco::Centrality::nPixelTracksMinus_
protected

Definition at line 92 of file Centrality.h.

Referenced by NpixelTracksMinus().

double reco::Centrality::nPixelTracksPlus_
protected

Definition at line 91 of file Centrality.h.

Referenced by NpixelTracksPlus().

double reco::Centrality::ntracksEtaCut_
protected

Definition at line 88 of file Centrality.h.

Referenced by NtracksEtaCut().

double reco::Centrality::ntracksEtaPtCut_
protected

Definition at line 89 of file Centrality.h.

Referenced by NtracksEtaPtCut().

double reco::Centrality::ntracksPtCut_
protected

Definition at line 87 of file Centrality.h.

Referenced by NtracksPtCut().

double reco::Centrality::pixelMultiplicity_
protected

Definition at line 80 of file Centrality.h.

Referenced by multiplicityPixel().

double reco::Centrality::pixelMultiplicityMinus_
protected

Definition at line 82 of file Centrality.h.

Referenced by multiplicityPixelMinus().

double reco::Centrality::pixelMultiplicityPlus_
protected

Definition at line 81 of file Centrality.h.

Referenced by multiplicityPixelPlus().

double reco::Centrality::trackMultiplicity_
protected

Definition at line 83 of file Centrality.h.

Referenced by Ntracks().

double reco::Centrality::value_
protected

Definition at line 60 of file Centrality.h.

Referenced by raw().

double reco::Centrality::zdcSumMinus_
protected

Definition at line 85 of file Centrality.h.

Referenced by zdcSum(), and zdcSumMinus().

double reco::Centrality::zdcSumPlus_
protected

Definition at line 84 of file Centrality.h.

Referenced by zdcSum(), and zdcSumPlus().