CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
reco::PUSubMETCandInfo Class Reference

#include <PUSubMETData.h>

Public Types

enum  {
  kUndefined = 0, kHS, kChHS, kPU,
  kChPU, kNeutral
}
 

Public Member Functions

int charge () const
 
float chargedEnFrac () const
 
const float dZ () const
 
bool isWithinJet () const
 
const metsig::SigInputObjmetSignObj () const
 
float mva () const
 
float offsetEnCorr () const
 
bool operator< (const reco::PUSubMETCandInfo &) const
 
const reco::Candidate::LorentzVectorp4 () const
 
float passesLooseJetId () const
 
 PUSubMETCandInfo ()
 
void setCharge (int charge)
 
void setChargedEnFrac (float chEnF)
 
void setDZ (float dZ)
 
void setIsWithinJet (bool isWJ)
 
void setMEtSignObj (metsig::SigInputObj msig)
 
void setMvaVal (float mva)
 
void setOffsetEnCorr (float offset)
 
void setP4 (const reco::Candidate::LorentzVector p4)
 
void setPassesLooseJetId (float jetId)
 
void setType (int type)
 
int type () const
 
 ~PUSubMETCandInfo ()
 

Private Attributes

int charge_
 
float chargedEnFrac_
 
float dZ_
 
bool isWithinJet_
 
float mva_
 
float offsetEnCorr_
 
reco::Candidate::LorentzVector p4_
 
float passesLooseJetId_
 
metsig::SigInputObj pfMEtSignObj_
 
int type_
 

Detailed Description

Definition at line 21 of file PUSubMETData.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kUndefined 
kHS 
kChHS 
kPU 
kChPU 
kNeutral 

Definition at line 63 of file PUSubMETData.h.

63 { kUndefined = 0, kHS, kChHS, kPU, kChPU, kNeutral };

Constructor & Destructor Documentation

◆ PUSubMETCandInfo()

reco::PUSubMETCandInfo::PUSubMETCandInfo ( )

Definition at line 5 of file PUSubMETData.cc.

5  {
6  p4_.SetXYZT(0., 0., 0., 0.);
7  dZ_ = 0.;
9  charge_ = 0;
10  isWithinJet_ = false;
11  passesLooseJetId_ = 0.;
12  offsetEnCorr_ = 0.;
13  mva_ = 0.;
14  chargedEnFrac_ = 0.;
15  }

References charge_, chargedEnFrac_, dZ_, isWithinJet_, kUndefined, mva_, offsetEnCorr_, p4_, passesLooseJetId_, and type_.

◆ ~PUSubMETCandInfo()

reco::PUSubMETCandInfo::~PUSubMETCandInfo ( )

Definition at line 17 of file PUSubMETData.cc.

17 {}

Member Function Documentation

◆ charge()

int reco::PUSubMETCandInfo::charge ( ) const
inline

Definition at line 34 of file PUSubMETData.h.

34 { return charge_; };

References charge_.

Referenced by setCharge().

◆ chargedEnFrac()

float reco::PUSubMETCandInfo::chargedEnFrac ( ) const
inline

Definition at line 41 of file PUSubMETData.h.

41 { return chargedEnFrac_; };

References chargedEnFrac_.

Referenced by reco::PFMETProducerMVA::computeJetInfo().

◆ dZ()

const float reco::PUSubMETCandInfo::dZ ( ) const
inline

Definition at line 31 of file PUSubMETData.h.

31 { return dZ_; };

References dZ_.

Referenced by setDZ().

◆ isWithinJet()

bool reco::PUSubMETCandInfo::isWithinJet ( ) const
inline

Definition at line 37 of file PUSubMETData.h.

37 { return isWithinJet_; };

References isWithinJet_.

Referenced by printMVAMEtPFCandInfo(), and NoPileUpPFMEtDataProducer::produce().

◆ metSignObj()

const metsig::SigInputObj& reco::PUSubMETCandInfo::metSignObj ( ) const
inline

Definition at line 43 of file PUSubMETData.h.

43 { return pfMEtSignObj_; };

References pfMEtSignObj_.

◆ mva()

float reco::PUSubMETCandInfo::mva ( ) const
inline

Definition at line 40 of file PUSubMETData.h.

