#include <L3MuonIsolationProducer.h>
Public Member Functions | |
L3MuonIsolationProducer (const edm::ParameterSet &) | |
constructor with config More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Produce isolation maps. More... | |
virtual | ~L3MuonIsolationProducer () |
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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
double | optOutputIsoDeposits |
bool | theApplyCutsORmaxNTracks |
apply or not the maxN cut on top of the sumPt (or nominall eff) < cuts More... | |
edm::ParameterSet | theConfig |
muonisolation::Cuts | theCuts |
reco::isodeposit::IsoDepositExtractor * | theExtractor |
int | theMaxNTracks |
edm::InputTag | theMuonCollectionLabel |
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > | theMuonCollectionToken |
double | theTrackPt_Min |
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 |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 20 of file L3MuonIsolationProducer.h.
L3MuonIsolationProducer::L3MuonIsolationProducer | ( | const edm::ParameterSet & | par | ) |
constructor with config
get min pt for the track to go into sumPt
test cutsName only. The depositType is informational only (has not been used so far) [VK]
Definition at line 36 of file L3MuonIsolationProducer.cc.
References edm::EDConsumerBase::consumesCollector(), L3NominalEfficiencyConfigurator::cuts(), reco::get(), edm::ParameterSet::getParameter(), LogDebug, LogTrace, optOutputIsoDeposits, muonisolation::Cuts::print(), AlCaHLTBitMon_QueryRunRegistry::string, theApplyCutsORmaxNTracks, theConfig, theCuts, theExtractor, theMaxNTracks, theMuonCollectionLabel, theMuonCollectionToken, and theTrackPt_Min.
|
virtual |
destructor
Definition at line 89 of file L3MuonIsolationProducer.cc.
References LogDebug, and theExtractor.
|
overridevirtual |
Produce isolation maps.
Definition at line 94 of file L3MuonIsolationProducer.cc.
References KineDebug3::count(), TkAlMuonSelectors_cfi::cut, reco::isodeposit::IsoDepositExtractor::deposit(), reco::IsoDeposit::depositAndCountWithin(), symbols::deps, reco::TrackBase::eta(), edm::helper::Filler< Map >::fill(), mps_fire::i, edm::helper::Filler< Map >::insert(), LogDebug, LogTrace, metname, eostools::move(), RPCpg::mu, electronCleaner_cfi::muons, optOutputIsoDeposits, reco::IsoDeposit::print(), mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, theApplyCutsORmaxNTracks, theCuts, theExtractor, theMaxNTracks, theMuonCollectionLabel, theMuonCollectionToken, theTrackPt_Min, reco::IsoDeposit::veto(), and boostedElectronIsolation_cff::vetos.
|
private |
Definition at line 45 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), and produce().
|
private |
apply or not the maxN cut on top of the sumPt (or nominall eff) < cuts
Definition at line 59 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), and produce().
|
private |
Definition at line 35 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer().
|
private |
Definition at line 42 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), and produce().
|
private |
Definition at line 48 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), produce(), and ~L3MuonIsolationProducer().
|
private |
max number of tracks to allow in the sum count <= maxN
Definition at line 56 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), and produce().
|
private |
Definition at line 38 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), and produce().
|
private |
Definition at line 39 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), and produce().
|
private |
pt cut to consider track in sumPt after extracting iso deposit better split this off into a filter
Definition at line 52 of file L3MuonIsolationProducer.h.
Referenced by L3MuonIsolationProducer(), and produce().