CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
< Phase2TrackerCluster1Ds
Phase2TrackerCluster1DRefProd
 
typedef
Phase2TrackerRecHit1D::CluRef::product_type 
Phase2TrackerCluster1Ds
 
typedef edm::RefProd
< SiPixelClusters
SiPixelClusterRefProd
 
typedef
SiPixelRecHit::ClusterRef::product_type 
SiPixelClusters
 
typedef edm::RefProd
< SiStripClusters
SiStripClusterRefProd
 
typedef
SiStripRecHit2D::ClusterRef::product_type 
SiStripClusters
 

Public Member Functions

 ClusterRemovalInfo ()
 
 ClusterRemovalInfo (const edm::Handle< SiPixelClusters > &pixelClusters, const edm::Handle< SiStripClusters > &stripClusters)
 
 ClusterRemovalInfo (const edm::Handle< SiPixelClusters > &pixelClusters, const edm::Handle< Phase2TrackerCluster1Ds > &phase2OTClusters)
 
 ClusterRemovalInfo (const edm::Handle< SiPixelClusters > &pixelClusters)
 
 ClusterRemovalInfo (const edm::Handle< SiStripClusters > &stripClusters)
 
 ClusterRemovalInfo (const edm::Handle< Phase2TrackerCluster1Ds > &phase2OTClusters)
 
void getOldClustersFrom (const ClusterRemovalInfo &other)
 
bool hasPhase2OT () const
 
bool hasPixel () const
 
bool hasStrip () const
 
Indicesphase2OTIndices ()
 
const Indicesphase2OTIndices () const
 
const
Phase2TrackerCluster1DRefProd
phase2OTNewRefProd () const
 
const
Phase2TrackerCluster1DRefProd
phase2OTRefProd () 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

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

Definition at line 22 of file ClusterRemovalInfo.h.

Definition at line 20 of file ClusterRemovalInfo.h.

Definition at line 17 of file ClusterRemovalInfo.h.

Definition at line 19 of file ClusterRemovalInfo.h.

Definition at line 16 of file ClusterRemovalInfo.h.

Definition at line 18 of file ClusterRemovalInfo.h.

Definition at line 15 of file ClusterRemovalInfo.h.

Constructor & Destructor Documentation

reco::ClusterRemovalInfo::ClusterRemovalInfo ( )
inline

Definition at line 24 of file ClusterRemovalInfo.h.

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

Definition at line 26 of file ClusterRemovalInfo.h.

28  : pixelProd_(pixelClusters), stripProd_(stripClusters), phase2OTProd_() {}
SiPixelClusterRefProd pixelProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
SiStripClusterRefProd stripProd_
reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiPixelClusters > &  pixelClusters,
const edm::Handle< Phase2TrackerCluster1Ds > &  phase2OTClusters 
)
inline

Definition at line 30 of file ClusterRemovalInfo.h.

32  : pixelProd_(pixelClusters), stripProd_(), phase2OTProd_(phase2OTClusters) {}
SiPixelClusterRefProd pixelProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
SiStripClusterRefProd stripProd_
reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiPixelClusters > &  pixelClusters)
inline

Definition at line 34 of file ClusterRemovalInfo.h.

35  : pixelProd_(pixelClusters), stripProd_(), phase2OTProd_() {}
SiPixelClusterRefProd pixelProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
SiStripClusterRefProd stripProd_
reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiStripClusters > &  stripClusters)
inline

Definition at line 37 of file ClusterRemovalInfo.h.

38  : pixelProd_(), stripProd_(stripClusters), phase2OTProd_() {}
SiPixelClusterRefProd pixelProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
SiStripClusterRefProd stripProd_
reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< Phase2TrackerCluster1Ds > &  phase2OTClusters)
inline

Definition at line 40 of file ClusterRemovalInfo.h.

41  : pixelProd_(), stripProd_(), phase2OTProd_(phase2OTClusters) {}
SiPixelClusterRefProd pixelProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
SiStripClusterRefProd stripProd_

