#include <MuonAnalysis/MuonAssociators/plugins/TriggerMatcherToHLTDebug.cc>
Public Member Functions | |
void | beginRun (const edm::Run &run, const edm::EventSetup &eventSetup) override |
void | produce (edm::Event &event, const edm::EventSetup &eventSetup) override |
TriggerMatcherToHLTDebug (const edm::ParameterSet &pset) | |
virtual | ~TriggerMatcherToHLTDebug () |
Destructor. More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef edm::AssociationMap < edm::OneToMany< std::vector < L2MuonTrajectorySeed > , std::vector < L2MuonTrajectorySeed > > > | SeedMap |
Private Member Functions | |
template<typename T > | |
void | storeValueMap (edm::Event &iEvent, const edm::Handle< edm::View< reco::Muon > > &handle, const std::vector< T > &values, const std::string &label) const |
Store extra information in a ValueMap. More... | |
Private Attributes | |
edm::InputTag | beamspotTag_ |
double | deltaR_ |
PropagateToMuon | l1matcher_ |
edm::InputTag | l1Tag_ |
double | max_Dr_L2 |
double | max_Dr_L3 |
double | max_Dz_L2 |
double | max_Dz_L3 |
double | max_Eta_L2 |
double | max_Eta_L3 |
std::string | metname |
int | min_N_L2 |
int | min_N_L3 |
int | min_Nhits_L2 |
int | min_Nhits_L3 |
double | min_Pt_L2 |
double | min_Pt_L3 |
int | minL1Quality_ |
double | nsigma_Pt_L2 |
double | nsigma_Pt_L3 |
edm::InputTag | seedMapTag_ |
edm::InputTag | tagTag_ |
edm::InputTag | theL2MuonsLabel |
edm::InputTag | theL2SeedsLabel |
edm::InputTag | theL3MuonsLabel |
edm::InputTag | theL3SeedsLabel |
edm::InputTag | theL3TkTracksLabel |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
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) |
Description: Matches RECO muons to Trigger ones using HLTDEBUG information. Muon is first matched to L1 using the PropagateToMuon tool from this same package, then all compatible L1s are examined and the corresponding L2 and L3 objects are searched using the references inside those objects.
Definition at line 74 of file TriggerMatcherToHLTDebug.cc.
|
private |
Definition at line 126 of file TriggerMatcherToHLTDebug.cc.
|
explicit |
Definition at line 144 of file TriggerMatcherToHLTDebug.cc.
References edm::ParameterSet::getParameter(), metname, theL2MuonsLabel, theL2SeedsLabel, theL3MuonsLabel, theL3SeedsLabel, and theL3TkTracksLabel.
|
virtual |
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 408 of file TriggerMatcherToHLTDebug.cc.
References PropagateToMuon::init(), and l1matcher_.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 200 of file TriggerMatcherToHLTDebug.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, beamspotTag_, deltaR(), deltaR_, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::TrackBase::dxy(), reco::TrackBase::dz(), reco::TrackBase::error(), PV3DBase< T, PVType, FrameType >::eta(), reco::TrackBase::eta(), event(), PropagateToMuon::extrapolate(), TrajectoryStateOnSurface::globalPosition(), i, edm::HandleBase::id(), edm::Ref< C, T, F >::id(), edm::HandleBase::isValid(), TrajectoryStateOnSurface::isValid(), edm::Ptr< T >::key(), edm::Ref< C, T, F >::key(), l1matcher_, l1Tag_, L2Muons_cfi::L2Muons, L3Muons_cfi::L3Muons, LogTrace, max_Dr_L2, max_Dr_L3, max_Dz_L2, max_Dz_L3, max_Eta_L2, max_Eta_L3, metname, min_Nhits_L2, min_Nhits_L3, min_Pt_L2, min_Pt_L3, RPCpg::mu, patZpeak::muons, nsigma_Pt_L2, nsigma_Pt_L3, reco::TrackBase::numberOfValidHits(), reco::TrackBase::parameter(), PV3DBase< T, PVType, FrameType >::phi(), reco::BeamSpot::position(), reco::TrackBase::pt(), L1MuGMTCand::quality(), seedMapTag_, edm::RefVector< C, T, F >::size(), tagTag_, theL2MuonsLabel, theL2SeedsLabel, theL3MuonsLabel, theL3SeedsLabel, and theL3TkTracksLabel.
|
private |
Store extra information in a ValueMap.
Definition at line 414 of file TriggerMatcherToHLTDebug.cc.
References edm::helper::Filler< Map >::fill(), patZpeak::handle, edm::helper::Filler< Map >::insert(), and edm::Event::put().
|
private |
Definition at line 100 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 94 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 89 of file TriggerMatcherToHLTDebug.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 88 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 104 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 113 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 105 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 114 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 102 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 111 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 91 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 101 of file TriggerMatcherToHLTDebug.cc.
|
private |
Definition at line 110 of file TriggerMatcherToHLTDebug.cc.
|
private |
Definition at line 103 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 112 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 106 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 115 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 97 of file TriggerMatcherToHLTDebug.cc.
|
private |
Definition at line 107 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 116 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 123 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 88 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 119 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 118 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 122 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 120 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 121 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().