#include <RPCHitAssociator.h>
Public Types | |
typedef edm::DetSetVector< RPCDigiSimLink > | RPCDigiSimLinks |
typedef std::pair< uint32_t, EncodedEventId > | SimHitIdpr |
Public Member Functions | |
std::vector< SimHitIdpr > | associateRecHit (const TrackingRecHit &hit) const |
std::set< RPCDigiSimLink > | findRPCDigiSimLink (uint32_t rpcDetId, int strip, int bx) const |
void | initEvent (const edm::Event &, const edm::EventSetup &) |
RPCHitAssociator (const edm::Event &e, const edm::EventSetup &eventSetup, const edm::ParameterSet &conf) | |
RPCHitAssociator (const edm::ParameterSet &, edm::ConsumesCollector &&ic) | |
~RPCHitAssociator () | |
Private Attributes | |
std::map< unsigned int, edm::PSimHitContainer > | _SimHitMap |
edm::Handle< edm::DetSetVector< RPCDigiSimLink > > | _thelinkDigis |
bool | crossingframe |
edm::InputTag | RPCdigisimlinkTag |
edm::EDGetTokenT< edm::DetSetVector< RPCDigiSimLink > > | RPCdigisimlinkToken_ |
edm::InputTag | RPCsimhitsTag |
edm::EDGetTokenT< edm::PSimHitContainer > | RPCsimhitsToken_ |
edm::InputTag | RPCsimhitsXFTag |
edm::EDGetTokenT< CrossingFrame< PSimHit > > | RPCsimhitsXFToken_ |
Definition at line 32 of file RPCHitAssociator.h.
Definition at line 34 of file RPCHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> RPCHitAssociator::SimHitIdpr |
Definition at line 35 of file RPCHitAssociator.h.
RPCHitAssociator::RPCHitAssociator | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | ic | ||
) |
Definition at line 6 of file RPCHitAssociator.cc.
References crossingframe, edm::InputTag::label(), RPCdigisimlinkTag, RPCdigisimlinkToken_, RPCsimhitsTag, RPCsimhitsToken_, RPCsimhitsXFTag, and RPCsimhitsXFToken_.
RPCHitAssociator::RPCHitAssociator | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 21 of file RPCHitAssociator.cc.
References MillePedeFileConverter_cfg::e, options_cfi::eventSetup, and initEvent().
|
inline |
Definition at line 44 of file RPCHitAssociator.h.
std::vector< RPCHitAssociator::SimHitIdpr > RPCHitAssociator::associateRecHit | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 68 of file RPCHitAssociator.cc.
References RPCRecHit::BunchX(), simKBmtfDigis_cfi::bx, RPCRecHit::clusterSize(), spr::find(), findRPCDigiSimLink(), RPCRecHit::firstClusterStrip(), mps_fire::i, electronStore::links, LogTrace, muonTagProbeFilters_cff::matched, DetId::rawId(), and RPCRecHit::rpcId().
Referenced by MuonAssociatorByHitsHelper::getMatchedIds().
std::set< RPCDigiSimLink > RPCHitAssociator::findRPCDigiSimLink | ( | uint32_t | rpcDetId, |
int | strip, | ||
int | bx | ||
) | const |
Definition at line 101 of file RPCHitAssociator.cc.
References _thelinkDigis, edm::DetSetVector< T >::begin(), simKBmtfDigis_cfi::bx, edm::DetSetVector< T >::end(), electronStore::links, str, and digitizers_cfi::strip.
Referenced by associateRecHit().
void RPCHitAssociator::initEvent | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) |
Definition at line 32 of file RPCHitAssociator.cc.
References _SimHitMap, _thelinkDigis, crossingframe, MillePedeFileConverter_cfg::e, edm::InputTag::label(), LogTrace, edm::Handle< T >::product(), RPCdigisimlinkTag, RPCsimhitsTag, and RPCsimhitsXFTag.
Referenced by RPCHitAssociator().
|
private |
Definition at line 62 of file RPCHitAssociator.h.
Referenced by initEvent().
|
private |
Definition at line 51 of file RPCHitAssociator.h.
Referenced by findRPCDigiSimLink(), and initEvent().
|
private |
Definition at line 54 of file RPCHitAssociator.h.
Referenced by initEvent(), and RPCHitAssociator().
|
private |
Definition at line 52 of file RPCHitAssociator.h.
Referenced by initEvent(), and RPCHitAssociator().
|
private |
Definition at line 60 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().
|
private |
Definition at line 55 of file RPCHitAssociator.h.
Referenced by initEvent(), and RPCHitAssociator().
|
private |
Definition at line 59 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().
|
private |
Definition at line 56 of file RPCHitAssociator.h.
Referenced by initEvent(), and RPCHitAssociator().
|
private |
Definition at line 58 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().