Member Function Documentation

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

Definition at line 43 of file ClusterRemovalInfo.h.

References phase2OTProd_, pixelProd_, and stripProd_.

43  {
44  stripProd_ = other.stripProd_;
45  pixelProd_ = other.pixelProd_;
46  phase2OTProd_ = other.phase2OTProd_;
47  }
SiPixelClusterRefProd pixelProd_
Phase2TrackerCluster1DRefProd phase2OTProd_
SiStripClusterRefProd stripProd_
bool reco::ClusterRemovalInfo::hasPhase2OT ( ) const
inline

Definition at line 76 of file ClusterRemovalInfo.h.

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

76 { return phase2OTProd_.isNonnull(); }
Phase2TrackerCluster1DRefProd phase2OTProd_
bool isNonnull() const
Checks for non-null.
Definition: RefProd.h:118
bool reco::ClusterRemovalInfo::hasPixel ( ) const
inline

Definition at line 74 of file ClusterRemovalInfo.h.

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

74 { return pixelProd_.isNonnull(); }
SiPixelClusterRefProd pixelProd_
bool isNonnull() const
Checks for non-null.
Definition: RefProd.h:118
bool reco::ClusterRemovalInfo::hasStrip ( ) const
inline

Definition at line 75 of file ClusterRemovalInfo.h.

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

75 { return stripProd_.isNonnull(); }
bool isNonnull() const
Checks for non-null.
Definition: RefProd.h:118
SiStripClusterRefProd stripProd_
Indices& reco::ClusterRemovalInfo::phase2OTIndices ( )
inline

Definition at line 51 of file ClusterRemovalInfo.h.

References phase2OTIndices_.

51 { return phase2OTIndices_; }
const Indices& reco::ClusterRemovalInfo::phase2OTIndices ( ) const
inline

Definition at line 55 of file ClusterRemovalInfo.h.

References phase2OTIndices_.

55 { return phase2OTIndices_; }
const Phase2TrackerCluster1DRefProd& reco::ClusterRemovalInfo::phase2OTNewRefProd ( ) const
inline

Definition at line 62 of file ClusterRemovalInfo.h.

References phase2OTNewProd_.

62 { return phase2OTNewProd_; }
Phase2TrackerCluster1DRefProd phase2OTNewProd_
const Phase2TrackerCluster1DRefProd& reco::ClusterRemovalInfo::phase2OTRefProd ( ) const
inline

Definition at line 59 of file ClusterRemovalInfo.h.

References phase2OTProd_.

59 { return phase2OTProd_; }
Phase2TrackerCluster1DRefProd phase2OTProd_
Indices& reco::ClusterRemovalInfo::pixelIndices ( )
inline

Definition at line 49 of file ClusterRemovalInfo.h.

References pixelIndices_.

49 { return pixelIndices_; }
const Indices& reco::ClusterRemovalInfo::pixelIndices ( ) const
inline

Definition at line 53 of file ClusterRemovalInfo.h.

References pixelIndices_.

53 { return pixelIndices_; }
const SiPixelClusterRefProd& reco::ClusterRemovalInfo::pixelNewRefProd ( ) const
inline

Definition at line 60 of file ClusterRemovalInfo.h.

References pixelNewProd_.

60 { return pixelNewProd_; }
SiPixelClusterRefProd pixelNewProd_
const SiPixelClusterRefProd& reco::ClusterRemovalInfo::pixelRefProd ( ) const
inline

Definition at line 57 of file ClusterRemovalInfo.h.

References pixelProd_.

57 { return pixelProd_; }
SiPixelClusterRefProd pixelProd_
void reco::ClusterRemovalInfo::setNewPhase2OTClusters ( const edm::OrphanHandle< Phase2TrackerCluster1Ds > &  phase2OTs)
inline

Definition at line 70 of file ClusterRemovalInfo.h.

References phase2OTNewProd_.

