#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 39 of file GenSpecificAlgo.h.
|
private |
Definition at line 40 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 genMetCalo_cfi::applyFiducialThresholdForFractions, fillCommonMETData(), HepMCValidationHelper::genMet(), distPFMET_cfi::globalThreshold, BTaggingMonitor_cfi::met, mkSpecificGenMETData(), p4, ecalTrigSettings_cff::particles, timingPdfMaker::specific, HLT_FULL_cff::usePt, and extraflags_cff::vtx.
|
private |
Definition at line 36 of file GenSpecificAlgo.cc.
References Abs(), funct::cos(), MillePedeFileConverter_cfg::e, mps_fire::end, EgHLTOffHistBins_cfi::et, distPFMET_cfi::globalThreshold, BTaggingMonitor_cfi::met, ecalTrigSettings_cff::particles, phi, funct::sin(), mathSSE::sqrt(), theta(), and HLT_FULL_cff::usePt.
Referenced by addInfo().
|
private |
Definition at line 82 of file GenSpecificAlgo.cc.
References Abs(), genMetCalo_cfi::applyFiducialThresholdForFractions, mps_fire::end, distPFMET_cfi::globalThreshold, ecalTrigSettings_cff::particles, EgammaValidation_cff::pdgId, DiDispStaMuonMonitor_cfi::pt, timingPdfMaker::specific, and HLT_FULL_cff::usePt.
Referenced by addInfo().