CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
reco::ClusterRemovalInfo Class Reference

#include <ClusterRemovalInfo.h>

Public Types

typedef std::vector< uint32_t > Indices
 
typedef edm::RefProd< Phase2TrackerCluster1DsPhase2TrackerCluster1DRefProd
 
typedef Phase2TrackerRecHit1D::CluRef::product_type Phase2TrackerCluster1Ds
 
typedef edm::RefProd< SiPixelClustersSiPixelClusterRefProd
 
typedef SiPixelRecHit::ClusterRef::product_type SiPixelClusters
 
typedef edm::RefProd< SiStripClustersSiStripClusterRefProd
 
typedef SiStripRecHit2D::ClusterRef::product_type SiStripClusters
 

Public Member Functions

 ClusterRemovalInfo ()
 
 ClusterRemovalInfo (const edm::Handle< Phase2TrackerCluster1Ds > &phase2OTClusters)
 
 ClusterRemovalInfo (const edm::Handle< SiPixelClusters > &pixelClusters)
 
 ClusterRemovalInfo (const edm::Handle< SiPixelClusters > &pixelClusters, const edm::Handle< Phase2TrackerCluster1Ds > &phase2OTClusters)
 
 ClusterRemovalInfo (const edm::Handle< SiPixelClusters > &pixelClusters, const edm::Handle< SiStripClusters > &stripClusters)
 
 ClusterRemovalInfo (const edm::Handle< SiStripClusters > &stripClusters)
 
void getOldClustersFrom (const ClusterRemovalInfo &other)
 
bool hasPhase2OT () const
 
bool hasPixel () const
 
bool hasStrip () const
 
Indicesphase2OTIndices ()
 
const Indicesphase2OTIndices () const
 
const Phase2TrackerCluster1DRefProdphase2OTNewRefProd () const
 
const Phase2TrackerCluster1DRefProdphase2OTRefProd () const
 
IndicespixelIndices ()
 
const IndicespixelIndices () const
 
const SiPixelClusterRefProdpixelNewRefProd () const
 
const SiPixelClusterRefProdpixelRefProd () const
 
void setNewPhase2OTClusters (const edm::OrphanHandle< Phase2TrackerCluster1Ds > &phase2OTs)
 
void setNewPixelClusters (const edm::OrphanHandle< SiPixelClusters > &pixels)
 
void setNewStripClusters (const edm::OrphanHandle< SiStripClusters > &strips)
 
IndicesstripIndices ()
 
const IndicesstripIndices () const
 
const SiStripClusterRefProdstripNewRefProd () const
 
const SiStripClusterRefProdstripRefProd () const
 
void swap (reco::ClusterRemovalInfo &other)
 

Private Attributes

Indices phase2OTIndices_
 
Phase2TrackerCluster1DRefProd phase2OTNewProd_
 
Phase2TrackerCluster1DRefProd phase2OTProd_
 
Indices pixelIndices_
 
SiPixelClusterRefProd pixelNewProd_
 
SiPixelClusterRefProd pixelProd_
 
Indices stripIndices_
 
SiStripClusterRefProd stripNewProd_
 
SiStripClusterRefProd stripProd_
 

Detailed Description

Definition at line 13 of file ClusterRemovalInfo.h.

Member Typedef Documentation

◆ Indices

typedef std::vector<uint32_t> reco::ClusterRemovalInfo::Indices

Definition at line 22 of file ClusterRemovalInfo.h.

◆ Phase2TrackerCluster1DRefProd

Definition at line 20 of file ClusterRemovalInfo.h.

◆ Phase2TrackerCluster1Ds

Definition at line 17 of file ClusterRemovalInfo.h.

◆ SiPixelClusterRefProd

Definition at line 19 of file ClusterRemovalInfo.h.

◆ SiPixelClusters

Definition at line 16 of file ClusterRemovalInfo.h.

◆ SiStripClusterRefProd

Definition at line 18 of file ClusterRemovalInfo.h.

◆ SiStripClusters

Definition at line 15 of file ClusterRemovalInfo.h.

Constructor & Destructor Documentation

