CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::LorentzVector
p4 () 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

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  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  }
reco::Candidate::LorentzVector p4_
Definition: PUSubMETData.h:66
reco::PUSubMETCandInfo::~PUSubMETCandInfo ( )

Definition at line 17 of file PUSubMETData.cc.

17 {}

Member Function Documentation

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

Definition at line 34 of file PUSubMETData.h.

References charge_.

Referenced by setCharge().

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

Definition at line 41 of file PUSubMETData.h.

References chargedEnFrac_.

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

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

Definition at line 31 of file PUSubMETData.h.

References dZ_.

Referenced by setDZ().

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

Definition at line 37 of file PUSubMETData.h.

References isWithinJet_.

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

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

Definition at line 43 of file PUSubMETData.h.

References pfMEtSignObj_.

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

Definition at line 40 of file PUSubMETData.h.

References mva_.

Referenced by setMvaVal().

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

Definition at line 39 of file PUSubMETData.h.

References offsetEnCorr_.

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

Definition at line 19 of file PUSubMETData.cc.

References p4(), and p4_.

19 { return p4_.pt() < jet2.p4().pt(); }
reco::Candidate::LorentzVector p4_
Definition: PUSubMETData.h:66
const reco::Candidate::LorentzVector & p4() const
Definition: PUSubMETData.h:30
const reco::Candidate::LorentzVector& reco::PUSubMETCandInfo::p4 ( ) const
inline
float reco::PUSubMETCandInfo::passesLooseJetId ( ) const
inline

Definition at line 38 of file PUSubMETData.h.

References passesLooseJetId_.

Referenced by printMVAMEtJetInfo(), and printMVAMEtPFCandInfo().

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

Definition at line 50 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 47 of file PUSubMETData.h.

References dZ(), and dZ_.

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

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

Definition at line 53 of file PUSubMETData.h.

References isWithinJet_.

Referenced by NoPileUpPFMEtDataProducer::produce().

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

Definition at line 59 of file PUSubMETData.h.

References pfMEtSignObj_.

Referenced by NoPileUpPFMEtDataProducer::produce().

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

Definition at line 56 of file PUSubMETData.h.

References mva(), and mva_.

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

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

Definition at line 46 of file PUSubMETData.h.

References p4(), and p4_.

Referenced by reco::PFMETProducerMVA::computeJetInfo(), reco::PFMETProducerMVA::computeLeptonInfo(), reco::PFMETProducerMVA::computePFCandidateInfo(), NoPileUpPFMEtDataProducer::produce(), and Jet.Jet::setCorrP4().

46 { p4_ = p4; };
reco::Candidate::LorentzVector p4_
Definition: PUSubMETData.h:66
const reco::Candidate::LorentzVector & p4() const
Definition: PUSubMETData.h:30
void reco::PUSubMETCandInfo::setPassesLooseJetId ( float  jetId)
inline

Definition at line 54 of file PUSubMETData.h.

References passesLooseJetId_.

Referenced by NoPileUpPFMEtDataProducer::produce().

54 { passesLooseJetId_ = jetId; };
void reco::PUSubMETCandInfo::setType ( int  type)
inline

Definition at line 49 of file PUSubMETData.h.

References type(), and type_.

Referenced by NoPileUpPFMEtDataProducer::produce().

49 { type_ = type; };
int reco::PUSubMETCandInfo::type ( ) const
inline

Definition at line 33 of file PUSubMETData.h.

References type_.

Referenced by printMVAMEtJetInfo(), printMVAMEtPFCandInfo(), and setType().

33 { return type_; };

Member Data Documentation

int reco::PUSubMETCandInfo::charge_
private

Definition at line 70 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::chargedEnFrac_
private

Definition at line 77 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::dZ_
private

Definition at line 67 of file PUSubMETData.h.

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

bool reco::PUSubMETCandInfo::isWithinJet_
private

Definition at line 73 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::mva_
private

Definition at line 76 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::offsetEnCorr_
private

Definition at line 75 of file PUSubMETData.h.

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

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

Definition at line 66 of file PUSubMETData.h.

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

float reco::PUSubMETCandInfo::passesLooseJetId_
private

Definition at line 74 of file PUSubMETData.h.

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

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

Definition at line 79 of file PUSubMETData.h.

Referenced by metSignObj(), and setMEtSignObj().

int reco::PUSubMETCandInfo::type_
private