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 22 of file PUSubMETData.h.

Member Enumeration Documentation

anonymous enum

Constructor & Destructor Documentation

reco::PUSubMETCandInfo::PUSubMETCandInfo ( )

Definition at line 5 of file PUSubMETData.cc.

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

5  {
6 
7  p4_.SetXYZT(0.,0.,0.,0.);
8  dZ_ = 0.;
10  charge_ = 0;
11  isWithinJet_ = false;
12  passesLooseJetId_ = 0.;
13  offsetEnCorr_ = 0.;
14  mva_ = 0.;
15  chargedEnFrac_ = 0.;
16 
17  }
reco::Candidate::LorentzVector p4_
Definition: PUSubMETData.h:72
reco::PUSubMETCandInfo::~PUSubMETCandInfo ( )

Definition at line 20 of file PUSubMETData.cc.

20  {
21 
22  }

Member Function Documentation

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

Definition at line 38 of file PUSubMETData.h.

References charge_.

Referenced by setCharge().

38 {return charge_;};
float reco::PUSubMETCandInfo::chargedEnFrac ( ) const
inline

Definition at line 45 of file PUSubMETData.h.

References chargedEnFrac_.

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

45 {return chargedEnFrac_;};
const float reco::PUSubMETCandInfo::dZ ( ) const
inline

Definition at line 35 of file PUSubMETData.h.

References dZ_.

Referenced by setDZ().

35 {return dZ_;};
bool reco::PUSubMETCandInfo::isWithinJet ( ) const
inline

Definition at line 41 of file PUSubMETData.h.

References isWithinJet_.

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

41 {return isWithinJet_;};
const metsig::SigInputObj& reco::PUSubMETCandInfo::metSignObj ( ) const
inline

Definition at line 47 of file PUSubMETData.h.

References pfMEtSignObj_.

47 {return pfMEtSignObj_;};
metsig::SigInputObj pfMEtSignObj_
Definition: PUSubMETData.h:85
float reco::PUSubMETCandInfo::mva ( ) const
inline

Definition at line 44 of file PUSubMETData.h.

References mva_.

Referenced by setMvaVal().

44 {return mva_;};
float reco::PUSubMETCandInfo::offsetEnCorr ( ) const
inline

Definition at line 43 of file PUSubMETData.h.

References offsetEnCorr_.

43 {return offsetEnCorr_;};
bool reco::PUSubMETCandInfo::operator< ( const reco::PUSubMETCandInfo jet2) const

Definition at line 25 of file PUSubMETData.cc.

References p4(), and p4_.

25  {
26  return p4_.pt() < jet2.p4().pt();
27  }
reco::Candidate::LorentzVector p4_
Definition: PUSubMETData.h:72
const reco::Candidate::LorentzVector & p4() const
Definition: PUSubMETData.h:34
const reco::Candidate::LorentzVector& reco::PUSubMETCandInfo::p4 ( ) const
inline
float reco::PUSubMETCandInfo::passesLooseJetId ( ) const
inline

Definition at line 42 of file PUSubMETData.h.

References passesLooseJetId_.

Referenced by printMVAMEtJetInfo(), and printMVAMEtPFCandInfo().

42 {return passesLooseJetId_;};
void reco::PUSubMETCandInfo::setCharge ( int  charge)
inline

Definition at line 54 of file PUSubMETData.h.

References charge(), and charge_.

Referenced by NoPileUpPFMEtDataProducer::produce().

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

Definition at line 51 of file PUSubMETData.h.

References dZ(), and dZ_.

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

51 {dZ_ = dZ;};
const float dZ() const
Definition: PUSubMETData.h:35
void reco::PUSubMETCandInfo::setIsWithinJet ( bool  isWJ)
inline

Definition at line 57 of file PUSubMETData.h.

References isWithinJet_.

Referenced by NoPileUpPFMEtDataProducer::produce().

57 {isWithinJet_ = isWJ;};
void reco::PUSubMETCandInfo::setMEtSignObj ( metsig::SigInputObj  msig)
inline

Definition at line 63 of file PUSubMETData.h.

References pfMEtSignObj_.

Referenced by NoPileUpPFMEtDataProducer::produce().

63 {pfMEtSignObj_ = msig;};
metsig::SigInputObj pfMEtSignObj_
Definition: PUSubMETData.h:85
void reco::PUSubMETCandInfo::setMvaVal ( float  mva)
inline

Definition at line 60 of file PUSubMETData.h.

References mva(), and mva_.

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

60 {mva_ = mva;};
float mva() const
Definition: PUSubMETData.h:44
void reco::PUSubMETCandInfo::setOffsetEnCorr ( float  offset)
inline
void reco::PUSubMETCandInfo::setP4 ( const reco::Candidate::LorentzVector  p4)
inline
void reco::PUSubMETCandInfo::setPassesLooseJetId ( float  jetId)
inline

Definition at line 58 of file PUSubMETData.h.

References jets_cff::jetId, and passesLooseJetId_.

Referenced by NoPileUpPFMEtDataProducer::produce().

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

Definition at line 53 of file PUSubMETData.h.

References type(), and type_.

Referenced by NoPileUpPFMEtDataProducer::produce().

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

Member Data Documentation

int reco::PUSubMETCandInfo::charge_
private

Definition at line 76 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::chargedEnFrac_
private

Definition at line 83 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::dZ_
private

Definition at line 73 of file PUSubMETData.h.

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

bool reco::PUSubMETCandInfo::isWithinJet_
private

Definition at line 79 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::mva_
private

Definition at line 82 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::offsetEnCorr_
private

Definition at line 81 of file PUSubMETData.h.

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

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

Definition at line 72 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::passesLooseJetId_
private

Definition at line 80 of file PUSubMETData.h.

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

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

Definition at line 85 of file PUSubMETData.h.

Referenced by metSignObj(), and setMEtSignObj().

int reco::PUSubMETCandInfo::type_
private