◆ ClusterRemovalInfo() [1/6]

reco::ClusterRemovalInfo::ClusterRemovalInfo ( )
inline

Definition at line 24 of file ClusterRemovalInfo.h.

24 {}

◆ ClusterRemovalInfo() [2/6]

reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiPixelClusters > &  pixelClusters,
const edm::Handle< SiStripClusters > &  stripClusters 
)
inline

◆ ClusterRemovalInfo() [3/6]

reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiPixelClusters > &  pixelClusters,
const edm::Handle< Phase2TrackerCluster1Ds > &  phase2OTClusters 
)
inline

◆ ClusterRemovalInfo() [4/6]

reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiPixelClusters > &  pixelClusters)
inline

Definition at line 34 of file ClusterRemovalInfo.h.

◆ ClusterRemovalInfo() [5/6]

reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiStripClusters > &  stripClusters)
inline

Definition at line 37 of file ClusterRemovalInfo.h.

◆ ClusterRemovalInfo() [6/6]

reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< Phase2TrackerCluster1Ds > &  phase2OTClusters)
inline

Definition at line 40 of file ClusterRemovalInfo.h.

Member Function Documentation

◆ getOldClustersFrom()

void reco::ClusterRemovalInfo::getOldClustersFrom ( const ClusterRemovalInfo other)
inline

Definition at line 43 of file ClusterRemovalInfo.h.

43  {
44  stripProd_ = other.stripProd_;
45  pixelProd_ = other.pixelProd_;
46  phase2OTProd_ = other.phase2OTProd_;
47  }

References trackingPlots::other, phase2OTProd_, pixelProd_, and stripProd_.

◆ hasPhase2OT()

bool reco::ClusterRemovalInfo::hasPhase2OT ( ) const
inline

Definition at line 76 of file ClusterRemovalInfo.h.

76 { return phase2OTProd_.isNonnull(); }

References edm::RefProd< C >::isNonnull(), and phase2OTProd_.

◆ hasPixel()

bool reco::ClusterRemovalInfo::hasPixel ( ) const
inline

Definition at line 74 of file ClusterRemovalInfo.h.

74 { return pixelProd_.isNonnull(); }

References edm::RefProd< C >::isNonnull(), and pixelProd_.

◆ hasStrip()

bool reco::ClusterRemovalInfo::hasStrip ( ) const
inline

Definition at line 75 of file ClusterRemovalInfo.h.

75 { return stripProd_.isNonnull(); }

References edm::RefProd< C >::isNonnull(), and stripProd_.

◆ phase2OTIndices() [1/2]

Indices& reco::ClusterRemovalInfo::phase2OTIndices ( )
inline

Definition at line 51 of file ClusterRemovalInfo.h.

51 { return phase2OTIndices_; }

References phase2OTIndices_.

◆ phase2OTIndices() [2/2]

const Indices& reco::ClusterRemovalInfo::phase2OTIndices ( ) const
inline

Definition at line 55 of file ClusterRemovalInfo.h.

55 { return phase2OTIndices_; }

References phase2OTIndices_.

◆ phase2OTNewRefProd()

const Phase2TrackerCluster1DRefProd& reco::ClusterRemovalInfo::phase2OTNewRefProd ( ) const
inline

Definition at line 62 of file ClusterRemovalInfo.h.

62 { return phase2OTNewProd_; }

References phase2OTNewProd_.

◆ phase2OTRefProd()

const Phase2TrackerCluster1DRefProd& reco::ClusterRemovalInfo::phase2OTRefProd ( ) const
inline

Definition at line 59 of file ClusterRemovalInfo.h.

59 { return phase2OTProd_; }

References phase2OTProd_.

◆ pixelIndices() [1/2]

Indices& reco::ClusterRemovalInfo::pixelIndices ( )
inline

Definition at line 49 of file ClusterRemovalInfo.h.

49 { return pixelIndices_; }

References pixelIndices_.

Referenced by HITrackClusterRemover::produce().

◆ pixelIndices() [2/2]

const Indices& reco::ClusterRemovalInfo::pixelIndices ( ) const
inline

