CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTGeometryBuilderFromCondDB.h
Go to the documentation of this file.
1 #ifndef DTGEOMETRYBUILDERFROMCONDDB_H
2 #define DTGEOMETRYBUILDERFROMCONDDB_H
3 
16 /* Base Class Headers */
17 
18 /* Collaborating Class Declarations */
19 class RecoIdealGeometry;
20 class DTGeometry;
21 class DTChamber;
22 class DTSuperLayer;
23 class DTLayer;
24 class DetId;
26 
27 /* C++ Headers */
28 #include <memory>
29 #include <vector>
30 
31 /* ====================================================================== */
32 
33 /* Class DTGeometryBuilderFromCondDB Interface */
34 
36 
37  public:
38 
39 /* Constructor */
41 
42 /* Destructor */
44 
45 /* Operations */
46  void build(std::shared_ptr<DTGeometry> theGeometry,
47  const RecoIdealGeometry& rig);
48 
49  private:
50  DTChamber* buildChamber(const DetId& id,
51  const RecoIdealGeometry& rig,
52  size_t idt) const ;
53 
55  const DetId& id,
56  const RecoIdealGeometry& rig,
57  size_t idt) const ;
58 
60  const DetId& id,
61  const RecoIdealGeometry& rig,
62  size_t idt) const ;
63 
64 
66 
67  RCPPlane plane(const std::vector<double>::const_iterator tranStart,
68  const std::vector<double>::const_iterator rotStart,
69  Bounds * bounds) const ;
70 
71  protected:
72 
73 };
74 #endif // DTGEOMETRYBUILDERFROMCONDDB_H
75 
void build(std::shared_ptr< DTGeometry > theGeometry, const RecoIdealGeometry &rig)
ReferenceCountingPointer< Plane > RCPPlane
DTChamber * buildChamber(const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
Definition: DetId.h:18
DTLayer * buildLayer(DTSuperLayer *sl, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
Definition: Bounds.h:22
DTSuperLayer * buildSuperLayer(DTChamber *chamber, const DetId &id, const RecoIdealGeometry &rig, size_t idt) const
RCPPlane plane(const std::vector< double >::const_iterator tranStart, const std::vector< double >::const_iterator rotStart, Bounds *bounds) const