40 { return mva_; };

References mva_.

Referenced by setMvaVal().

◆ offsetEnCorr()

float reco::PUSubMETCandInfo::offsetEnCorr ( ) const
inline

Definition at line 39 of file PUSubMETData.h.

39 { return offsetEnCorr_; };

References offsetEnCorr_.

◆ operator<()

bool reco::PUSubMETCandInfo::operator< ( const reco::PUSubMETCandInfo jet2) const

Definition at line 19 of file PUSubMETData.cc.

19 { return p4_.pt() < jet2.p4().pt(); }

References p4(), and p4_.

◆ p4()

const reco::Candidate::LorentzVector& reco::PUSubMETCandInfo::p4 ( ) const
inline

◆ passesLooseJetId()

float reco::PUSubMETCandInfo::passesLooseJetId ( ) const
inline

Definition at line 38 of file PUSubMETData.h.

38 { return passesLooseJetId_; };

References passesLooseJetId_.

Referenced by printMVAMEtPFCandInfo().

◆ setCharge()

void reco::PUSubMETCandInfo::setCharge ( int  charge)
inline

Definition at line 50 of file PUSubMETData.h.

50 { charge_ = charge; };

References charge(), and charge_.

Referenced by NoPileUpPFMEtDataProducer::produce().

◆ setChargedEnFrac()

void reco::PUSubMETCandInfo::setChargedEnFrac ( float  chEnF)
inline

◆ setDZ()

void reco::PUSubMETCandInfo::setDZ ( float  dZ)
inline

Definition at line 47 of file PUSubMETData.h.

47 { dZ_ = dZ; };

References dZ(), and dZ_.

Referenced by reco::PFMETProducerMVA::computeJetInfo(), and reco::PFMETProducerMVA::computePFCandidateInfo().

◆ setIsWithinJet()

void reco::PUSubMETCandInfo::setIsWithinJet ( bool  isWJ)
inline

Definition at line 53 of file PUSubMETData.h.

53 { isWithinJet_ = isWJ; };

References isWithinJet_.

Referenced by NoPileUpPFMEtDataProducer::produce().

◆ setMEtSignObj()

void reco::PUSubMETCandInfo::setMEtSignObj ( metsig::SigInputObj  msig)
inline

Definition at line 59 of file PUSubMETData.h.

59 { pfMEtSignObj_ = msig; };

References pfMEtSignObj_.

Referenced by NoPileUpPFMEtDataProducer::produce().

◆ setMvaVal()

void reco::PUSubMETCandInfo::setMvaVal ( float  mva)
inline

Definition at line 56 of file PUSubMETData.h.

56 { mva_ = mva; };

References mva(), and mva_.

Referenced by reco::PFMETProducerMVA::computeJetInfo().

◆ setOffsetEnCorr()

void reco::PUSubMETCandInfo::setOffsetEnCorr ( float  offset)
inline

◆ setP4()

void reco::PUSubMETCandInfo::setP4 ( const reco::Candidate::LorentzVector  p4)
inline

◆ setPassesLooseJetId()

void reco::PUSubMETCandInfo::setPassesLooseJetId ( float  jetId)
inline

Definition at line 54 of file PUSubMETData.h.

References PhotonMonitor_cff::jetId, and passesLooseJetId_.

Referenced by NoPileUpPFMEtDataProducer::produce().

◆ setType()

void reco::PUSubMETCandInfo::setType ( int  type)
inline

Definition at line 49 of file PUSubMETData.h.

49 { type_ = type; };

References type(), and type_.

Referenced by NoPileUpPFMEtDataProducer::produce().

◆ type()

int reco::PUSubMETCandInfo::type ( ) const
inline

Definition at line 33 of file PUSubMETData.h.

33 { return type_; };

References type_.

Referenced by printMVAMEtPFCandInfo(), and setType().

Member Data Documentation

◆ charge_

int reco::PUSubMETCandInfo::charge_
private

Definition at line 70 of file PUSubMETData.h.

Referenced by charge(), PUSubMETCandInfo(), and setCharge().

◆ chargedEnFrac_

float reco::PUSubMETCandInfo::chargedEnFrac_
private

Definition at line 77 of file PUSubMETData.h.

