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::Centrality ( double  d = 0,
std::string  label = "" 
)

Definition at line 10 of file Centrality.cc.

◆ ~Centrality()

Centrality::~Centrality ( )
virtual

Definition at line 41 of file Centrality.cc.

41 {}

Member Function Documentation

◆ EtEBSum()

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

◆ EtEBtruncated()

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

Definition at line 40 of file Centrality.h.

40 { return etEBtruncated_; }

References etEBtruncated_.

◆ EtEcalSum()

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

Definition at line 41 of file Centrality.h.

41 { return etEBSum_ + EtEESum(); }

References etEBSum_, and EtEESum().

◆ EtEcaltruncated()

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

Definition at line 42 of file Centrality.h.

42 { return etEBtruncated_ + EtEEtruncated(); }

References etEBtruncated_, and EtEEtruncated().

◆ EtEESum()

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

◆ EtEESumMinus()

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

Definition at line 35 of file Centrality.h.

35 { return etEESumMinus_; }

References etEESumMinus_.

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

◆ EtEESumPlus()

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

Definition at line 34 of file Centrality.h.

34 { return etEESumPlus_; }

References etEESumPlus_.

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

◆ EtEEtruncated()

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

Definition at line 36 of file Centrality.h.

References etEEtruncatedMinus_, and etEEtruncatedPlus_.

Referenced by EtEcaltruncated().

◆ EtEEtruncatedMinus()

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

Definition at line 38 of file Centrality.h.

38 { return etEEtruncatedMinus_; }

References etEEtruncatedMinus_.

◆ EtEEtruncatedPlus()

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

Definition at line 37 of file Centrality.h.

37 { return etEEtruncatedPlus_; }

References etEEtruncatedPlus_.

◆ EtHFhitSum()

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

◆ EtHFhitSumMinus()

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

◆ EtHFhitSumPlus()

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

◆ EtHFtowerSum()

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

◆ EtHFtowerSumECut()

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

Definition at line 27 of file Centrality.h.

References etHFtowerSumECutMinus_, and etHFtowerSumECutPlus_.

◆ EtHFtowerSumECutMinus()

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

Definition at line 29 of file Centrality.h.

29 { return etHFtowerSumECutMinus_; }

References etHFtowerSumECutMinus_.

Referenced by reco::CentralityProducer::produce().

◆ EtHFtowerSumECutPlus()

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

Definition at line 28 of file Centrality.h.

28 { return etHFtowerSumECutPlus_; }

References etHFtowerSumECutPlus_.

Referenced by reco::CentralityProducer::produce().

◆ EtHFtowerSumMinus()

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

◆ EtHFtowerSumPlus()

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

◆ EtHFtruncated()

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

Definition at line 30 of file Centrality.h.

References etHFtruncatedMinus_, and etHFtruncatedPlus_.

Referenced by CentralityBinProducer::produce().

◆ EtHFtruncatedMinus()

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

◆ EtHFtruncatedPlus()

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

◆ EtMidRapiditySum()

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

◆ label()

std::string reco::Centrality::label ( ) const
inline

Definition at line 19 of file Centrality.h.

19 { return label_; }

References label_.

◆ multiplicityPixel()

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

◆ multiplicityPixelMinus()

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

Definition at line 45 of file Centrality.h.

45 { return pixelMultiplicityMinus_; }

References pixelMultiplicityMinus_.

Referenced by reco::CentralityProducer::produce().

◆ multiplicityPixelPlus()

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

Definition at line 44 of file Centrality.h.

44 { return pixelMultiplicityPlus_; }

References pixelMultiplicityPlus_.

Referenced by reco::CentralityProducer::produce().

◆ NpixelTracks()

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

◆ NpixelTracksMinus()

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

Definition at line 52 of file Centrality.h.

52 { return nPixelTracksMinus_; }

References nPixelTracksMinus_.

Referenced by reco::CentralityProducer::produce().

◆ NpixelTracksPlus()

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

Definition at line 51 of file Centrality.h.

51 { return nPixelTracksPlus_; }

References nPixelTracksPlus_.

Referenced by reco::CentralityProducer::produce().

◆ Ntracks()

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

◆ NtracksEtaCut()

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

Definition at line 48 of file Centrality.h.

48 { return ntracksEtaCut_; }

References ntracksEtaCut_.

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

◆ NtracksEtaPtCut()

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

◆ NtracksPtCut()

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

Definition at line 47 of file Centrality.h.

47 { return ntracksPtCut_; }

References ntracksPtCut_.

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

◆ raw()

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

Definition at line 18 of file Centrality.h.

18 { return value_; }

References value_.

