#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) |
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 () |
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.
Implements edm::stream::EDProducerBase.
Definition at line 94 of file L3MuonIsolationProducer.cc.
References muonisolation::Cuts::CutSpec::conesize, prof2calltree::count, GOODCOLL_filter_cfg::cut, reco::isodeposit::IsoDepositExtractor::deposit(), reco::IsoDeposit::depositAndCountWithin(), reco::TrackBase::eta(), edm::helper::Filler< Map >::fill(), i, edm::helper::Filler< Map >::insert(), LogDebug, LogTrace, metname, RPCpg::mu, patZpeak::muons, optOutputIsoDeposits, reco::IsoDeposit::print(), query::result, AlCaHLTBitMon_QueryRunRegistry::string, theApplyCutsORmaxNTracks, theCuts, theExtractor, theMaxNTracks, theMuonCollectionLabel, theMuonCollectionToken, theTrackPt_Min, muonisolation::Cuts::CutSpec::threshold, relativeConstraints::value, and reco::IsoDeposit::veto().
|
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().