CMS 3D CMS Logo

DTGeometryESModule.h
Go to the documentation of this file.
1 #ifndef DTGeometryBuilder_DTGeometryESModule_h
2 #define DTGeometryBuilder_DTGeometryESModule_h
3 
19 
25 
26 // Alignments
34 
35 #include <memory>
36 #include <string>
37 
39 public:
42 
44  ~DTGeometryESModule() override;
45 
47  std::shared_ptr<DTGeometry> produce(const MuonGeometryRecord& record);
48 
49 private:
50 
54 
55  void setupGeometry(MuonNumberingRecord const&, std::shared_ptr<HostType>&);
56  void setupDBGeometry(DTRecoGeometryRcd const&, std::shared_ptr<HostType>&);
57 
59 
66 
67  bool applyAlignment_; // Switch to apply alignment corrections
70  bool fromDDD_;
71 };
72 #endif
std::shared_ptr< DTGeometry > produce(const MuonGeometryRecord &record)
Produce DTGeometry.
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
JetCorrectorParameters::Record record
Definition: classes.h:7
edm::ReusableObjectHolder< HostType > holder_
~DTGeometryESModule() override
Destructor.
const std::string myLabel_
const std::string alignmentsLabel_
void setupDBGeometry(DTRecoGeometryRcd const &, std::shared_ptr< HostType > &)
edm::ESGetToken< Alignments, GlobalPositionRcd > globalPositionToken_
edm::ESGetToken< MuonDDDConstants, MuonNumberingRecord > mdcToken_
void setupGeometry(MuonNumberingRecord const &, std::shared_ptr< HostType > &)
edm::ESGetToken< Alignments, DTAlignmentRcd > alignmentsToken_
DTGeometryESModule(const edm::ParameterSet &p)
Constructor.
edm::ESGetToken< AlignmentErrorsExtended, DTAlignmentErrorExtendedRcd > alignmentErrorsToken_
edm::ESGetToken< RecoIdealGeometry, DTRecoGeometryRcd > rigToken_
MuonNumberingRecord
Definition: align_cfg.py:65