#include <MuonCaloDistanceProducer.h>
Private Types | |
typedef std::map< uint32_t, float > | detIdToFloatMap |
Private Member Functions | |
void | fillDistanceMap (edm::Event &, const edm::EventSetup &, const reco::Candidate *, detIdToFloatMap &, detIdToFloatMap &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
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) |
Compute distance traversed by muon through calorimeter cells.
NOTE: The output of this class is used as input for MuonCaloCleanerByDistance.
Definition at line 30 of file MuonCaloDistanceProducer.h.
|
private |
Definition at line 39 of file MuonCaloDistanceProducer.h.
|
explicit |
Definition at line 24 of file MuonCaloDistanceProducer.cc.
References edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), trackAssociator_, trackAssociatorParameters_, and TrackDetectorAssociator::useDefaultPropagator().
MuonCaloDistanceProducer::~MuonCaloDistanceProducer | ( | ) |
Definition at line 39 of file MuonCaloDistanceProducer.cc.
|
private |
Definition at line 74 of file MuonCaloDistanceProducer.cc.
References TrackDetMatchInfo::crossedEcalIds, TrackDetMatchInfo::crossedEcalRecHits, TrackDetMatchInfo::crossedHcalIds, TrackDetMatchInfo::crossedHcalRecHits, TrackDetMatchInfo::crossedHOIds, TrackDetMatchInfo::crossedHORecHits, TrackDetMatchInfo::crossedPreshowerIds, CaloRecHit::detid(), CaloRecHit::energy(), edm::EventSetup::get(), TrackDetectorAssociator::getCachedTrajector(), CachedTrajectory::getEcalTrajectory(), CaloSubdetectorGeometry::getGeometry(), CachedTrajectory::getHcalTrajectory(), CachedTrajectory::getHOTrajectory(), CachedTrajectory::getPreshowerTrajectory(), getTrackDetMatchInfo(), CaloCellGeometry::inside(), point, DetId::rawId(), mathSSE::sqrt(), trackAssociator_, trackAssociatorParameters_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 44 of file MuonCaloDistanceProducer.cc.
References fillDistanceMap(), getSelMuons(), getTheMuMinus(), getTheMuPlus(), edm::RefToBase< T >::isNonnull(), patZpeak::muons, edm::Event::put(), and srcSelectedMuons_.
|
private |
Definition at line 42 of file MuonCaloDistanceProducer.h.
Referenced by produce().
|
private |
Definition at line 44 of file MuonCaloDistanceProducer.h.
Referenced by fillDistanceMap(), and MuonCaloDistanceProducer().
|
private |
Definition at line 45 of file MuonCaloDistanceProducer.h.
Referenced by fillDistanceMap(), and MuonCaloDistanceProducer().