CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
PixelGeomDetType Class Reference

#include <PixelGeomDetType.h>

Inheritance diagram for PixelGeomDetType:
GeomDetType

Public Types

typedef PixelTopology TopologyType
 
- Public Types inherited from GeomDetType
typedef
GeomDetEnumerators::SubDetector 
SubDetector
 

Public Member Functions

 PixelGeomDetType (TopologyType *t, std::string const &name, SubDetector &det)
 
void setTopology (TopologyType *topol)
 
virtual const TopologyTypespecificTopology () const
 
virtual const Topologytopology () const
 
virtual ~PixelGeomDetType ()
 
- Public Member Functions inherited from GeomDetType
 GeomDetType (const std::string &name, SubDetector subdet)
 
bool isBarrel () const
 
bool isCSC () const
 
bool isDT () const
 
bool isEndcap () const
 
bool isMuon () const
 
bool isRPC () const
 
bool isTracker () const
 
bool isTrackerPixel () const
 
bool isTrackerStrip () const
 
const std::string & name () const
 
SubDetector subDetector () const
 
virtual ~GeomDetType ()
 

Private Attributes

TopologyTypetheTopology
 

Detailed Description

Generic DetType for the Pixels. Specialized in SiPixelGeomDetType.

Definition at line 12 of file PixelGeomDetType.h.

Member Typedef Documentation

Definition at line 15 of file PixelGeomDetType.h.

Constructor & Destructor Documentation

PixelGeomDetType::PixelGeomDetType ( TopologyType t,
std::string const &  name,
SubDetector det 
)
inline

Definition at line 17 of file PixelGeomDetType.h.

17  :
18  GeomDetType(name,det),
19  theTopology(t){}
TopologyType * theTopology
const std::string & name() const
Definition: GeomDetType.h:20
GeomDetType(const std::string &name, SubDetector subdet)
Definition: GeomDetType.cc:5
virtual PixelGeomDetType::~PixelGeomDetType ( )
inlinevirtual

Definition at line 21 of file PixelGeomDetType.h.

References theTopology.

21  {
22  delete theTopology;
23  }
TopologyType * theTopology

Member Function Documentation

void PixelGeomDetType::setTopology ( TopologyType topol)

Definition at line 15 of file PixelGeomDetType.cc.

References theTopology.

16 {
17  if (topol != theTopology) {
18  delete theTopology;
19  theTopology = topol;
20  }
21 }
TopologyType * theTopology
const PixelTopology & PixelGeomDetType::specificTopology ( ) const
virtual

Definition at line 9 of file PixelGeomDetType.cc.

References theTopology.

Referenced by ProxyPixelTopology::specificTopology().

10 {
11  return *theTopology;
12 }
TopologyType * theTopology
const Topology & PixelGeomDetType::topology ( ) const
virtual

Implements GeomDetType.

Definition at line 4 of file PixelGeomDetType.cc.

References theTopology.

5 {
6  return *theTopology;
7 }
TopologyType * theTopology

Member Data Documentation

TopologyType* PixelGeomDetType::theTopology
private

Definition at line 35 of file PixelGeomDetType.h.

Referenced by setTopology(), specificTopology(), topology(), and ~PixelGeomDetType().