CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTLayer.h
Go to the documentation of this file.
1 #ifndef DTLAYER_H
2 #define DTLAYER_H
3 
17 /* Base Class Headers */
19 
20 /* Collaborating Class Declarations */
24 class DTSuperLayer;
25 class DTChamber;
26 
27 
28 class DTLayer : public GeomDetUnit {
29 
30  public:
31 
32 /* Constructor */
33  DTLayer(DTLayerId id,
35  const DTTopology& topo,
36  const DTLayerType& type,
37  const DTSuperLayer* sl=0) ;
38 
39 /* Destructor */
40  virtual ~DTLayer() ;
41 
42 /* Operations */
43  const Topology& topology() const;
44 
45  const GeomDetType& type() const;
46 
47  const DTTopology& specificTopology() const;
48 
50  DTLayerId id() const;
51 
54  const DTSuperLayer* superLayer() const ;
55 
58  const DTChamber* chamber() const;
59 
61  bool operator==(const DTLayer& l) const;
62 
64  virtual std::vector< const GeomDet*> components() const;
65 
66  private:
70 
72  protected:
73 
74 };
75 #endif // DTLAYER_H
76 
type
Definition: HCALResponse.h:22
const Topology & topology() const
Definition: DTLayer.cc:36
DTLayerId id() const
Return the DetId of this SL.
Definition: DTLayer.cc:48
const GeomDetType & type() const
Definition: DTLayer.cc:40
const DTSuperLayer * theSL
Definition: DTLayer.h:71
bool operator==(const DTLayer &l) const
True if the id are the same.
Definition: DTLayer.cc:52
DTLayerType theType
Definition: DTLayer.h:69
const DTTopology & specificTopology() const
Definition: DTLayer.cc:44
DTLayerId theId
Definition: DTLayer.h:67
virtual std::vector< const GeomDet * > components() const
A Layer has no components.
Definition: DTLayer.cc:64
virtual ~DTLayer()
Definition: DTLayer.cc:32
const DTChamber * chamber() const
Definition: DTLayer.cc:60
const DTSuperLayer * superLayer() const
Definition: DTLayer.cc:56
DTLayer(DTLayerId id, ReferenceCountingPointer< BoundPlane > &plane, const DTTopology &topo, const DTLayerType &type, const DTSuperLayer *sl=0)
Definition: DTLayer.cc:22
DTTopology theTopo
Definition: DTLayer.h:68