CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 class DTLayer : public GeomDetUnit {
26 public:
27  /* Constructor */
28  DTLayer(const DTLayerId& id,
30  const DTTopology& topo,
31  const DTLayerType& type,
32  const DTSuperLayer* sl = nullptr);
33 
34  /* Destructor */
35  ~DTLayer() override;
36 
37  /* Operations */
38  const Topology& topology() const override;
39 
40  const GeomDetType& type() const override;
41 
42  const DTTopology& specificTopology() const;
43 
45  DTLayerId id() const;
46 
49  const DTSuperLayer* superLayer() const;
50 
53  const DTChamber* chamber() const;
54 
56  bool operator==(const DTLayer& l) const;
57 
59  std::vector<const GeomDet*> components() const override;
60 
61 private:
65 
67 
68 protected:
69 };
70 #endif // DTLAYER_H
DTLayerId id() const
Return the DetId of this SL.
Definition: DTLayer.cc:39
const DTSuperLayer * theSL
Definition: DTLayer.h:66
DTLayer(const DTLayerId &id, ReferenceCountingPointer< BoundPlane > &plane, const DTTopology &topo, const DTLayerType &type, const DTSuperLayer *sl=nullptr)
Definition: DTLayer.cc:20
bool operator==(const DTLayer &l) const
True if the id are the same.
Definition: DTLayer.cc:41
DTLayerType theType
Definition: DTLayer.h:64
const DTTopology & specificTopology() const
Definition: DTLayer.cc:37
std::vector< const GeomDet * > components() const override
A Layer has no components.
Definition: DTLayer.cc:47
DTLayerId theId
Definition: DTLayer.h:62
const DTChamber * chamber() const
Definition: DTLayer.cc:45
const GeomDetType & type() const override
Definition: DTLayer.cc:35
const DTSuperLayer * superLayer() const
Definition: DTLayer.cc:43
~DTLayer() override
Definition: DTLayer.cc:30
DTTopology theTopo
Definition: DTLayer.h:63
const Topology & topology() const override
Definition: DTLayer.cc:33