Referenced by chargedEnFrac(), PUSubMETCandInfo(), and setChargedEnFrac().

◆ dZ_

float reco::PUSubMETCandInfo::dZ_
private

Definition at line 67 of file PUSubMETData.h.

Referenced by dZ(), PUSubMETCandInfo(), and setDZ().

◆ isWithinJet_

bool reco::PUSubMETCandInfo::isWithinJet_
private

Definition at line 73 of file PUSubMETData.h.

Referenced by isWithinJet(), PUSubMETCandInfo(), and setIsWithinJet().

◆ mva_

float reco::PUSubMETCandInfo::mva_
private

Definition at line 76 of file PUSubMETData.h.

Referenced by mva(), PUSubMETCandInfo(), and setMvaVal().

◆ offsetEnCorr_

float reco::PUSubMETCandInfo::offsetEnCorr_
private

Definition at line 75 of file PUSubMETData.h.

Referenced by offsetEnCorr(), PUSubMETCandInfo(), and setOffsetEnCorr().

◆ p4_

reco::Candidate::LorentzVector reco::PUSubMETCandInfo::p4_
private

Definition at line 66 of file PUSubMETData.h.

Referenced by operator<(), p4(), PUSubMETCandInfo(), and setP4().

◆ passesLooseJetId_

float reco::PUSubMETCandInfo::passesLooseJetId_
private

Definition at line 74 of file PUSubMETData.h.

Referenced by passesLooseJetId(), PUSubMETCandInfo(), and setPassesLooseJetId().

◆ pfMEtSignObj_

metsig::SigInputObj reco::PUSubMETCandInfo::pfMEtSignObj_
private

Definition at line 79 of file PUSubMETData.h.

Referenced by metSignObj(), and setMEtSignObj().

◆ type_

int reco::PUSubMETCandInfo::type_
private
reco::PUSubMETCandInfo::dZ_
float dZ_
Definition: PUSubMETData.h:67
reco::PUSubMETCandInfo::kUndefined
Definition: PUSubMETData.h:63
reco::PUSubMETCandInfo::mva
float mva() const
Definition: PUSubMETData.h:40
reco::PUSubMETCandInfo::p4_
reco::Candidate::LorentzVector p4_
Definition: PUSubMETData.h:66
reco::PUSubMETCandInfo::passesLooseJetId_
float passesLooseJetId_
Definition: PUSubMETData.h:74
reco::PUSubMETCandInfo::charge_
int charge_
Definition: PUSubMETData.h:70
reco::PUSubMETCandInfo::type_
int type_
Definition: PUSubMETData.h:69
reco::PUSubMETCandInfo::mva_
float mva_
Definition: PUSubMETData.h:76
reco::PUSubMETCandInfo::type
int type() const
Definition: PUSubMETData.h:33
reco::PUSubMETCandInfo::isWithinJet_
bool isWithinJet_
Definition: PUSubMETData.h:73
reco::PUSubMETCandInfo::p4
const reco::Candidate::LorentzVector & p4() const
Definition: PUSubMETData.h:30
reco::PUSubMETCandInfo::pfMEtSignObj_
metsig::SigInputObj pfMEtSignObj_
Definition: PUSubMETData.h:79
reco::PUSubMETCandInfo::kPU
Definition: PUSubMETData.h:63
reco::PUSubMETCandInfo::kChPU
Definition: PUSubMETData.h:63
reco::PUSubMETCandInfo::offsetEnCorr_
float offsetEnCorr_
Definition: PUSubMETData.h:75
reco::PUSubMETCandInfo::charge
int charge() const
Definition: PUSubMETData.h:34
reco::PUSubMETCandInfo::kChHS
Definition: PUSubMETData.h:63
PhotonMonitor_cff.jetId
jetId
Definition: PhotonMonitor_cff.py:70
reco::PUSubMETCandInfo::kHS
Definition: PUSubMETData.h:63
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:82
reco::PUSubMETCandInfo::dZ
const float dZ() const
Definition: PUSubMETData.h:31
reco::PUSubMETCandInfo::chargedEnFrac_
float chargedEnFrac_
Definition: PUSubMETData.h:77
reco::PUSubMETCandInfo::kNeutral
Definition: PUSubMETData.h:63