#include <DTHitAssociator.h>
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) |
std::vector< PSimHit > | associateHit (const TrackingRecHit &hit) |
std::vector< SimHitIdpr > | associateHitId (const TrackingRecHit &hit) |
DTHitAssociator (const edm::Event &, const edm::EventSetup &, const edm::ParameterSet &, bool printRtS) | |
virtual | ~DTHitAssociator () |
Public Attributes | |
DigiMap | mapOfDigi |
LinksMap | mapOfLinks |
RecHitMap | mapOfRecHit |
SimHitMap | mapOfSimHit |
Private Member Functions | |
bool | SimHitOK (const edm::ESHandle< DTGeometry > &, const PSimHit &) |
Private Attributes | |
bool | associatorByWire |
bool | crossingframe |
edm::InputTag | DTdigisimlinkTag |
edm::InputTag | DTdigiTag |
edm::InputTag | DTrechitTag |
edm::InputTag | DTsimhitsTag |
edm::InputTag | DTsimhitsXFTag |
bool | dumpDT |
bool | links_exist |
bool | printRtS |
Definition at line 21 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<DTDigi> > DTHitAssociator::DigiMap |
Definition at line 28 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<DTDigiSimLink> > DTHitAssociator::LinksMap |
Definition at line 29 of file DTHitAssociator.h.
typedef std::pair<PSimHit,bool> DTHitAssociator::PSimHit_withFlag |
Definition at line 25 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<DTRecHit1DPair> > DTHitAssociator::RecHitMap |
Definition at line 27 of file DTHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> DTHitAssociator::SimHitIdpr |
Definition at line 24 of file DTHitAssociator.h.
typedef std::map<DTWireId, std::vector<PSimHit_withFlag> > DTHitAssociator::SimHitMap |
Definition at line 26 of file DTHitAssociator.h.
DTHitAssociator::DTHitAssociator | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const edm::ParameterSet & | conf, | ||
bool | printRtS | ||
) |
Definition at line 17 of file DTHitAssociator.cc.
References associatorByWire, begin, MixCollection< T >::begin(), EncodedEventId::bunchCrossing(), crossingframe, DTdigisimlinkTag, DTdigiTag, DTrechitTag, DTsimhitsTag, DTsimhitsXFTag, dumpDT, MixCollection< T >::end(), EncodedEventId::event(), PSimHit::eventId(), edm::EventSetup::get(), edm::Event::getByLabel(), edm::HandleBase::isValid(), edm::InputTag::label(), link(), links_exist, LogTrace, mapOfDigi, mapOfLinks, mapOfRecHit, mapOfSimHit, PSimHit::particleType(), PSimHit::processType(), edm::Handle< T >::product(), SimHitOK(), and PSimHit::trackId().
|
inlinevirtual |
Definition at line 32 of file DTHitAssociator.h.
std::vector< DTHitAssociator::SimHitIdpr > DTHitAssociator::associateDTHitId | ( | const DTRecHit1D * | dtrechit | ) |
Definition at line 259 of file DTHitAssociator.cc.
References associatorByWire, begin, DTRecHit1D::digiTime(), PSimHit::eventId(), mapOfLinks, mapOfSimHit, PSimHit::trackId(), and DTRecHit1D::wireId().
Referenced by associateHit(), associateHitId(), and MuonAssociatorByHits::getMatchedIds().
std::vector< PSimHit > DTHitAssociator::associateHit | ( | const TrackingRecHit & | hit | ) |
Definition at line 327 of file DTHitAssociator.cc.
References associateDTHitId(), associatorByWire, begin, mapOfSimHit, and DTRecHit1D::wireId().
Referenced by MuonAssociatorByHits::getMatchedIds().
std::vector< DTHitAssociator::SimHitIdpr > DTHitAssociator::associateHitId | ( | const TrackingRecHit & | hit | ) |
Definition at line 245 of file DTHitAssociator.cc.
References associateDTHitId().
|
private |
Definition at line 379 of file DTHitAssociator.cc.
References PSimHit::detUnitId(), PSimHit::entryPoint(), PSimHit::exitPoint(), PSimHit::localPosition(), DTTopology::none, DTTopology::onWhichBorder(), query::result, DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), vdt::x, DTTopology::xMax, DTTopology::xMin, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by DTHitAssociator().
|
private |
Definition at line 54 of file DTHitAssociator.h.
Referenced by associateDTHitId(), associateHit(), and DTHitAssociator().
|
private |
Definition at line 52 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
|
private |
Definition at line 48 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
|
private |
Definition at line 47 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
|
private |
Definition at line 49 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
|
private |
Definition at line 45 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
|
private |
Definition at line 46 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
|
private |
Definition at line 51 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
|
private |
Definition at line 53 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
DigiMap DTHitAssociator::mapOfDigi |
Definition at line 41 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
LinksMap DTHitAssociator::mapOfLinks |
Definition at line 42 of file DTHitAssociator.h.
Referenced by associateDTHitId(), and DTHitAssociator().
RecHitMap DTHitAssociator::mapOfRecHit |
Definition at line 40 of file DTHitAssociator.h.
Referenced by DTHitAssociator().
SimHitMap DTHitAssociator::mapOfSimHit |
Definition at line 39 of file DTHitAssociator.h.
Referenced by associateDTHitId(), associateHit(), and DTHitAssociator().
|
private |
Definition at line 57 of file DTHitAssociator.h.