#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) |
std::set< RPCDigiSimLink > | findRPCDigiSimLink (uint32_t rpcDetId, int strip, int bx) |
RPCHitAssociator (const edm::Event &, const edm::EventSetup &, const edm::ParameterSet &) | |
~RPCHitAssociator () | |
Private Attributes | |
std::map< unsigned int, edm::PSimHitContainer > | _SimHitMap |
edm::Handle< edm::DetSetVector < RPCDigiSimLink > > | _thelinkDigis |
bool | crossingframe |
edm::InputTag | RPCdigisimlinkTag |
edm::InputTag | RPCsimhitsTag |
edm::InputTag | RPCsimhitsXFTag |
Definition at line 31 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::Event & | e, |
const edm::EventSetup & | eventSetup, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 6 of file RPCHitAssociator.cc.
References _SimHitMap, _thelinkDigis, MixCollection< T >::begin(), crossingframe, edm::Event::getByLabel(), edm::InputTag::label(), LogTrace, edm::Handle< T >::product(), RPCdigisimlinkTag, RPCsimhitsTag, and RPCsimhitsXFTag.
|
inline |
Definition at line 41 of file RPCHitAssociator.h.
std::vector< RPCHitAssociator::SimHitIdpr > RPCHitAssociator::associateRecHit | ( | const TrackingRecHit & | hit | ) |
Definition at line 54 of file RPCHitAssociator.cc.
References RPCRecHit::BunchX(), RPCRecHit::clusterSize(), spr::find(), findRPCDigiSimLink(), RPCRecHit::firstClusterStrip(), i, DetId::rawId(), and RPCRecHit::rpcId().
Referenced by MuonAssociatorByHits::getMatchedIds().
std::set< RPCDigiSimLink > RPCHitAssociator::findRPCDigiSimLink | ( | uint32_t | rpcDetId, |
int | strip, | ||
int | bx | ||
) |
Definition at line 86 of file RPCHitAssociator.cc.
References _thelinkDigis, edm::DetSetVector< T >::begin(), cond::rpcobgas::detid, and edm::DetSetVector< T >::end().
Referenced by associateRecHit().
|
private |
Definition at line 56 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().
|
private |
Definition at line 49 of file RPCHitAssociator.h.
Referenced by findRPCDigiSimLink(), and RPCHitAssociator().
|
private |
Definition at line 52 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().
|
private |
Definition at line 50 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().
|
private |
Definition at line 53 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().
|
private |
Definition at line 54 of file RPCHitAssociator.h.
Referenced by RPCHitAssociator().