#include <MuonCaloCleanerAllCrossed.h>
Private Types | |
typedef std::map< uint32_t, float > | detIdToFloatMap |
Private Member Functions | |
void | fillEnergyDepositMap (edm::Event &, const edm::EventSetup &, const reco::Candidate *, detIdToFloatMap &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
edm::InputTag | srcESrecHits_ |
edm::InputTag | srcSelectedMuons_ |
TrackDetectorAssociator | trackAssociator_ |
TrackAssociatorParameters | trackAssociatorParameters_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Produce collections of calorimeter recHits from which energy deposits of muons are subtracted.
This module attributes to the muon all energy deposited in calorimeter cells crossed by the muon.
WARNING: this module is to be used only for calorimeter types for which the assumption that no other particle deposited energy close to the muon track is a good approximation (e.g. HO)
Definition at line 37 of file MuonCaloCleanerAllCrossed.h.
|
private |
Definition at line 46 of file MuonCaloCleanerAllCrossed.h.
|
explicit |
Definition at line 18 of file MuonCaloCleanerAllCrossed.cc.
References edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), trackAssociator_, trackAssociatorParameters_, and TrackDetectorAssociator::useDefaultPropagator().
MuonCaloCleanerAllCrossed::~MuonCaloCleanerAllCrossed | ( | ) |
Definition at line 32 of file MuonCaloCleanerAllCrossed.cc.
|
private |
Definition at line 53 of file MuonCaloCleanerAllCrossed.cc.
References TrackDetMatchInfo::crossedEcalRecHits, TrackDetMatchInfo::crossedHcalRecHits, TrackDetMatchInfo::crossedHORecHits, TrackDetMatchInfo::crossedPreshowerIds, edm::Event::getByLabel(), getTrackDetMatchInfo(), srcESrecHits_, trackAssociator_, and trackAssociatorParameters_.
Referenced by produce().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 37 of file MuonCaloCleanerAllCrossed.cc.
References fillEnergyDepositMap(), getSelMuons(), getTheMuMinus(), getTheMuPlus(), edm::RefToBase< T >::isNonnull(), edm::Event::put(), and srcSelectedMuons_.
|
private |
Definition at line 50 of file MuonCaloCleanerAllCrossed.h.
Referenced by fillEnergyDepositMap().
|
private |
Definition at line 49 of file MuonCaloCleanerAllCrossed.h.
Referenced by produce().
|
private |
Definition at line 52 of file MuonCaloCleanerAllCrossed.h.
Referenced by fillEnergyDepositMap(), and MuonCaloCleanerAllCrossed().
|
private |
Definition at line 53 of file MuonCaloCleanerAllCrossed.h.
Referenced by fillEnergyDepositMap(), and MuonCaloCleanerAllCrossed().