![]() |
![]() |
Slimmer of PAT METs. More...
Classes | |
class | OneMETShift |
Private Member Functions | |
void | maybeReadShifts (const edm::ParameterSet &basePSet, const std::string &name, pat::MET::METCorrectionType level, bool readFromMiniAOD=false) |
Private Attributes | |
const bool | onMiniAOD_ |
std::vector< OneMETShift > | shifts_ |
const edm::EDGetTokenT< pat::METCollection > | src_ |
Additional Inherited Members | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Slimmer of PAT METs.
Definition at line 19 of file PATMETSlimmer.cc.
|
explicit |
Definition at line 53 of file PATMETSlimmer.cc.
References pat::MET::Calo, maybeReadShifts(), pat::MET::None, onMiniAOD_, pat::MET::Smear, pat::MET::T0, pat::MET::T1, pat::MET::TXY, pat::MET::TXYForRaw, pat::MET::TXYForT01, pat::MET::TXYForT01Smear, and pat::MET::TXYForT1Smear.
|
inlinevirtual |
|
private |
Definition at line 72 of file PATMETSlimmer.cc.
References edm::EDConsumerBase::consumesCollector(), pat::MET::ElectronEnDown, pat::MET::ElectronEnUp, Exception, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), pat::MET::JetEnDown, pat::MET::JetEnUp, pat::MET::JetResDown, pat::MET::JetResUp, pat::MET::MuonEnDown, pat::MET::MuonEnUp, dataset::name, pat::MET::NoShift, pat::MET::PhotonEnDown, pat::MET::PhotonEnUp, shifts_, pat::MET::Smear, pat::MET::T1, pat::MET::TauEnDown, pat::MET::TauEnUp, pat::MET::UnclusteredEnDown, and pat::MET::UnclusteredEnUp.
Referenced by PATMETSlimmer().
|
virtual |
Definition at line 139 of file PATMETSlimmer.cc.
References edm::Event::getByToken(), RazorAnalyzer::met, eostools::move(), MillePedeFileConverter_cfg::out, edm::Event::put(), pat::PATMETSlimmer::OneMETShift::shift, shifts_, TrackRefitter_38T_cff::src, and src_.
Referenced by ~PATMETSlimmer().
|
private |
Definition at line 48 of file PATMETSlimmer.cc.
Referenced by PATMETSlimmer().
|
private |
Definition at line 46 of file PATMETSlimmer.cc.
Referenced by maybeReadShifts(), and produce().
|
private |
Definition at line 45 of file PATMETSlimmer.cc.
Referenced by produce().