#include <RPCHitAssociator.h>
Classes | |
class | Config |
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 |
RPCHitAssociator (const edm::Event &e, const Config &conf) | |
Private Member Functions | |
void | initEvent (const edm::Event &) |
Private Attributes | |
std::map< unsigned int, edm::PSimHitContainer > | _SimHitMap |
edm::Handle< edm::DetSetVector < RPCDigiSimLink > > | _thelinkDigis |
Config const & | theConfig |
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::Event & | e, |
const Config & | conf | ||
) |
std::vector< RPCHitAssociator::SimHitIdpr > RPCHitAssociator::associateRecHit | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 56 of file RPCHitAssociator.cc.
References RPCRecHit::BunchX(), makePileupJSON::bx, RPCRecHit::clusterSize(), spr::find(), findRPCDigiSimLink(), RPCRecHit::firstClusterStrip(), mps_fire::i, electronStore::links, LogTrace, 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 89 of file RPCHitAssociator.cc.
References _thelinkDigis, edm::DetSetVector< T >::begin(), edm::DetSetVector< T >::end(), electronStore::links, and str.
Referenced by associateRecHit().
|
private |
Definition at line 24 of file RPCHitAssociator.cc.
References _SimHitMap, _thelinkDigis, RPCHitAssociator::Config::crossingframe, edm::Event::get(), edm::Event::getHandle(), edm::InputTag::label(), LogTrace, RPCHitAssociator::Config::RPCdigisimlinkTag, RPCHitAssociator::Config::RPCdigisimlinkToken_, RPCHitAssociator::Config::RPCsimhitsTag, RPCHitAssociator::Config::RPCsimhitsToken_, RPCHitAssociator::Config::RPCsimhitsXFTag, RPCHitAssociator::Config::RPCsimhitsXFToken_, and theConfig.
Referenced by RPCHitAssociator().
|
private |
Definition at line 68 of file RPCHitAssociator.h.
Referenced by initEvent().
|
private |
Definition at line 67 of file RPCHitAssociator.h.
Referenced by findRPCDigiSimLink(), and initEvent().
|
private |
Definition at line 66 of file RPCHitAssociator.h.
Referenced by initEvent().