CMS 3D CMS Logo

reco::ClusterRemovalInfo Class Reference

#include <DataFormats/TrackerRecHit2D/interface/ClusterRemovalInfo.h>

List of all members.

Public Types

typedef std::vector< uint32_t > Indices

Public Member Functions

 ClusterRemovalInfo (const edm::ProductID &pixelProdID, const edm::ProductID &stripProdID)
 ClusterRemovalInfo ()
const IndicespixelIndices () const
IndicespixelIndices ()
edm::ProductID pixelNewProdID () const
edm::ProductID pixelProdID () const
void setNewPixelProdID (const edm::ProductID &pixelProdID)
void setNewStripProdID (const edm::ProductID &stripProdID)
const IndicesstripIndices () const
IndicesstripIndices ()
edm::ProductID stripNewProdID () const
edm::ProductID stripProdID () const
void swap (reco::ClusterRemovalInfo &other)

Private Attributes

Indices pixelIndices_
edm::ProductID pixelNewProdID_
edm::ProductID pixelProdID_
Indices stripIndices_
edm::ProductID stripNewProdID_
edm::ProductID stripProdID_


Detailed Description

Definition at line 9 of file ClusterRemovalInfo.h.


Member Typedef Documentation

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

Definition at line 11 of file ClusterRemovalInfo.h.


Constructor & Destructor Documentation

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

Definition at line 13 of file ClusterRemovalInfo.h.

00013 {}

reco::ClusterRemovalInfo::ClusterRemovalInfo ( const edm::ProductID pixelProdID,
const edm::ProductID stripProdID 
) [inline]

Definition at line 15 of file ClusterRemovalInfo.h.

00016                                                                 : 
00017                 stripProdID_(stripProdID), pixelProdID_(pixelProdID) { }


Member Function Documentation

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

Definition at line 22 of file ClusterRemovalInfo.h.

References pixelIndices_.

00022 { return pixelIndices_; }

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

Definition at line 19 of file ClusterRemovalInfo.h.

References pixelIndices_.

Referenced by ClusterRemovalRefSetter::reKey().

00019 { return pixelIndices_; }

edm::ProductID reco::ClusterRemovalInfo::pixelNewProdID (  )  const [inline]

Definition at line 27 of file ClusterRemovalInfo.h.

References pixelNewProdID_.

Referenced by ClusterRemovalRefSetter::reKey().

00027 { return pixelNewProdID_; }

edm::ProductID reco::ClusterRemovalInfo::pixelProdID (  )  const [inline]

Definition at line 25 of file ClusterRemovalInfo.h.

References pixelProdID_.

Referenced by ClusterRemovalRefSetter::ClusterRemovalRefSetter().

00025 { return pixelProdID_; }

void reco::ClusterRemovalInfo::setNewPixelProdID ( const edm::ProductID pixelProdID  )  [inline]

Definition at line 30 of file ClusterRemovalInfo.h.

References pixelNewProdID_.

00030 { pixelNewProdID_ = pixelProdID; }

void reco::ClusterRemovalInfo::setNewStripProdID ( const edm::ProductID stripProdID  )  [inline]

Definition at line 31 of file ClusterRemovalInfo.h.

References stripNewProdID_.

00031 { stripNewProdID_ = stripProdID; }

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

Definition at line 23 of file ClusterRemovalInfo.h.

References stripIndices_.

00023 { return stripIndices_; }

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

Definition at line 20 of file ClusterRemovalInfo.h.

References stripIndices_.

Referenced by ClusterRemovalRefSetter::reKey().

00020 { return stripIndices_; }

edm::ProductID reco::ClusterRemovalInfo::stripNewProdID (  )  const [inline]

Definition at line 28 of file ClusterRemovalInfo.h.

References stripNewProdID_.

Referenced by ClusterRemovalRefSetter::reKey().

00028 { return stripNewProdID_; }

edm::ProductID reco::ClusterRemovalInfo::stripProdID (  )  const [inline]

Definition at line 26 of file ClusterRemovalInfo.h.

References stripProdID_.

Referenced by ClusterRemovalRefSetter::ClusterRemovalRefSetter().

00026 { return stripProdID_; }

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

Definition at line 4 of file ClusterRemovalInfo.cc.

References pixelIndices_, pixelNewProdID_, pixelProdID_, stripIndices_, stripNewProdID_, stripProdID_, and tmp.

Referenced by reco::swap().

00004                                                                {
00005         edm::ProductID tmp;
00006         tmp = stripProdID_; stripProdID_ = other.stripProdID_; other.stripProdID_ = tmp;
00007         tmp = pixelProdID_; pixelProdID_ = other.pixelProdID_; other.pixelProdID_ = tmp;
00008         tmp = stripNewProdID_; stripNewProdID_ = other.stripNewProdID_; other.stripNewProdID_ = tmp;
00009         tmp = pixelNewProdID_; pixelNewProdID_ = other.pixelNewProdID_; other.pixelNewProdID_ = tmp;
00010         stripIndices_.swap(other.stripIndices_);
00011         pixelIndices_.swap(other.pixelIndices_);
00012     }


Member Data Documentation

Indices reco::ClusterRemovalInfo::pixelIndices_ [private]

Definition at line 37 of file ClusterRemovalInfo.h.

Referenced by pixelIndices(), and swap().

edm::ProductID reco::ClusterRemovalInfo::pixelNewProdID_ [private]

Definition at line 36 of file ClusterRemovalInfo.h.

Referenced by pixelNewProdID(), setNewPixelProdID(), and swap().

edm::ProductID reco::ClusterRemovalInfo::pixelProdID_ [private]

Definition at line 35 of file ClusterRemovalInfo.h.

Referenced by pixelProdID(), and swap().

Indices reco::ClusterRemovalInfo::stripIndices_ [private]

Definition at line 37 of file ClusterRemovalInfo.h.

Referenced by stripIndices(), and swap().

edm::ProductID reco::ClusterRemovalInfo::stripNewProdID_ [private]

Definition at line 36 of file ClusterRemovalInfo.h.

Referenced by setNewStripProdID(), stripNewProdID(), and swap().

edm::ProductID reco::ClusterRemovalInfo::stripProdID_ [private]

Definition at line 35 of file ClusterRemovalInfo.h.

Referenced by stripProdID(), and swap().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:51:00 2009 for CMSSW by  doxygen 1.5.4