#include <DTHitAssociator.h>
Classes | |
class | Config |
Public Types | |
typedef std::map< DTWireId, std::vector< DTDigi > > | DigiMap |
typedef std::map< DTWireId, std::vector< DTDigiSimLink > > | LinksMap |
typedef std::pair< PSimHit, bool > | PSimHit_withFlag |
typedef std::map< DTWireId, std::vector< DTRecHit1DPair > > | RecHitMap |
typedef std::pair< uint32_t, EncodedEventId > | SimHitIdpr |
typedef std::map< DTWireId, std::vector< PSimHit_withFlag > > | SimHitMap |
Public Member Functions | |
std::vector< SimHitIdpr > | associateDTHitId (const DTRecHit1D *dtrechit) const |
std::vector< PSimHit > | associateHit (const TrackingRecHit &hit) const |
std::vector< SimHitIdpr > | associateHitId (const TrackingRecHit &hit) const |
DTHitAssociator (const edm::Event &, const edm::EventSetup &, const Config &, bool printRtS) | |
Public Attributes | |
DigiMap | mapOfDigi |
LinksMap | mapOfLinks |
RecHitMap | mapOfRecHit |
SimHitMap | mapOfSimHit |
Private Member Functions | |
void | initEvent (const edm::Event &, const edm::EventSetup &) |
bool | SimHitOK (const edm::ESHandle< DTGeometry > &, const PSimHit &) |
Private Attributes | |
Config const & | config_ |
bool | printRtS |
Definition at line 25 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<DTDigi> > DTHitAssociator::DigiMap |
Definition at line 31 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<DTDigiSimLink> > DTHitAssociator::LinksMap |
Definition at line 32 of file DTHitAssociator.h.
typedef std::pair<PSimHit, bool> DTHitAssociator::PSimHit_withFlag |
Definition at line 28 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<DTRecHit1DPair> > DTHitAssociator::RecHitMap |
Definition at line 30 of file DTHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> DTHitAssociator::SimHitIdpr |
Definition at line 27 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<PSimHit_withFlag> > DTHitAssociator::SimHitMap |
Definition at line 29 of file DTHitAssociator.h.
DTHitAssociator::DTHitAssociator | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const Config & | conf, | ||
bool | printRtS | ||
) |
Definition at line 53 of file DTHitAssociator.cc.
References initEvent().
std::vector< DTHitAssociator::SimHitIdpr > DTHitAssociator::associateDTHitId | ( | const DTRecHit1D * | dtrechit | ) | const |
Definition at line 267 of file DTHitAssociator.cc.
References DTHitAssociator::Config::associatorByWire, config_, DTRecHit1D::digiTime(), PSimHit::eventId(), newFWLiteAna::found, LogTrace, mapOfLinks, mapOfSimHit, PSimHit::trackId(), and DTRecHit1D::wireId().
Referenced by associateHit(), associateHitId(), and MuonAssociatorByHitsHelper::getMatchedIds().
std::vector< PSimHit > DTHitAssociator::associateHit | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 336 of file DTHitAssociator.cc.
References associateDTHitId(), DTHitAssociator::Config::associatorByWire, config_, newFWLiteAna::found, LogTrace, mapOfSimHit, and DTRecHit1D::wireId().
Referenced by MuonAssociatorByHitsHelper::getMatchedIds().
std::vector< DTHitAssociator::SimHitIdpr > DTHitAssociator::associateHitId | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 253 of file DTHitAssociator.cc.
References associateDTHitId(), and LogTrace.
|
private |
Definition at line 65 of file DTHitAssociator.cc.
References DTHitAssociator::Config::associatorByWire, SplitLinear::begin, MuonDigiCollection< IndexType, DigiType >::begin(), EncodedEventId::bunchCrossing(), config_, DTHitAssociator::Config::crossingframe, DTHitAssociator::Config::DTdigisimlinkTag, DTHitAssociator::Config::DTdigisimlinkToken, DTHitAssociator::Config::DTdigiTag, DTHitAssociator::Config::DTdigiToken, DTHitAssociator::Config::DTrechitTag, DTHitAssociator::Config::DTrechitToken, DTHitAssociator::Config::DTsimhitsTag, DTHitAssociator::Config::DTsimhitsToken, DTHitAssociator::Config::DTsimhitsXFTag, DTHitAssociator::Config::DTsimhitsXFToken, DTHitAssociator::Config::dumpDT, MuonDigiCollection< IndexType, DigiType >::end(), EncodedEventId::event(), PSimHit::eventId(), DTHitAssociator::Config::geomToken, edm::Event::get(), edm::EventSetup::getHandle(), edm::Event::getHandle(), edm::HandleBase::isValid(), edm::InputTag::label(), MainPageGenerator::link, DTHitAssociator::Config::links_exist, LogTrace, mapOfDigi, mapOfLinks, mapOfRecHit, mapOfSimHit, PSimHit::particleType(), printRtS, PSimHit::processType(), sistrip::SpyUtilities::range(), SimHitOK(), and PSimHit::trackId().
Referenced by DTHitAssociator().
|
private |
Definition at line 384 of file DTHitAssociator.cc.
References PSimHit::detUnitId(), PSimHit::entryPoint(), PSimHit::exitPoint(), PSimHit::localPosition(), DTTopology::none, DTTopology::onWhichBorder(), mps_fire::result, DTTopology::wirePosition(), x, PV3DBase< T, PVType, FrameType >::x(), DTTopology::xMax, DTTopology::xMin, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by initEvent().
|
private |
Definition at line 77 of file DTHitAssociator.h.
Referenced by associateDTHitId(), associateHit(), and initEvent().
DigiMap DTHitAssociator::mapOfDigi |
Definition at line 70 of file DTHitAssociator.h.
Referenced by initEvent().
LinksMap DTHitAssociator::mapOfLinks |
Definition at line 71 of file DTHitAssociator.h.
Referenced by associateDTHitId(), and initEvent().
RecHitMap DTHitAssociator::mapOfRecHit |
Definition at line 69 of file DTHitAssociator.h.
Referenced by initEvent().
SimHitMap DTHitAssociator::mapOfSimHit |
Definition at line 68 of file DTHitAssociator.h.
Referenced by associateDTHitId(), associateHit(), and initEvent().
|
private |
Definition at line 78 of file DTHitAssociator.h.
Referenced by initEvent().