#include <ClusterRemovalRefSetter.h>
Public Member Functions | |
ClusterRemovalRefSetter (const edm::Event &iEvent, const edm::InputTag tag) | |
void | reKey (TrackingRecHit *hit) const |
void | reKey (SiStripRecHit2D *hit, uint32_t detid) const |
void | reKey (SiStripRecHit1D *hit, uint32_t detid) const |
void | reKey (SiPixelRecHit *hit, uint32_t detid) const |
Private Attributes | |
const reco::ClusterRemovalInfo * | cri_ |
Definition at line 20 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().
void ClusterRemovalRefSetter::reKey | ( | TrackingRecHit * | hit | ) | const |
Definition at line 13 of file ClusterRemovalRefSetter.cc.
References cri_, cond::rpcobgas::detid, edm::hlt::Exception, TrackingRecHit::geographicalId(), reco::ClusterRemovalInfo::hasPixel(), reco::ClusterRemovalInfo::hasStrip(), TrackingRecHit::isValid(), SiStripMatchedRecHit2D::monoHit(), ProjectedSiStripRecHit2D::originalHit(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), SiStripMatchedRecHit2D::stereoHit(), and DetId::subdetId().
Referenced by SeedCombiner::produce(), cms::SimpleTrackListMerger::produce(), and KfTrackProducerBase::putInEvt().
void ClusterRemovalRefSetter::reKey | ( | SiStripRecHit2D * | hit, |
uint32_t | detid | ||
) | const |
Definition at line 39 of file ClusterRemovalRefSetter.cc.
References SiStripRecHit2D::cluster(), cri_, edm::hlt::Exception, edm::RefProd< T >::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), SiStripRecHit2D::setClusterRef(), reco::ClusterRemovalInfo::stripIndices(), reco::ClusterRemovalInfo::stripNewRefProd(), and reco::ClusterRemovalInfo::stripRefProd().
void ClusterRemovalRefSetter::reKey | ( | SiStripRecHit1D * | hit, |
uint32_t | detid | ||
) | const |
Definition at line 58 of file ClusterRemovalRefSetter.cc.
References SiStripRecHit1D::cluster(), cri_, edm::hlt::Exception, edm::RefProd< T >::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), SiStripRecHit1D::setClusterRef(), reco::ClusterRemovalInfo::stripIndices(), reco::ClusterRemovalInfo::stripNewRefProd(), and reco::ClusterRemovalInfo::stripRefProd().
void ClusterRemovalRefSetter::reKey | ( | SiPixelRecHit * | hit, |
uint32_t | detid | ||
) | const |
Definition at line 77 of file ClusterRemovalRefSetter.cc.
References SiPixelRecHit::cluster(), cri_, edm::hlt::Exception, edm::RefProd< T >::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), reco::ClusterRemovalInfo::pixelIndices(), reco::ClusterRemovalInfo::pixelNewRefProd(), reco::ClusterRemovalInfo::pixelRefProd(), and SiPixelRecHit::setClusterRef().
|
private |
Definition at line 28 of file ClusterRemovalRefSetter.h.
Referenced by ClusterRemovalRefSetter(), and reKey().