CMS 3D CMS Logo

ClusterRemovalInfo.h
Go to the documentation of this file.
1 #ifndef DataFormats_TrackerRecHit2D_ClusterRemovalInfo_h
2 #define DataFormats_TrackerRecHit2D_ClusterRemovalInfo_h
3 
10 
11 namespace reco {
12 
14  public:
21 
22  typedef std::vector<uint32_t> Indices;
23 
25 
29 
33 
36 
39 
42 
44  stripProd_ = other.stripProd_;
45  pixelProd_ = other.pixelProd_;
46  phase2OTProd_ = other.phase2OTProd_;
47  }
48 
52 
53  const Indices &pixelIndices() const { return pixelIndices_; }
54  const Indices &stripIndices() const { return stripIndices_; }
55  const Indices &phase2OTIndices() const { return phase2OTIndices_; }
56 
57  const SiPixelClusterRefProd &pixelRefProd() const { return pixelProd_; }
58  const SiStripClusterRefProd &stripRefProd() const { return stripProd_; }
63 
66  }
69  }
72  }
73 
74  bool hasPixel() const { return pixelProd_.isNonnull(); }
75  bool hasStrip() const { return stripProd_.isNonnull(); }
76  bool hasPhase2OT() const { return phase2OTProd_.isNonnull(); }
77 
79 
80  private:
88  };
89 
91 
92 } // namespace reco
93 
94 #endif
edm::RefProd< SiStripClusters >
RefProd.h
Handle.h
reco::ClusterRemovalInfo::SiPixelClusters
SiPixelRecHit::ClusterRef::product_type SiPixelClusters
Definition: ClusterRemovalInfo.h:16
LumiMonitor_cff.pixelClusters
pixelClusters
Definition: LumiMonitor_cff.py:10
reco::ClusterRemovalInfo::Indices
std::vector< uint32_t > Indices
Definition: ClusterRemovalInfo.h:22
reco::ClusterRemovalInfo::pixelNewProd_
SiPixelClusterRefProd pixelNewProd_
Definition: ClusterRemovalInfo.h:84
reco::ClusterRemovalInfo::hasPhase2OT
bool hasPhase2OT() const
Definition: ClusterRemovalInfo.h:76
reco::ClusterRemovalInfo::stripRefProd
const SiStripClusterRefProd & stripRefProd() const
Definition: ClusterRemovalInfo.h:58
reco::ClusterRemovalInfo::ClusterRemovalInfo
ClusterRemovalInfo(const edm::Handle< SiPixelClusters > &pixelClusters, const edm::Handle< Phase2TrackerCluster1Ds > &phase2OTClusters)
Definition: ClusterRemovalInfo.h:30
reco::ClusterRemovalInfo::pixelIndices
const Indices & pixelIndices() const
Definition: ClusterRemovalInfo.h:53
reco::ClusterRemovalInfo::stripIndices_
Indices stripIndices_
Definition: ClusterRemovalInfo.h:87
reco::ClusterRemovalInfo::ClusterRemovalInfo
ClusterRemovalInfo(const edm::Handle< Phase2TrackerCluster1Ds > &phase2OTClusters)
Definition: ClusterRemovalInfo.h:40
edm::Ref::product_type
C product_type
for export
Definition: Ref.h:159
reco::ClusterRemovalInfo::phase2OTNewRefProd
const Phase2TrackerCluster1DRefProd & phase2OTNewRefProd() const
Definition: ClusterRemovalInfo.h:62
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
edm::Handle
Definition: AssociativeIterator.h:50
reco::ClusterRemovalInfo::hasStrip
bool hasStrip() const
Definition: ClusterRemovalInfo.h:75
HLTEgPhaseIITestSequence_cff.phase2OTClusters
phase2OTClusters
Definition: HLTEgPhaseIITestSequence_cff.py:722
reco::ClusterRemovalInfo::phase2OTIndices_
Indices phase2OTIndices_
Definition: ClusterRemovalInfo.h:87
reco::ClusterRemovalInfo::ClusterRemovalInfo
ClusterRemovalInfo()
Definition: ClusterRemovalInfo.h:24
reco::ClusterRemovalInfo::pixelIndices
Indices & pixelIndices()
Definition: ClusterRemovalInfo.h:49
reco::ClusterRemovalInfo::Phase2TrackerCluster1Ds
Phase2TrackerRecHit1D::CluRef::product_type Phase2TrackerCluster1Ds
Definition: ClusterRemovalInfo.h:17
reco::ClusterRemovalInfo::stripIndices
const Indices & stripIndices() const
Definition: ClusterRemovalInfo.h:54
reco::ClusterRemovalInfo::swap
void swap(reco::ClusterRemovalInfo &other)
Definition: ClusterRemovalInfo.cc:4
reco::ClusterRemovalInfo::phase2OTProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
Definition: ClusterRemovalInfo.h:83
reco::ClusterRemovalInfo::pixelProd_
SiPixelClusterRefProd pixelProd_
Definition: ClusterRemovalInfo.h:81
OrphanHandle.h
reco::ClusterRemovalInfo::SiStripClusters
SiStripRecHit2D::ClusterRef::product_type SiStripClusters
Definition: ClusterRemovalInfo.h:15
trackingPlots.other
other
Definition: trackingPlots.py:1460
reco::ClusterRemovalInfo::phase2OTNewProd_
Phase2TrackerCluster1DRefProd phase2OTNewProd_
Definition: ClusterRemovalInfo.h:86
SiPixelRecHit.h
HLT_FULL_cff.stripClusters
stripClusters
Definition: HLT_FULL_cff.py:10014
Phase2TrackerRecHit1D.h
reco::ClusterRemovalInfo::ClusterRemovalInfo
ClusterRemovalInfo(const edm::Handle< SiPixelClusters > &pixelClusters)
Definition: ClusterRemovalInfo.h:34
reco::ClusterRemovalInfo::setNewStripClusters
void setNewStripClusters(const edm::OrphanHandle< SiStripClusters > &strips)
Definition: ClusterRemovalInfo.h:67
reco::ClusterRemovalInfo::SiStripClusterRefProd
edm::RefProd< SiStripClusters > SiStripClusterRefProd
Definition: ClusterRemovalInfo.h:18
reco::ClusterRemovalInfo::stripNewProd_
SiStripClusterRefProd stripNewProd_
Definition: ClusterRemovalInfo.h:85
reco::ClusterRemovalInfo::setNewPhase2OTClusters
void setNewPhase2OTClusters(const edm::OrphanHandle< Phase2TrackerCluster1Ds > &phase2OTs)
Definition: ClusterRemovalInfo.h:70
reco::ClusterRemovalInfo::pixelIndices_
Indices pixelIndices_
Definition: ClusterRemovalInfo.h:87
reco::ClusterRemovalInfo::stripNewRefProd
const SiStripClusterRefProd & stripNewRefProd() const
Definition: ClusterRemovalInfo.h:61
reco::ClusterRemovalInfo::SiPixelClusterRefProd
edm::RefProd< SiPixelClusters > SiPixelClusterRefProd
Definition: ClusterRemovalInfo.h:19
reco::ClusterRemovalInfo::getOldClustersFrom
void getOldClustersFrom(const ClusterRemovalInfo &other)
Definition: ClusterRemovalInfo.h:43
reco::ClusterRemovalInfo
Definition: ClusterRemovalInfo.h:13
reco::ClusterRemovalInfo::pixelRefProd
const SiPixelClusterRefProd & pixelRefProd() const
Definition: ClusterRemovalInfo.h:57
reco::ClusterRemovalInfo::phase2OTRefProd
const Phase2TrackerCluster1DRefProd & phase2OTRefProd() const
Definition: ClusterRemovalInfo.h:59
reco::ClusterRemovalInfo::phase2OTIndices
const Indices & phase2OTIndices() const
Definition: ClusterRemovalInfo.h:55
edm::OrphanHandle
Definition: EDProductfwd.h:39
reco::ClusterRemovalInfo::pixelNewRefProd
const SiPixelClusterRefProd & pixelNewRefProd() const
Definition: ClusterRemovalInfo.h:60
reco::ClusterRemovalInfo::stripIndices
Indices & stripIndices()
Definition: ClusterRemovalInfo.h:50
reco::ClusterRemovalInfo::hasPixel
bool hasPixel() const
Definition: ClusterRemovalInfo.h:74
reco::ClusterRemovalInfo::stripProd_
SiStripClusterRefProd stripProd_
Definition: ClusterRemovalInfo.h:82
reco::ClusterRemovalInfo::setNewPixelClusters
void setNewPixelClusters(const edm::OrphanHandle< SiPixelClusters > &pixels)
Definition: ClusterRemovalInfo.h:64
reco::swap
void swap(reco::ClusterRemovalInfo &cri1, reco::ClusterRemovalInfo &cri2)
Definition: ClusterRemovalInfo.cc:12
reco::ClusterRemovalInfo::phase2OTIndices
Indices & phase2OTIndices()
Definition: ClusterRemovalInfo.h:51
reco::ClusterRemovalInfo::ClusterRemovalInfo
ClusterRemovalInfo(const edm::Handle< SiPixelClusters > &pixelClusters, const edm::Handle< SiStripClusters > &stripClusters)
Definition: ClusterRemovalInfo.h:26
edm::RefProd::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: RefProd.h:118
SiStripRecHit2D.h
reco::ClusterRemovalInfo::ClusterRemovalInfo
ClusterRemovalInfo(const edm::Handle< SiStripClusters > &stripClusters)
Definition: ClusterRemovalInfo.h:37
DigiDM_cff.strips
strips
#turn off noise in all subdetectors simHcalUnsuppressedDigis.doNoise = False mix.digitizers....
Definition: DigiDM_cff.py:32
reco::ClusterRemovalInfo::Phase2TrackerCluster1DRefProd
edm::RefProd< Phase2TrackerCluster1Ds > Phase2TrackerCluster1DRefProd
Definition: ClusterRemovalInfo.h:20