#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 () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 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::EDGetTokenT< reco::BeamSpot > | beamspotToken_ |
double | deltaR_ |
PropagateToMuon | l1matcher_ |
edm::EDGetTokenT < l1extra::L1MuonParticleCollection > | l1Token_ |
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::EDGetTokenT< SeedMap > | seedMapToken_ |
edm::EDGetTokenT< edm::View < reco::Muon > > | tagToken_ |
edm::EDGetTokenT < reco::RecoChargedCandidateCollection > | theL2MuonsToken_ |
edm::EDGetTokenT < L2MuonTrajectorySeedCollection > | theL2SeedsToken_ |
edm::EDGetTokenT < reco::RecoChargedCandidateCollection > | theL3MuonsToken_ |
edm::EDGetTokenT < L3MuonTrajectorySeedCollection > | theL3SeedsToken_ |
edm::EDGetTokenT < reco::TrackCollection > | theL3TkTracksToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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::EDProducer | |
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) |
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 72 of file TriggerMatcherToHLTDebug.cc.
|
private |
Definition at line 86 of file TriggerMatcherToHLTDebug.cc.
|
explicit |
Definition at line 141 of file TriggerMatcherToHLTDebug.cc.
References edm::ParameterSet::getParameter(), metname, theL2MuonsToken_, theL2SeedsToken_, theL3MuonsToken_, theL3SeedsToken_, and theL3TkTracksToken_.
|
virtual |
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 405 of file TriggerMatcherToHLTDebug.cc.
References PropagateToMuon::init(), and l1matcher_.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 197 of file TriggerMatcherToHLTDebug.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, beamspotToken_, 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(), TrajectoryStateOnSurface::isValid(), edm::HandleBase::isValid(), edm::Ptr< T >::key(), edm::Ref< C, T, F >::key(), l1matcher_, l1Token_, 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(), HLT_FULL_cff::quality, seedMapToken_, edm::RefVector< C, T, F >::size(), tagToken_, theL2MuonsToken_, theL2SeedsToken_, theL3MuonsToken_, theL3SeedsToken_, and theL3TkTracksToken_.
|
private |
Store extra information in a ValueMap.
Definition at line 411 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 101 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 95 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 90 of file TriggerMatcherToHLTDebug.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 89 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 106 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 115 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
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 92 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 102 of file TriggerMatcherToHLTDebug.cc.
|
private |
Definition at line 111 of file TriggerMatcherToHLTDebug.cc.
|
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 107 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 116 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 98 of file TriggerMatcherToHLTDebug.cc.
|
private |
Definition at line 108 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 117 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 124 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 88 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce().
|
private |
Definition at line 120 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 119 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 123 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 121 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().
|
private |
Definition at line 122 of file TriggerMatcherToHLTDebug.cc.
Referenced by produce(), and TriggerMatcherToHLTDebug().