CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

reco::ClusterRemovalInfo Class Reference

#include <ClusterRemovalInfo.h>

List of all members.

Public Types

typedef std::vector< uint32_t > Indices
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< SiStripClusters > &stripClusters)
 ClusterRemovalInfo (const edm::Handle< SiPixelClusters > &pixelClusters)
void getOldClustersFrom (const ClusterRemovalInfo &other)
bool hasPixel () const
bool hasStrip () const
const IndicespixelIndices () const
IndicespixelIndices ()
const SiPixelClusterRefProdpixelNewRefProd () const
const SiPixelClusterRefProdpixelRefProd () const
void setNewPixelClusters (const edm::OrphanHandle< SiPixelClusters > &pixels)
void setNewStripClusters (const edm::OrphanHandle< SiStripClusters > &strips)
const IndicesstripIndices () const
IndicesstripIndices ()
const SiStripClusterRefProdstripNewRefProd () const
const SiStripClusterRefProdstripRefProd () const
void swap (reco::ClusterRemovalInfo &other)

Private Attributes

Indices pixelIndices_
SiPixelClusterRefProd pixelNewProd_
SiPixelClusterRefProd pixelProd_
Indices stripIndices_
SiStripClusterRefProd stripNewProd_
SiStripClusterRefProd stripProd_

Detailed Description

Definition at line 12 of file ClusterRemovalInfo.h.


Member Typedef Documentation

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

Definition at line 19 of file ClusterRemovalInfo.h.

Definition at line 17 of file ClusterRemovalInfo.h.

typedef SiPixelRecHit::ClusterRef::product_type reco::ClusterRemovalInfo::SiPixelClusters

Definition at line 15 of file ClusterRemovalInfo.h.

Definition at line 16 of file ClusterRemovalInfo.h.

typedef SiStripRecHit2D::ClusterRef::product_type reco::ClusterRemovalInfo::SiStripClusters

Definition at line 14 of file ClusterRemovalInfo.h.


Constructor & Destructor Documentation

reco::ClusterRemovalInfo::ClusterRemovalInfo ( ) [inline]

Definition at line 21 of file ClusterRemovalInfo.h.

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

Definition at line 23 of file ClusterRemovalInfo.h.

                                                                                : 
                pixelProd_(pixelClusters), stripProd_(stripClusters) { }
reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiPixelClusters > &  pixelClusters) [inline]

Definition at line 27 of file ClusterRemovalInfo.h.

                                                                                : 
                pixelProd_(pixelClusters), stripProd_() { }
reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::Handle< SiStripClusters > &  stripClusters) [inline]

Definition at line 30 of file ClusterRemovalInfo.h.

                                                                                : 
                pixelProd_(), stripProd_(stripClusters) { }

Member Function Documentation

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

Definition at line 34 of file ClusterRemovalInfo.h.

References pixelProd_, and stripProd_.

                                                                     {
                stripProd_ = other.stripProd_;
                pixelProd_ = other.pixelProd_;
            }
bool reco::ClusterRemovalInfo::hasPixel ( ) const [inline]

Definition at line 53 of file ClusterRemovalInfo.h.

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

Referenced by ClusterRemovalRefSetter::reKey().

{ return pixelProd_.isNonnull(); } 
bool reco::ClusterRemovalInfo::hasStrip ( ) const [inline]

Definition at line 54 of file ClusterRemovalInfo.h.

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

Referenced by ClusterRemovalRefSetter::reKey().

{ return stripProd_.isNonnull(); } 
Indices& reco::ClusterRemovalInfo::pixelIndices ( ) [inline]

Definition at line 39 of file ClusterRemovalInfo.h.

References pixelIndices_.

Referenced by ClusterRemovalRefSetter::reKeyPixel().

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

Definition at line 42 of file ClusterRemovalInfo.h.

References pixelIndices_.

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

Definition at line 47 of file ClusterRemovalInfo.h.

References pixelNewProd_.

Referenced by ClusterRemovalRefSetter::reKeyPixel().

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

Definition at line 45 of file ClusterRemovalInfo.h.

References pixelProd_.

Referenced by ClusterRemovalRefSetter::reKeyPixel().

{ return pixelProd_; }
void reco::ClusterRemovalInfo::setNewPixelClusters ( const edm::OrphanHandle< SiPixelClusters > &  pixels) [inline]

Definition at line 50 of file ClusterRemovalInfo.h.

References pixelNewProd_.

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

Definition at line 51 of file ClusterRemovalInfo.h.

References stripNewProd_.

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

Definition at line 43 of file ClusterRemovalInfo.h.

References stripIndices_.

{ return stripIndices_; }
Indices& reco::ClusterRemovalInfo::stripIndices ( ) [inline]

Definition at line 40 of file ClusterRemovalInfo.h.

References stripIndices_.

Referenced by ClusterRemovalRefSetter::reKeyStrip().

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

Definition at line 48 of file ClusterRemovalInfo.h.

References stripNewProd_.

Referenced by ClusterRemovalRefSetter::reKeyStrip().

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

Definition at line 46 of file ClusterRemovalInfo.h.

References stripProd_.

Referenced by ClusterRemovalRefSetter::reKeyStrip().

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

Member Data Documentation

Definition at line 62 of file ClusterRemovalInfo.h.

Referenced by pixelIndices(), and swap().

Definition at line 60 of file ClusterRemovalInfo.h.

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

Definition at line 58 of file ClusterRemovalInfo.h.

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

Definition at line 62 of file ClusterRemovalInfo.h.

Referenced by stripIndices(), and swap().

Definition at line 61 of file ClusterRemovalInfo.h.

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

Definition at line 59 of file ClusterRemovalInfo.h.

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