#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, timingPdfMaker::specific, and CommonMETData::sumet.
Referenced by cms::GenMETProducer::produce().
|
private |
Definition at line 31 of file GenSpecificAlgo.cc.
References Abs(), begin, funct::cos(), alignCSCRings::e, end, HLT_25ns14e33_v1_cff::globalThreshold, CommonMETData::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, 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, HLT_25ns14e33_v1_cff::globalThreshold, SpecificGenMETData::InvisibleEtFraction, SpecificGenMETData::MuonEtFraction, SpecificGenMETData::NeutralEMEtFraction, SpecificGenMETData::NeutralHadEtFraction, benchmark_cfg::pdgId, EnergyCorrector::pt, timingPdfMaker::specific, and HLT_25ns14e33_v1_cff::usePt.
Referenced by addInfo().