#include <L3MuonCombinedRelativeIsolationProducer.h>
Public Member Functions | |
L3MuonCombinedRelativeIsolationProducer (const edm::ParameterSet &) | |
constructor with config More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Produce isolation maps. More... | |
virtual | ~L3MuonCombinedRelativeIsolationProducer () |
destructor More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
ParameterSet descriptions. More... | |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
reco::isodeposit::IsoDepositExtractor * | caloExtractor |
bool | optOutputIsoDeposits |
bool | printDebug |
bool | theApplyCutsORmaxNTracks |
apply or not the maxN cut on top of the sumPt (or nominall eff) < cuts More... | |
edm::InputTag | theCaloDepsLabel |
edm::EDGetTokenT < edm::ValueMap< float > > | theCaloDepsToken |
edm::ParameterSet | theConfig |
muonisolation::Cuts | theCuts |
int | theMaxNTracks |
edm::InputTag | theMuonCollectionLabel |
edm::EDGetTokenT < reco::RecoChargedCandidateCollection > | theMuonCollectionToken |
double | theTrackPt_Min |
reco::isodeposit::IsoDepositExtractor * | trkExtractor |
bool | useCaloIso |
flag to include or exclude calo iso from calculation More... | |
bool | useRhoCorrectedCaloDeps |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
Definition at line 22 of file L3MuonCombinedRelativeIsolationProducer.h.
L3MuonCombinedRelativeIsolationProducer::L3MuonCombinedRelativeIsolationProducer | ( | const edm::ParameterSet & | par | ) |
constructor with config
test cutsName only. The depositType is informational only (has not been used so far) [VK]
Definition at line 38 of file L3MuonCombinedRelativeIsolationProducer.cc.
References caloExtractor, edm::EDConsumerBase::consumesCollector(), L3NominalEfficiencyConfigurator::cuts(), reco::get(), edm::ParameterSet::getParameter(), LogDebug, LogTrace, optOutputIsoDeposits, muonisolation::Cuts::print(), AlCaHLTBitMon_QueryRunRegistry::string, theApplyCutsORmaxNTracks, theCaloDepsLabel, theCaloDepsToken, theConfig, theCuts, theMaxNTracks, theMuonCollectionLabel, theMuonCollectionToken, theTrackPt_Min, trkExtractor, useCaloIso, and useRhoCorrectedCaloDeps.
|
virtual |
destructor
Definition at line 120 of file L3MuonCombinedRelativeIsolationProducer.cc.
References caloExtractor, LogDebug, and trkExtractor.
|
static |
ParameterSet descriptions.
Definition at line 127 of file L3MuonCombinedRelativeIsolationProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_25ns14e33_v1_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Produce isolation maps.
Implements edm::stream::EDProducerBase.
Definition at line 188 of file L3MuonCombinedRelativeIsolationProducer.cc.
References caloExtractor, muonisolation::Cuts::CutSpec::conesize, prof2calltree::count, gather_cfg::cout, GOODCOLL_filter_cfg::cut, reco::isodeposit::IsoDepositExtractor::deposit(), reco::IsoDeposit::depositAndCountWithin(), reco::IsoDeposit::depositWithin(), muonisolation::Cuts::CutSpec::etaRange, edm::helper::Filler< Map >::fill(), i, edm::helper::Filler< Map >::insert(), muonisolation::Range< T >::max(), metname, muonisolation::Range< T >::min(), RPCpg::mu, patZpeak::muons, optOutputIsoDeposits, reco::IsoDeposit::print(), printDebug, query::result, AlCaHLTBitMon_QueryRunRegistry::string, theApplyCutsORmaxNTracks, theCaloDepsToken, theCuts, theMaxNTracks, theMuonCollectionLabel, theMuonCollectionToken, theTrackPt_Min, muonisolation::Cuts::CutSpec::threshold, trkExtractor, useCaloIso, useRhoCorrectedCaloDeps, and reco::IsoDeposit::veto().
|
private |
Definition at line 61 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), produce(), and ~L3MuonCombinedRelativeIsolationProducer().
|
private |
Definition at line 50 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
Definition at line 77 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by produce().
|
private |
apply or not the maxN cut on top of the sumPt (or nominall eff) < cuts
Definition at line 73 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
Definition at line 57 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer().
|
private |
Definition at line 58 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
Definition at line 40 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer().
|
private |
Definition at line 47 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
max number of tracks to allow in the sum count <= maxN
Definition at line 70 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
Definition at line 43 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
Definition at line 44 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
pt cut to consider track in sumPt after extracting iso deposit better split this off into a filter
Definition at line 66 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
Definition at line 62 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), produce(), and ~L3MuonCombinedRelativeIsolationProducer().
|
private |
flag to include or exclude calo iso from calculation
Definition at line 53 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().
|
private |
Definition at line 56 of file L3MuonCombinedRelativeIsolationProducer.h.
Referenced by L3MuonCombinedRelativeIsolationProducer(), and produce().