#include <GEMHitAssociator.h>
Classes | |
class | Config |
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 Config &config) | |
Private Member Functions | |
void | initEvent (const edm::Event &) |
Private Attributes | |
std::map< unsigned int, edm::PSimHitContainer > | _SimHitMap |
const Config & | theConfig |
const DigiSimLinks * | theDigiSimLinks |
Definition at line 33 of file GEMHitAssociator.h.
Definition at line 54 of file GEMHitAssociator.h.
Definition at line 55 of file GEMHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> GEMHitAssociator::SimHitIdpr |
Definition at line 56 of file GEMHitAssociator.h.
GEMHitAssociator::GEMHitAssociator | ( | const edm::Event & | e, |
const Config & | config | ||
) |
Definition at line 23 of file GEMHitAssociator.cc.
References initEvent().
std::vector< GEMHitAssociator::SimHitIdpr > GEMHitAssociator::associateRecHit | ( | const GEMRecHit * | gemrechit | ) | const |
Definition at line 57 of file GEMHitAssociator.cc.
References GEMRecHit::clusterSize(), edm::DetSetVector< T >::end(), spr::find(), edm::DetSetVector< T >::find(), GEMRecHit::firstClusterStrip(), GEMRecHit::gemId(), mps_fire::i, theConfig, theDigiSimLinks, and GEMHitAssociator::Config::useGEMs_.
Referenced by MuonAssociatorByHitsHelper::getMatchedIds().
|
private |
Definition at line 25 of file GEMHitAssociator.cc.
References _SimHitMap, GEMHitAssociator::Config::crossingframe, GEMHitAssociator::Config::GEMdigisimlinkTag, GEMHitAssociator::Config::GEMdigisimlinkToken_, GEMHitAssociator::Config::GEMsimhitsTag, GEMHitAssociator::Config::GEMsimhitsToken_, GEMHitAssociator::Config::GEMsimhitsXFTag, GEMHitAssociator::Config::GEMsimhitsXFToken_, edm::Event::get(), edm::InputTag::label(), LogTrace, theConfig, theDigiSimLinks, and GEMHitAssociator::Config::useGEMs_.
Referenced by GEMHitAssociator().
|
private |
Definition at line 68 of file GEMHitAssociator.h.
Referenced by initEvent().
|
private |
Definition at line 66 of file GEMHitAssociator.h.
Referenced by associateRecHit(), and initEvent().
|
private |
Definition at line 67 of file GEMHitAssociator.h.
Referenced by associateRecHit(), and initEvent().