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 
15 /* Base Class Headers */
17 
18 /* Collaborating Class Declarations */
22 class DTSuperLayer;
23 class DTChamber;
24 
25 
26 class DTLayer : public GeomDetUnit {
27 
28  public:
29 
30 /* Constructor */
31  DTLayer(DTLayerId id,
33  const DTTopology& topo,
34  const DTLayerType& type,
35  const DTSuperLayer* sl=0) ;
36 
37 /* Destructor */
38  virtual ~DTLayer() ;
39 
40 /* Operations */
41  const Topology& topology() const;
42 
43  const GeomDetType& type() const;
44 
45  const DTTopology& specificTopology() const;
46 
48  DTLayerId id() const;
49 
52  const DTSuperLayer* superLayer() const ;
53 
56  const DTChamber* chamber() const;
57 
59  bool operator==(const DTLayer& l) const;
60 
62  virtual std::vector< const GeomDet*> components() const;
63 
64  private:
68 
70  protected:
71 
72 };
73 #endif // DTLAYER_H
74 
type
Definition: HCALResponse.h:21
const Topology & topology() const
Definition: DTLayer.cc:34
DTLayerId id() const
Return the DetId of this SL.
Definition: DTLayer.cc:46
const GeomDetType & type() const
Definition: DTLayer.cc:38
const DTSuperLayer * theSL
Definition: DTLayer.h:69
bool operator==(const DTLayer &l) const
True if the id are the same.
Definition: DTLayer.cc:50
DTLayerType theType
Definition: DTLayer.h:67
const DTTopology & specificTopology() const
Definition: DTLayer.cc:42
DTLayerId theId
Definition: DTLayer.h:65
virtual std::vector< const GeomDet * > components() const
A Layer has no components.
Definition: DTLayer.cc:62
virtual ~DTLayer()
Definition: DTLayer.cc:30
const DTChamber * chamber() const
Definition: DTLayer.cc:58
const DTSuperLayer * superLayer() const
Definition: DTLayer.cc:54
DTLayer(DTLayerId id, ReferenceCountingPointer< BoundPlane > &plane, const DTTopology &topo, const DTLayerType &type, const DTSuperLayer *sl=0)
Definition: DTLayer.cc:20
DTTopology theTopo
Definition: DTLayer.h:66