70  {
72  }
Phase2TrackerCluster1DRefProd phase2OTNewProd_
edm::RefProd< Phase2TrackerCluster1Ds > Phase2TrackerCluster1DRefProd
void reco::ClusterRemovalInfo::setNewPixelClusters ( const edm::OrphanHandle< SiPixelClusters > &  pixels)
inline

Definition at line 64 of file ClusterRemovalInfo.h.

References pixelNewProd_.

64  {
66  }
SiPixelClusterRefProd pixelNewProd_
edm::RefProd< SiPixelClusters > SiPixelClusterRefProd
void reco::ClusterRemovalInfo::setNewStripClusters ( const edm::OrphanHandle< SiStripClusters > &  strips)
inline

Definition at line 67 of file ClusterRemovalInfo.h.

References stripNewProd_.

67  {
69  }
SiStripClusterRefProd stripNewProd_
edm::RefProd< SiStripClusters > SiStripClusterRefProd
Indices& reco::ClusterRemovalInfo::stripIndices ( )
inline

Definition at line 50 of file ClusterRemovalInfo.h.

References stripIndices_.

50 { return stripIndices_; }
const Indices& reco::ClusterRemovalInfo::stripIndices ( ) const
inline

Definition at line 54 of file ClusterRemovalInfo.h.

References stripIndices_.

54 { return stripIndices_; }
const SiStripClusterRefProd& reco::ClusterRemovalInfo::stripNewRefProd ( ) const
inline

Definition at line 61 of file ClusterRemovalInfo.h.

References stripNewProd_.

61 { return stripNewProd_; }
SiStripClusterRefProd stripNewProd_
const SiStripClusterRefProd& reco::ClusterRemovalInfo::stripRefProd ( ) const
inline

Definition at line 58 of file ClusterRemovalInfo.h.

References stripProd_.

58 { return stripProd_; }
SiStripClusterRefProd stripProd_
void reco::ClusterRemovalInfo::swap ( reco::ClusterRemovalInfo other)

Definition at line 4 of file ClusterRemovalInfo.cc.

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

Referenced by reco::swap().

4  {
9  stripIndices_.swap(other.stripIndices_);
10  pixelIndices_.swap(other.pixelIndices_);
11  }
SiPixelClusterRefProd pixelProd_
SiPixelClusterRefProd pixelNewProd_
SiStripClusterRefProd stripNewProd_
void swap(RefProd< C > &)
Definition: RefProd.h:173
SiStripClusterRefProd stripProd_

Member Data Documentation

Indices reco::ClusterRemovalInfo::phase2OTIndices_
private

Definition at line 87 of file ClusterRemovalInfo.h.

Referenced by phase2OTIndices().

Phase2TrackerCluster1DRefProd reco::ClusterRemovalInfo::phase2OTNewProd_
private

Definition at line 86 of file ClusterRemovalInfo.h.

Referenced by phase2OTNewRefProd(), and setNewPhase2OTClusters().

Phase2TrackerCluster1DRefProd reco::ClusterRemovalInfo::phase2OTProd_
private

Definition at line 83 of file ClusterRemovalInfo.h.

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

Indices reco::ClusterRemovalInfo::pixelIndices_
private

Definition at line 87 of file ClusterRemovalInfo.h.

Referenced by pixelIndices(), and swap().

SiPixelClusterRefProd reco::ClusterRemovalInfo::pixelNewProd_
private

Definition at line 84 of file ClusterRemovalInfo.h.

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

SiPixelClusterRefProd reco::ClusterRemovalInfo::pixelProd_
private

Definition at line 81 of file ClusterRemovalInfo.h.

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

Indices reco::ClusterRemovalInfo::stripIndices_
private

Definition at line 87 of file ClusterRemovalInfo.h.

Referenced by stripIndices(), and swap().

SiStripClusterRefProd reco::ClusterRemovalInfo::stripNewProd_
private

Definition at line 85 of file ClusterRemovalInfo.h.

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

SiStripClusterRefProd reco::ClusterRemovalInfo::stripProd_
private

Definition at line 82 of file ClusterRemovalInfo.h.

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