Definition at line 53 of file ClusterRemovalInfo.h.

53 { return pixelIndices_; }

References pixelIndices_.

◆ pixelNewRefProd()

const SiPixelClusterRefProd& reco::ClusterRemovalInfo::pixelNewRefProd ( ) const
inline

Definition at line 60 of file ClusterRemovalInfo.h.

60 { return pixelNewProd_; }

References pixelNewProd_.

Referenced by HITrackClusterRemover::produce().

◆ pixelRefProd()

const SiPixelClusterRefProd& reco::ClusterRemovalInfo::pixelRefProd ( ) const
inline

Definition at line 57 of file ClusterRemovalInfo.h.

57 { return pixelProd_; }

References pixelProd_.

Referenced by HITrackClusterRemover::produce().

◆ setNewPhase2OTClusters()

void reco::ClusterRemovalInfo::setNewPhase2OTClusters ( const edm::OrphanHandle< Phase2TrackerCluster1Ds > &  phase2OTs)
inline

Definition at line 70 of file ClusterRemovalInfo.h.

70  {
72  }

References phase2OTNewProd_.

◆ setNewPixelClusters()

void reco::ClusterRemovalInfo::setNewPixelClusters ( const edm::OrphanHandle< SiPixelClusters > &  pixels)
inline

Definition at line 64 of file ClusterRemovalInfo.h.

64  {
66  }

References pixelNewProd_.

◆ setNewStripClusters()

void reco::ClusterRemovalInfo::setNewStripClusters ( const edm::OrphanHandle< SiStripClusters > &  strips)
inline

Definition at line 67 of file ClusterRemovalInfo.h.

67  {
69  }

References stripNewProd_, and DigiDM_cff::strips.

◆ stripIndices() [1/2]

Indices& reco::ClusterRemovalInfo::stripIndices ( )
inline

Definition at line 50 of file ClusterRemovalInfo.h.

50 { return stripIndices_; }

References stripIndices_.

Referenced by HITrackClusterRemover::produce().

◆ stripIndices() [2/2]

const Indices& reco::ClusterRemovalInfo::stripIndices ( ) const
inline

Definition at line 54 of file ClusterRemovalInfo.h.

54 { return stripIndices_; }

References stripIndices_.

◆ stripNewRefProd()

const SiStripClusterRefProd& reco::ClusterRemovalInfo::stripNewRefProd ( ) const
inline

Definition at line 61 of file ClusterRemovalInfo.h.

61 { return stripNewProd_; }

References stripNewProd_.

Referenced by HITrackClusterRemover::produce().

◆ stripRefProd()

const SiStripClusterRefProd& reco::ClusterRemovalInfo::stripRefProd ( ) const
inline

Definition at line 58 of file ClusterRemovalInfo.h.

58 { return stripProd_; }

References stripProd_.

Referenced by HITrackClusterRemover::produce().

◆ swap()

void reco::ClusterRemovalInfo::swap ( reco::ClusterRemovalInfo other)

Definition at line 4 of file ClusterRemovalInfo.cc.

4  {
5  pixelProd_.swap(other.pixelProd_);
6  stripProd_.swap(other.stripProd_);
7  pixelNewProd_.swap(other.pixelNewProd_);
8  stripNewProd_.swap(other.stripNewProd_);
9  stripIndices_.swap(other.stripIndices_);
10  pixelIndices_.swap(other.pixelIndices_);
11  }

References trackingPlots::other, pixelIndices_, pixelNewProd_, pixelProd_, stripIndices_, stripNewProd_, stripProd_, and edm::RefProd< C >::swap().

Referenced by reco::swap().

Member Data Documentation

◆ phase2OTIndices_

Indices reco::ClusterRemovalInfo::phase2OTIndices_
private

Definition at line 87 of file ClusterRemovalInfo.h.

Referenced by phase2OTIndices().

◆ phase2OTNewProd_

Phase2TrackerCluster1DRefProd reco::ClusterRemovalInfo::phase2OTNewProd_
private

Definition at line 86 of file ClusterRemovalInfo.h.

Referenced by phase2OTNewRefProd(), and setNewPhase2OTClusters().

