#include <ClusterRemovalRefSetter.h>
Public Member Functions | |
ClusterRemovalRefSetter (const edm::Event &iEvent, const edm::InputTag &tag) | |
ClusterRemovalRefSetter (const edm::Event &iEvent, const edm::EDGetTokenT< reco::ClusterRemovalInfo > &token) | |
void | reKey (TrackingRecHit *hit) const |
Private Types | |
typedef OmniClusterRef::ClusterPixelRef | ClusterPixelRef |
typedef OmniClusterRef::ClusterRegionalRef | ClusterRegionalRef |
typedef OmniClusterRef::ClusterStripRef | ClusterStripRef |
Private Member Functions | |
void | reKeyPixel (OmniClusterRef &clusRef) const |
void | reKeyStrip (OmniClusterRef &clusRef) const |
Private Attributes | |
const reco::ClusterRemovalInfo * | cri_ |
Definition at line 21 of file ClusterRemovalRefSetter.h.
Definition at line 29 of file ClusterRemovalRefSetter.h.
Definition at line 31 of file ClusterRemovalRefSetter.h.
Definition at line 30 of file ClusterRemovalRefSetter.h.
ClusterRemovalRefSetter::ClusterRemovalRefSetter | ( | const edm::Event & | iEvent, |
const edm::InputTag & | tag | ||
) |
Definition at line 4 of file ClusterRemovalRefSetter.cc.
References cri_, and edm::Event::getByLabel().
ClusterRemovalRefSetter::ClusterRemovalRefSetter | ( | const edm::Event & | iEvent, |
const edm::EDGetTokenT< reco::ClusterRemovalInfo > & | token | ||
) |
Definition at line 13 of file ClusterRemovalRefSetter.cc.
References cri_, and edm::Event::getByToken().
void ClusterRemovalRefSetter::reKey | ( | TrackingRecHit * | hit | ) | const |
Definition at line 20 of file ClusterRemovalRefSetter.cc.
References cri_, cond::rpcobgas::detid, edm::hlt::Exception, TrackingRecHit::geographicalId(), reco::ClusterRemovalInfo::hasPixel(), reco::ClusterRemovalInfo::hasStrip(), TrackingRecHit::isValid(), ProjectedSiStripRecHit2D::originalHit(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, reKeyPixel(), reKeyStrip(), and DetId::subdetId().
Referenced by SeedCombiner::produce(), cms::SimpleTrackListMerger::produce(), cms::TrackListMerger::produce(), reco::modules::DuplicateListMerger::produce(), and KfTrackProducerBase::putInEvt().
|
private |
Definition at line 46 of file ClusterRemovalRefSetter.cc.
References cri_, edm::hlt::Exception, OmniClusterRef::id(), edm::RefProd< T >::id(), OmniClusterRef::key(), reco::ClusterRemovalInfo::pixelIndices(), reco::ClusterRemovalInfo::pixelNewRefProd(), and reco::ClusterRemovalInfo::pixelRefProd().
Referenced by reKey().
|
private |
Definition at line 64 of file ClusterRemovalRefSetter.cc.
References cri_, edm::hlt::Exception, OmniClusterRef::id(), edm::RefProd< T >::id(), OmniClusterRef::key(), reco::ClusterRemovalInfo::stripIndices(), reco::ClusterRemovalInfo::stripNewRefProd(), and reco::ClusterRemovalInfo::stripRefProd().
Referenced by reKey().
|
private |
Definition at line 37 of file ClusterRemovalRefSetter.h.
Referenced by ClusterRemovalRefSetter(), reKey(), reKeyPixel(), and reKeyStrip().