#include <GEMHitAssociator.h>
Public Types | |
typedef edm::DetSetVector < StripDigiSimLink > | DigiSimLinks |
typedef edm::DetSet < StripDigiSimLink > | LayerLinks |
typedef std::pair< uint32_t, EncodedEventId > | SimHitIdpr |
Public Member Functions | |
std::vector< SimHitIdpr > | associateRecHit (const TrackingRecHit &hit) const |
GEMHitAssociator (const edm::ParameterSet &, edm::ConsumesCollector &&ic) | |
GEMHitAssociator (const edm::Event &e, const edm::EventSetup &eventSetup, const edm::ParameterSet &conf) | |
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 < StripDigiSimLink > > | 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 32 of file GEMHitAssociator.h.
Definition at line 36 of file GEMHitAssociator.h.
Definition at line 37 of file GEMHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> GEMHitAssociator::SimHitIdpr |
Definition at line 38 of file GEMHitAssociator.h.
GEMHitAssociator::GEMHitAssociator | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | ic | ||
) |
Definition at line 6 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 24 of file GEMHitAssociator.cc.
References initEvent().
|
inline |
Definition at line 47 of file GEMHitAssociator.h.
std::vector< GEMHitAssociator::SimHitIdpr > GEMHitAssociator::associateRecHit | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 82 of file GEMHitAssociator.cc.
References GEMRecHit::clusterSize(), edm::DetSetVector< T >::end(), spr::find(), edm::DetSetVector< T >::find(), GEMRecHit::firstClusterStrip(), GEMRecHit::gemId(), i, 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, GEMdigisimlinkTag, GEMsimhitsTag, GEMsimhitsXFTag, edm::Event::getByLabel(), edm::InputTag::label(), LogTrace, edm::Handle< T >::product(), theDigiSimLinks, and useGEMs_.
Referenced by GEMHitAssociator().
|
private |
Definition at line 65 of file GEMHitAssociator.h.
Referenced by initEvent().
|
private |
Definition at line 56 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator(), and initEvent().
|
private |
Definition at line 54 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator(), and initEvent().
|
private |
Definition at line 63 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator().
|
private |
Definition at line 58 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator(), and initEvent().
|
private |
Definition at line 62 of file GEMHitAssociator.h.
Referenced by GEMHitAssociator().
|
private |
Definition at line 59 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 53 of file GEMHitAssociator.h.
Referenced by associateRecHit(), and initEvent().
|
private |
Definition at line 57 of file GEMHitAssociator.h.
Referenced by associateRecHit(), and initEvent().