◆ zdcSum()

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

Definition at line 54 of file Centrality.h.

54 { return zdcSumPlus_ + zdcSumMinus_; }

References zdcSumMinus_, and zdcSumPlus_.

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

◆ zdcSumMinus()

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

◆ zdcSumPlus()

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

Friends And Related Function Documentation

◆ CentralityProducer

friend class CentralityProducer
friend

Definition at line 16 of file Centrality.h.

Member Data Documentation

◆ etEBSum_

double reco::Centrality::etEBSum_
protected

Definition at line 77 of file Centrality.h.

Referenced by EtEBSum(), and EtEcalSum().

◆ etEBtruncated_

double reco::Centrality::etEBtruncated_
protected

Definition at line 78 of file Centrality.h.

Referenced by EtEBtruncated(), and EtEcaltruncated().

◆ etEESumMinus_

double reco::Centrality::etEESumMinus_
protected

Definition at line 75 of file Centrality.h.

Referenced by EtEESum(), and EtEESumMinus().

◆ etEESumPlus_

double reco::Centrality::etEESumPlus_
protected

Definition at line 73 of file Centrality.h.

Referenced by EtEESum(), and EtEESumPlus().

◆ etEEtruncatedMinus_

double reco::Centrality::etEEtruncatedMinus_
protected

Definition at line 76 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedMinus().

◆ etEEtruncatedPlus_

double reco::Centrality::etEEtruncatedPlus_
protected

Definition at line 74 of file Centrality.h.

Referenced by EtEEtruncated(), and EtEEtruncatedPlus().

◆ etHFhitSumMinus_

double reco::Centrality::etHFhitSumMinus_
protected

Definition at line 68 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumMinus().

◆ etHFhitSumPlus_

double reco::Centrality::etHFhitSumPlus_
protected

Definition at line 63 of file Centrality.h.

Referenced by EtHFhitSum(), and EtHFhitSumPlus().

◆ etHFtowerSumECutMinus_

double reco::Centrality::etHFtowerSumECutMinus_
protected

Definition at line 70 of file Centrality.h.

Referenced by EtHFtowerSumECut(), and EtHFtowerSumECutMinus().

◆ etHFtowerSumECutPlus_

double reco::Centrality::etHFtowerSumECutPlus_
protected

Definition at line 65 of file Centrality.h.

Referenced by EtHFtowerSumECut(), and EtHFtowerSumECutPlus().

◆ etHFtowerSumMinus_

double reco::Centrality::etHFtowerSumMinus_
protected

Definition at line 69 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumMinus().

◆ etHFtowerSumPlus_

double reco::Centrality::etHFtowerSumPlus_
protected

Definition at line 64 of file Centrality.h.

Referenced by EtHFtowerSum(), and EtHFtowerSumPlus().

◆ etHFtruncatedMinus_

double reco::Centrality::etHFtruncatedMinus_
protected

Definition at line 71 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedMinus().

◆ etHFtruncatedPlus_

double reco::Centrality::etHFtruncatedPlus_
protected

Definition at line 66 of file Centrality.h.

Referenced by EtHFtruncated(), and EtHFtruncatedPlus().

◆ etMidRapiditySum_

double reco::Centrality::etMidRapiditySum_
protected

Definition at line 86 of file Centrality.h.

Referenced by EtMidRapiditySum().

◆ label_

std::string reco::Centrality::label_
protected

◆ nPixelTracks_

double reco::Centrality::nPixelTracks_
protected

Definition at line 90 of file Centrality.h.

Referenced by NpixelTracks().

◆ nPixelTracksMinus_

double reco::Centrality::nPixelTracksMinus_
protected

Definition at line 92 of file Centrality.h.

Referenced by NpixelTracksMinus().

◆ nPixelTracksPlus_

double reco::Centrality::nPixelTracksPlus_
protected

Definition at line 91 of file Centrality.h.

Referenced by NpixelTracksPlus().

◆ ntracksEtaCut_

double reco::Centrality::ntracksEtaCut_
protected

Definition at line 88 of file Centrality.h.

Referenced by NtracksEtaCut().

◆ ntracksEtaPtCut_

double reco::Centrality::ntracksEtaPtCut_
protected

Definition at line 89 of file Centrality.h.

Referenced by NtracksEtaPtCut().

◆ ntracksPtCut_

double reco::Centrality::ntracksPtCut_
protected

Definition at line 87 of file Centrality.h.

Referenced by NtracksPtCut().

◆ pixelMultiplicity_

double reco::Centrality::pixelMultiplicity_
protected

Definition at line 80 of file Centrality.h.

Referenced by multiplicityPixel().

