CMS 3D CMS Logo

CSCGeometryESModule.h
Go to the documentation of this file.
1 #ifndef CSCGeometryBuilder_CSCGeometryESModule_h
2 #define CSCGeometryBuilder_CSCGeometryESModule_h
3 
19 
22 
29 
30 // Alignments
36 
37 #include <memory>
38 #include <string>
39 
41 public:
44 
46  ~CSCGeometryESModule() override;
47 
49  std::shared_ptr<CSCGeometry> produce(const MuonGeometryRecord& record);
50 
51 private:
53 
54  void initCSCGeometry_(const MuonGeometryRecord&, std::shared_ptr<HostType>& host);
55 
57 
60 
63 
67 
68  // Flags for controlling geometry modelling during build of CSCGeometry
73  bool debugV;
74  bool applyAlignment_; // Switch to apply alignment corrections
75  bool useDDD_; // whether to build from DDD or DB
78 };
79 #endif
host
Definition: query.py:115
edm::ESGetToken< Alignments, CSCAlignmentRcd > alignmentsToken_
CSCGeometryESModule(const edm::ParameterSet &p)
Constructor.
const std::string alignmentsLabel_
JetCorrectorParameters::Record record
Definition: classes.h:7
const std::string myLabel_
edm::ESGetToken< CSCRecoDigiParameters, CSCRecoDigiParametersRcd > rdpToken_
void initCSCGeometry_(const MuonGeometryRecord &, std::shared_ptr< HostType > &host)
edm::ESGetToken< Alignments, GlobalPositionRcd > globalPositionToken_
~CSCGeometryESModule() override
Destructor.
std::shared_ptr< CSCGeometry > produce(const MuonGeometryRecord &record)
Produce CSCGeometry.
edm::ESGetToken< AlignmentErrorsExtended, CSCAlignmentErrorExtendedRcd > alignmentErrorsToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
edm::ESGetToken< MuonDDDConstants, MuonNumberingRecord > mdcToken_
edm::ReusableObjectHolder< HostType > holder_
edm::ESGetToken< RecoIdealGeometry, CSCRecoGeometryRcd > rigToken_