#include <RecoMET/METAlgorithms/interface/GenSpecificAlgo.h>
Public Member Functions | |
reco::GenMET | addInfo (edm::Handle< edm::View< reco::Candidate > > particles, CommonMETData *met, double globalThreshold=0, bool onlyFiducial=false, bool applyFiducialThresholdForFractions=false, bool usePt=false) |
Private Types | |
typedef math::XYZTLorentzVector | LorentzVector |
typedef math::XYZPoint | Point |
Private Member Functions | |
void | fillCommonMETData (CommonMETData *met, edm::Handle< edm::View< reco::Candidate > > &particles, double globalThreshold, bool onlyFiducial, bool usePt) |
SpecificGenMETData | mkSpecificGenMETData (edm::Handle< edm::View< reco::Candidate > > &particles, double globalThreshold, bool onlyFiducial, bool applyFiducialThresholdForFractions, bool usePt) |
Description: Adds generator level HEPMC specific information to MET
Implementation: [Notes on implementation]
Definition at line 29 of file GenSpecificAlgo.h.
|
private |
Definition at line 36 of file GenSpecificAlgo.h.
|
private |
Definition at line 37 of file GenSpecificAlgo.h.
reco::GenMET GenSpecificAlgo::addInfo | ( | edm::Handle< edm::View< reco::Candidate > > | particles, |
CommonMETData * | met, | ||
double | globalThreshold = 0 , |
||
bool | onlyFiducial = false , |
||
bool | applyFiducialThresholdForFractions = false , |
||
bool | usePt = false |
||
) |
Definition at line 17 of file GenSpecificAlgo.cc.
References fillCommonMETData(), HepMCValidationHelper::genMet(), CommonMETData::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, mkSpecificGenMETData(), p4, HadronAndPartonSelector_cfi::particles, CommonMETData::sumet, and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by cms::GenMETProducer::produce().
|
private |
Definition at line 31 of file GenSpecificAlgo.cc.
References Abs(), begin, funct::cos(), MillePedeFileConverter_cfg::e, end, stringResolutionProvider_cfi::et, met_cff::globalThreshold, CommonMETData::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, HadronAndPartonSelector_cfi::particles, phi, funct::sin(), mathSSE::sqrt(), CommonMETData::sumet, and theta().
Referenced by addInfo().
|
private |
Definition at line 74 of file GenSpecificAlgo.cc.
References Abs(), begin, SpecificGenMETData::ChargedEMEtFraction, SpecificGenMETData::ChargedHadEtFraction, end, met_cff::globalThreshold, SpecificGenMETData::InvisibleEtFraction, SpecificGenMETData::MuonEtFraction, SpecificGenMETData::NeutralEMEtFraction, SpecificGenMETData::NeutralHadEtFraction, HadronAndPartonSelector_cfi::particles, common_cff::pdgId, EnergyCorrector::pt, and genMetCalo_cfi::usePt.
Referenced by addInfo().