◆ phase2OTProd_

Phase2TrackerCluster1DRefProd reco::ClusterRemovalInfo::phase2OTProd_
private

Definition at line 83 of file ClusterRemovalInfo.h.

Referenced by getOldClustersFrom(), hasPhase2OT(), and phase2OTRefProd().

◆ pixelIndices_

Indices reco::ClusterRemovalInfo::pixelIndices_
private

Definition at line 87 of file ClusterRemovalInfo.h.

Referenced by pixelIndices(), and swap().

◆ pixelNewProd_

SiPixelClusterRefProd reco::ClusterRemovalInfo::pixelNewProd_
private

Definition at line 84 of file ClusterRemovalInfo.h.

Referenced by pixelNewRefProd(), setNewPixelClusters(), and swap().

◆ pixelProd_

SiPixelClusterRefProd reco::ClusterRemovalInfo::pixelProd_
private

Definition at line 81 of file ClusterRemovalInfo.h.

Referenced by getOldClustersFrom(), hasPixel(), pixelRefProd(), and swap().

◆ stripIndices_

Indices reco::ClusterRemovalInfo::stripIndices_
private

Definition at line 87 of file ClusterRemovalInfo.h.

Referenced by stripIndices(), and swap().

◆ stripNewProd_

SiStripClusterRefProd reco::ClusterRemovalInfo::stripNewProd_
private

Definition at line 85 of file ClusterRemovalInfo.h.

Referenced by setNewStripClusters(), stripNewRefProd(), and swap().

◆ stripProd_

SiStripClusterRefProd reco::ClusterRemovalInfo::stripProd_
private

Definition at line 82 of file ClusterRemovalInfo.h.

Referenced by getOldClustersFrom(), hasStrip(), stripRefProd(), and swap().

LumiMonitor_cff.pixelClusters
pixelClusters
Definition: LumiMonitor_cff.py:10
reco::ClusterRemovalInfo::pixelNewProd_
SiPixelClusterRefProd pixelNewProd_
Definition: ClusterRemovalInfo.h:84
reco::ClusterRemovalInfo::stripIndices_
Indices stripIndices_
Definition: ClusterRemovalInfo.h:87
reco::ClusterRemovalInfo::phase2OTIndices_
Indices phase2OTIndices_
Definition: ClusterRemovalInfo.h:87
reco::ClusterRemovalInfo::phase2OTProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
Definition: ClusterRemovalInfo.h:83
reco::ClusterRemovalInfo::pixelProd_
SiPixelClusterRefProd pixelProd_
Definition: ClusterRemovalInfo.h:81
HLT_2018_cff.stripClusters
stripClusters
Definition: HLT_2018_cff.py:8683
trackingPlots.other
other
Definition: trackingPlots.py:1465
reco::ClusterRemovalInfo::phase2OTNewProd_
Phase2TrackerCluster1DRefProd phase2OTNewProd_
Definition: ClusterRemovalInfo.h:86
edm::RefProd::swap
void swap(RefProd< C > &)
Definition: RefProd.h:173
reco::ClusterRemovalInfo::SiStripClusterRefProd
edm::RefProd< SiStripClusters > SiStripClusterRefProd
Definition: ClusterRemovalInfo.h:18
reco::ClusterRemovalInfo::stripNewProd_
SiStripClusterRefProd stripNewProd_
Definition: ClusterRemovalInfo.h:85
reco::ClusterRemovalInfo::pixelIndices_
Indices pixelIndices_
Definition: ClusterRemovalInfo.h:87
reco::ClusterRemovalInfo::SiPixelClusterRefProd
edm::RefProd< SiPixelClusters > SiPixelClusterRefProd
Definition: ClusterRemovalInfo.h:19
seedClusterRemoverPhase2_cfi.phase2OTClusters
phase2OTClusters
Definition: seedClusterRemoverPhase2_cfi.py:5
reco::ClusterRemovalInfo::stripProd_
SiStripClusterRefProd stripProd_
Definition: ClusterRemovalInfo.h:82
edm::RefProd::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: RefProd.h:118
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