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
StripGeomDetType Class Reference

#include <StripGeomDetType.h>

Inheritance diagram for StripGeomDetType:
GeomDetType

Public Types

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

Public Member Functions

bool isStereo () const
 
void setTopology (TopologyType *topol)
 
virtual const TopologyTypespecificTopology () const
 
 StripGeomDetType (TopologyType *t, std::string const &name, SubDetector &det, bool stereo)
 
virtual const Topologytopology () const
 
virtual ~StripGeomDetType ()
 
- 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

bool theStereoFlag
 
TopologyTypetheTopology
 

Detailed Description

StripGeomDetType is the abstract class for SiStripGeomDetType.

Definition at line 11 of file StripGeomDetType.h.

Member Typedef Documentation

Definition at line 16 of file StripGeomDetType.h.

Constructor & Destructor Documentation

StripGeomDetType::StripGeomDetType ( TopologyType t,
std::string const &  name,
SubDetector det,
bool  stereo 
)
inline

Definition at line 18 of file StripGeomDetType.h.

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

Definition at line 21 of file StripGeomDetType.h.

References theTopology.

21  {
22  delete theTopology;
23  }
TopologyType * theTopology

Member Function Documentation

bool StripGeomDetType::isStereo ( ) const
inline

Definition at line 32 of file StripGeomDetType.h.

References theStereoFlag.

32 {return theStereoFlag;}
void StripGeomDetType::setTopology ( TopologyType topol)

Definition at line 13 of file StripGeomDetType.cc.

References theTopology.

14 {
15  if (topol != theTopology) {
16  delete theTopology;
17  theTopology = topol;
18  }
19 }
TopologyType * theTopology
const StripTopology & StripGeomDetType::specificTopology ( ) const
virtual

Definition at line 8 of file StripGeomDetType.cc.

References theTopology.

Referenced by StripCPE::fillParams(), and ProxyStripTopology::specificTopology().

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

Implements GeomDetType.

Definition at line 3 of file StripGeomDetType.cc.

References theTopology.

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

Member Data Documentation

bool StripGeomDetType::theStereoFlag
private

Definition at line 37 of file StripGeomDetType.h.

Referenced by isStereo().

TopologyType* StripGeomDetType::theTopology
private

Definition at line 36 of file StripGeomDetType.h.

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