#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::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 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(), SiStripMatchedRecHit2D::monoClusterRef(), TrackerSingleRecHit::omniCluster(), ProjectedSiStripRecHit2D::originalHit(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, reKeyPixel(), reKeyStrip(), SiStripMatchedRecHit2D::stereoClusterRef(), 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 35 of file ClusterRemovalRefSetter.h.
Referenced by ClusterRemovalRefSetter(), reKey(), reKeyPixel(), and reKeyStrip().