◆ pixelMultiplicityMinus_

double reco::Centrality::pixelMultiplicityMinus_
protected

Definition at line 82 of file Centrality.h.

Referenced by multiplicityPixelMinus().

◆ pixelMultiplicityPlus_

double reco::Centrality::pixelMultiplicityPlus_
protected

Definition at line 81 of file Centrality.h.

Referenced by multiplicityPixelPlus().

◆ trackMultiplicity_

double reco::Centrality::trackMultiplicity_
protected

Definition at line 83 of file Centrality.h.

Referenced by Ntracks().

◆ value_

double reco::Centrality::value_
protected

Definition at line 60 of file Centrality.h.

Referenced by raw().

◆ zdcSumMinus_

double reco::Centrality::zdcSumMinus_
protected

Definition at line 85 of file Centrality.h.

Referenced by zdcSum(), and zdcSumMinus().

◆ zdcSumPlus_

double reco::Centrality::zdcSumPlus_
protected

Definition at line 84 of file Centrality.h.

Referenced by zdcSum(), and zdcSumPlus().

reco::Centrality::value_
double value_
Definition: Centrality.h:60
reco::Centrality::EtEEtruncated
double EtEEtruncated() const
Definition: Centrality.h:36
reco::Centrality::ntracksEtaCut_
double ntracksEtaCut_
Definition: Centrality.h:88
reco::Centrality::label_
std::string label_
Definition: Centrality.h:61
reco::Centrality::etEEtruncatedPlus_
double etEEtruncatedPlus_
Definition: Centrality.h:74
reco::Centrality::nPixelTracksPlus_
double nPixelTracksPlus_
Definition: Centrality.h:91
reco::Centrality::pixelMultiplicity_
double pixelMultiplicity_
Definition: Centrality.h:80
reco::Centrality::etHFhitSumPlus_
double etHFhitSumPlus_
Definition: Centrality.h:63
reco::Centrality::etHFtruncatedMinus_
double etHFtruncatedMinus_
Definition: Centrality.h:71
reco::Centrality::pixelMultiplicityMinus_
double pixelMultiplicityMinus_
Definition: Centrality.h:82
reco::Centrality::zdcSumPlus_
double zdcSumPlus_
Definition: Centrality.h:84
reco::Centrality::trackMultiplicity_
double trackMultiplicity_
Definition: Centrality.h:83
reco::Centrality::zdcSumMinus_
double zdcSumMinus_
Definition: Centrality.h:85
reco::Centrality::etMidRapiditySum_
double etMidRapiditySum_
Definition: Centrality.h:86
reco::Centrality::etHFtowerSumMinus_
double etHFtowerSumMinus_
Definition: Centrality.h:69
reco::Centrality::etHFtowerSumECutMinus_
double etHFtowerSumECutMinus_
Definition: Centrality.h:70
reco::Centrality::EtEESum
double EtEESum() const
Definition: Centrality.h:33
reco::Centrality::etEESumPlus_
double etEESumPlus_
Definition: Centrality.h:73
reco::Centrality::nPixelTracks_
double nPixelTracks_
Definition: Centrality.h:90
reco::Centrality::etEESumMinus_
double etEESumMinus_
Definition: Centrality.h:75
reco::Centrality::etHFhitSumMinus_
double etHFhitSumMinus_
Definition: Centrality.h:68
reco::Centrality::etEBtruncated_
double etEBtruncated_
Definition: Centrality.h:78
reco::Centrality::ntracksPtCut_
double ntracksPtCut_
Definition: Centrality.h:87
reco::Centrality::etHFtowerSumPlus_
double etHFtowerSumPlus_
Definition: Centrality.h:64
reco::Centrality::etHFtruncatedPlus_
double etHFtruncatedPlus_
Definition: Centrality.h:66
reco::Centrality::etEEtruncatedMinus_
double etEEtruncatedMinus_
Definition: Centrality.h:76
reco::Centrality::etEBSum_
double etEBSum_
Definition: Centrality.h:77
reco::Centrality::label
std::string label() const
Definition: Centrality.h:19
ztail.d
d
Definition: ztail.py:151
reco::Centrality::etHFtowerSumECutPlus_
double etHFtowerSumECutPlus_
Definition: Centrality.h:65
reco::Centrality::pixelMultiplicityPlus_
double pixelMultiplicityPlus_
Definition: Centrality.h:81
reco::Centrality::nPixelTracksMinus_
double nPixelTracksMinus_
Definition: Centrality.h:92
reco::Centrality::ntracksEtaPtCut_
double ntracksEtaPtCut_
Definition: Centrality.h:89