#include <CSCHitAssociator.h>
Public Types | |
typedef edm::DetSetVector< StripDigiSimLink > | DigiSimLinks |
typedef edm::DetSet< StripDigiSimLink > | LayerLinks |
typedef std::pair< uint32_t, EncodedEventId > | SimHitIdpr |
typedef edm::DetSetVector< StripDigiSimLink > | WireDigiSimLinks |
Public Member Functions | |
std::vector< SimHitIdpr > | associateCSCHitId (const CSCRecHit2D *) const |
std::vector< SimHitIdpr > | associateHitId (const TrackingRecHit &) const |
CSCHitAssociator (const edm::Event &, const edm::EventSetup &, const edm::ParameterSet &) | |
CSCHitAssociator (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
void | initEvent (const edm::Event &, const edm::EventSetup &) |
Private Attributes | |
const CSCGeometry * | cscgeom |
edm::InputTag | linksTag |
const DigiSimLinks * | theDigiSimLinks |
Definition at line 24 of file CSCHitAssociator.h.
Definition at line 26 of file CSCHitAssociator.h.
Definition at line 28 of file CSCHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> CSCHitAssociator::SimHitIdpr |
Definition at line 29 of file CSCHitAssociator.h.
Definition at line 27 of file CSCHitAssociator.h.
CSCHitAssociator::CSCHitAssociator | ( | const edm::Event & | event, |
const edm::EventSetup & | setup, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 8 of file CSCHitAssociator.cc.
References initEvent(), and singleTopDQM_cfi::setup.
CSCHitAssociator::CSCHitAssociator | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC | ||
) |
std::vector< CSCHitAssociator::SimHitIdpr > CSCHitAssociator::associateCSCHitId | ( | const CSCRecHit2D * | cscrechit | ) | const |
Definition at line 30 of file CSCHitAssociator.cc.
References CSCLayerGeometry::channel(), CSCRecHit2D::channels(), CSCRecHit2D::cscDetId(), cscgeom, edm::DetSetVector< T >::end(), spr::find(), edm::DetSetVector< T >::find(), TrackingRecHit::geographicalId(), geometry, CSCGeometry::layer(), MainPageGenerator::link, LogTrace, CSCRecHit2D::nStrips(), DetId::rawId(), and theDigiSimLinks.
Referenced by MuonAssociatorByHitsHelper::getMatchedIds().
std::vector< CSCHitAssociator::SimHitIdpr > CSCHitAssociator::associateHitId | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 62 of file CSCHitAssociator.cc.
References CSCLayerGeometry::channel(), CSCRecHit2D::channels(), CSCRecHit2D::cscDetId(), cscgeom, edm::DetSetVector< T >::end(), spr::find(), edm::DetSetVector< T >::find(), TrackingRecHit::geographicalId(), geometry, CSCGeometry::layer(), MainPageGenerator::link, LogTrace, CSCRecHit2D::nStrips(), DetId::rawId(), and theDigiSimLinks.
void CSCHitAssociator::initEvent | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
Definition at line 18 of file CSCHitAssociator.cc.
References cscgeom, TTClusterAssociation_cfi::digiSimLinks, get, linksTag, LogTrace, singleTopDQM_cfi::setup, and theDigiSimLinks.
Referenced by CSCHitAssociator().
|
private |
Definition at line 44 of file CSCHitAssociator.h.
Referenced by associateCSCHitId(), associateHitId(), and initEvent().
|
private |
Definition at line 42 of file CSCHitAssociator.h.
Referenced by CSCHitAssociator(), and initEvent().
|
private |
Definition at line 40 of file CSCHitAssociator.h.
Referenced by associateCSCHitId(), associateHitId(), and initEvent().