#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 | ||
) |
Definition at line 22 of file RPCHitAssociator.cc.
References MillePedeFileConverter_cfg::e, and initEvent().
std::vector< RPCHitAssociator::SimHitIdpr > RPCHitAssociator::associateRecHit | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 56 of file RPCHitAssociator.cc.
References RPCRecHit::BunchX(), nano_mu_digi_cff::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 89 of file RPCHitAssociator.cc.
References _thelinkDigis, edm::DetSetVector< T >::begin(), nano_mu_digi_cff::bx, edm::DetSetVector< T >::end(), electronStore::links, str, and nano_mu_digi_cff::strip.
Referenced by associateRecHit().
|
private |
Definition at line 24 of file RPCHitAssociator.cc.
References _SimHitMap, _thelinkDigis, RPCHitAssociator::Config::crossingframe, MillePedeFileConverter_cfg::e, 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().