CMS 3D CMS Logo

DTGeometryParsFromDD.h
Go to the documentation of this file.
1 #ifndef DTGeometryBuilder_DTGeometryParsFromDD_h
2 #define DTGeometryBuilder_DTGeometryParsFromDD_h
3 
12 #include <vector>
13 
14 class DTGeometry;
15 class DDCompactView;
16 class DDFilteredView;
17 class DTChamber;
18 class DTSuperLayer;
19 class DTLayer;
20 class Bounds;
22 class RecoIdealGeometry;
23 
25 public:
28 
30  virtual ~DTGeometryParsFromDD();
31 
32  // Operations
33  void build(const DDCompactView* cview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rig);
34 
36 
37 private:
40  const std::string& type,
41  const MuonGeometryConstants& muonConstants,
42  RecoIdealGeometry& rig) const;
43 
46  const std::string& type,
47  const MuonGeometryConstants& muonConstants,
48  RecoIdealGeometry& rig) const;
49 
51  void insertLayer(DDFilteredView& fv,
52  const std::string& type,
53  const MuonGeometryConstants& muonConstants,
54  RecoIdealGeometry& rig) const;
55 
57  std::vector<double> extractParameters(DDFilteredView& fv) const;
58 
59  typedef std::pair<std::vector<double>, std::vector<double> > PosRotPair;
60 
61  PosRotPair plane(const DDFilteredView& fv) const;
62 
63  void buildGeometry(DDFilteredView& fv, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rig) const;
64 };
65 #endif
DTGeometry
Definition: DTGeometry.h:28
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
DTGeometryParsFromDD::insertLayer
void insertLayer(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the layer
Definition: DTGeometryParsFromDD.cc:149
DTGeometryParsFromDD::insertChamber
void insertChamber(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the chamber
Definition: DTGeometryParsFromDD.cc:101
DTChamber
Definition: DTChamber.h:24
DTGeometryParsFromDD::DTChamberTag
Definition: DTGeometryParsFromDD.h:35
Bounds
Definition: Bounds.h:18
DTSuperLayer
Definition: DTSuperLayer.h:24
DTGeometryParsFromDD::plane
PosRotPair plane(const DDFilteredView &fv) const
Definition: DTGeometryParsFromDD.cc:202
DTGeometryParsFromDD::buildGeometry
void buildGeometry(DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
Definition: DTGeometryParsFromDD.cc:50
DTGeometryParsFromDD::DTGeometryParsFromDD
DTGeometryParsFromDD()
Constructor.
Definition: DTGeometryParsFromDD.cc:29
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DTGeometryParsFromDD::~DTGeometryParsFromDD
virtual ~DTGeometryParsFromDD()
Destructor.
Definition: DTGeometryParsFromDD.cc:31
DTGeometryParsFromDD::DTSuperLayerTag
Definition: DTGeometryParsFromDD.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTGeometryParsFromDD
Definition: DTGeometryParsFromDD.h:24
DTGeometryParsFromDD::DTDetTag
DTDetTag
Definition: DTGeometryParsFromDD.h:35
DTGeometryParsFromDD::extractParameters
std::vector< double > extractParameters(DDFilteredView &fv) const
get parameter also for boolean solid.
Definition: DTGeometryParsFromDD.cc:186
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
DTLayer
Definition: DTLayer.h:25
DTGeometryParsFromDD::PosRotPair
std::pair< std::vector< double >, std::vector< double > > PosRotPair
Definition: DTGeometryParsFromDD.h:59
DTGeometryParsFromDD::build
void build(const DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig)
Definition: DTGeometryParsFromDD.cc:33
DTGeometryParsFromDD::DTLayerTag
Definition: DTGeometryParsFromDD.h:35
BoundPlane.h
DDFilteredView
Definition: DDFilteredView.h:20
DTGeometryParsFromDD::insertSuperLayer
void insertSuperLayer(DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const
create the SL
Definition: DTGeometryParsFromDD.cc:127
RecoIdealGeometry
Definition: RecoIdealGeometry.h:28