#include <GEMHitAssociator.h>
Public Types | |
typedef edm::DetSetVector< GEMDigiSimLink > | DigiSimLinks |
typedef edm::DetSet< GEMDigiSimLink > | LayerLinks |
typedef std::pair< uint32_t, EncodedEventId > | SimHitIdpr |
Public Member Functions | |
std::vector< SimHitIdpr > | associateRecHit (const GEMRecHit *gemrechit) const |
GEMHitAssociator (const edm::Event &e, const edm::EventSetup &eventSetup, const edm::ParameterSet &conf) | |
GEMHitAssociator (const edm::ParameterSet &, edm::ConsumesCollector &&ic) | |
void | initEvent (const edm::Event &, const edm::EventSetup &) |
~GEMHitAssociator () | |
Private Attributes | |
std::map< unsigned int, edm::PSimHitContainer > | _SimHitMap |
bool | crossingframe |
edm::InputTag | GEMdigisimlinkTag |
edm::EDGetTokenT< edm::DetSetVector< GEMDigiSimLink > > | GEMdigisimlinkToken_ |
edm::InputTag | GEMsimhitsTag |
edm::EDGetTokenT< edm::PSimHitContainer > | GEMsimhitsToken_ |
edm::InputTag | GEMsimhitsXFTag |
edm::EDGetTokenT< CrossingFrame< PSimHit > > | GEMsimhitsXFToken_ |
const DigiSimLinks * | theDigiSimLinks |
bool | useGEMs_ |
Definition at line 33 of file GEMHitAssociator.h.
Definition at line 35 of file GEMHitAssociator.h.
Definition at line 36 of file GEMHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> GEMHitAssociator::SimHitIdpr |
Definition at line 37 of file GEMHitAssociator.h.
GEMHitAssociator::GEMHitAssociator | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | ic | ||
) |
Definition at line 7 of file GEMHitAssociator.cc.
References crossingframe, GEMdigisimlinkTag, GEMdigisimlinkToken_, GEMsimhitsTag, GEMsimhitsToken_, GEMsimhitsXFTag, GEMsimhitsXFToken_, and edm::InputTag::label().
GEMHitAssociator::GEMHitAssociator | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 23 of file GEMHitAssociator.cc.
References MillePedeFileConverter_cfg::e, and initEvent().
|
inline |
Definition at line 46 of file GEMHitAssociator.h.
std::vector< GEMHitAssociator::SimHitIdpr > GEMHitAssociator::associateRecHit | ( | const GEMRecHit * | gemrechit | ) | const |
Definition at line 71 of file GEMHitAssociator.cc.
References GEMRecHit::clusterSize(), edm::DetSetVector< T >::end(), spr::find(), edm::DetSetVector< T >::find(), GEMRecHit::firstClusterStrip(), GEMRecHit::gemId(), mps_fire::i, muonTagProbeFilters_cff::matched, theDigiSimLinks, and useGEMs_.
Referenced by MuonAssociatorByHitsHelper::getMatchedIds().
void GEMHitAssociator::initEvent | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) |
Definition at line 35 of file GEMHitAssociator.cc.
References _SimHitMap, crossingframe, TTClusterAssociation_cfi::digiSimLinks, MillePedeFileConverter_cfg::e, GEMdigisimlinkTag, GEMsimhitsTag, GEMsimhitsXFTag, edm::InputTag::label(), LogTrace, edm::Handle< T >::product(), theDigiSimLinks, and useGEMs_.
Referenced by GEMHitAssociator().
|
private |
Definition at line 63 of file GEMHitAssociator.h.
Referenced by initEvent().
|
private |
Definition at line 54 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator(), and initEvent().
|
private |
Definition at line 52 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator(), and initEvent().
|
private |
Definition at line 61 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator().
|
private |
Definition at line 56 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator(), and initEvent().
|
private |
Definition at line 60 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator().
|
private |
Definition at line 57 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator(), and initEvent().
|
private |
Definition at line 59 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator().
|
private |
Definition at line 51 of file GEMHitAssociator.h.
Referenced by associateRecHit(), and initEvent().
|
private |
Definition at line 55 of file GEMHitAssociator.h.
Referenced by associateRecHit(), and initEvent().