#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 27 of file CSCHitAssociator.h.
Definition at line 29 of file CSCHitAssociator.h.
typedef std::pair<uint32_t, EncodedEventId> CSCHitAssociator::SimHitIdpr |
Definition at line 30 of file CSCHitAssociator.h.
Definition at line 28 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().
CSCHitAssociator::CSCHitAssociator | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 15 of file CSCHitAssociator.cc.
References linksTag.
std::vector< CSCHitAssociator::SimHitIdpr > CSCHitAssociator::associateCSCHitId | ( | const CSCRecHit2D * | cscrechit | ) | const |
Definition at line 35 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(), CSCRecHit2D::nStrips(), DetId::rawId(), and theDigiSimLinks.
Referenced by MuonAssociatorByHitsHelper::getMatchedIds().
std::vector< CSCHitAssociator::SimHitIdpr > CSCHitAssociator::associateHitId | ( | const TrackingRecHit & | hit | ) | const |
Definition at line 68 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(), CSCRecHit2D::nStrips(), DetId::rawId(), and theDigiSimLinks.
void CSCHitAssociator::initEvent | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
Definition at line 22 of file CSCHitAssociator.cc.
References cscgeom, TTClusterAssociation_cfi::digiSimLinks, edm::EventSetup::get(), linksTag, LogTrace, edm::Handle< T >::product(), and theDigiSimLinks.
Referenced by CSCHitAssociator().
|
private |
Definition at line 47 of file CSCHitAssociator.h.
Referenced by associateCSCHitId(), associateHitId(), and initEvent().
|
private |
Definition at line 45 of file CSCHitAssociator.h.
Referenced by CSCHitAssociator(), and initEvent().
|
private |
Definition at line 43 of file CSCHitAssociator.h.
Referenced by associateCSCHitId(), associateHitId(), and initEvent().