CMS 3D CMS Logo

CSCGeometryESModule.h
Go to the documentation of this file.
1 #ifndef CSCGeometryBuilder_CSCGeometryESModule_h
2 #define CSCGeometryBuilder_CSCGeometryESModule_h
3 
4 /*
5 // \class CSCGeometryESModule
6 //
7 // Description: CSC ESModule for DD4hep
8 //
9 //
10 // \author Sergio Lo Meo (sergio.lo.meo@cern.ch) following what Ianna Osburne made for DTs (DD4HEP migration)
11 // Created: Thu, 05 March 2020
12 //
13 // Original author: Tim Cox
14 */
15 
34 
35 // Alignments
41 
42 #include <memory>
43 #include <string>
44 
46 public:
49 
51  ~CSCGeometryESModule() override;
52 
54  std::shared_ptr<CSCGeometry> produce(const MuonGeometryRecord& record);
55 
56 private:
58 
59  void initCSCGeometry_(const MuonGeometryRecord&, std::shared_ptr<HostType>& host);
60 
62  // DDD
65  //dd4hep
68 
71 
75 
76  // Flags for controlling geometry modelling during build of CSCGeometry
81  bool debugV;
82  bool applyAlignment_; // Switch to apply alignment corrections
83  bool useDDD_; // whether to build from DDD or DB
84  bool useDD4hep_;
87 };
88 #endif
AlignmentErrorsExtended.h
GlobalPositionRcd.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MuonGeometryConstants.h
ESProducer.h
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
CSCGeometryESModule::useGangedStripsInME1a
bool useGangedStripsInME1a
Definition: CSCGeometryESModule.h:79
CSCGeometryESModule::globalPositionToken_
edm::ESGetToken< Alignments, GlobalPositionRcd > globalPositionToken_
Definition: CSCGeometryESModule.h:72
DetectorGlobalPosition.h
CSCGeometryESModule::CSCGeometryESModule
CSCGeometryESModule(const edm::ParameterSet &p)
Constructor.
Definition: CSCGeometryESModule.cc:30
CSCGeometryESModule::useRealWireGeometry
bool useRealWireGeometry
Definition: CSCGeometryESModule.h:77
MuonNumberingRecord.h
ESGetToken.h
DDCompactView.h
query.host
host
Definition: query.py:115
edm::ReusableObjectHolder< HostType >
CSCGeometryESModule::alignmentErrorsToken_
edm::ESGetToken< AlignmentErrorsExtended, CSCAlignmentErrorExtendedRcd > alignmentErrorsToken_
Definition: CSCGeometryESModule.h:74
ReusableObjectHolder.h
CSCAlignmentErrorExtendedRcd.h
CSCGeometryESModule::mdcTokendd4hep_
edm::ESGetToken< cms::MuonNumbering, MuonNumberingRecord > mdcTokendd4hep_
Definition: CSCGeometryESModule.h:67
CSCRecoGeometryRcd.h
CSCGeometryESModule::useOnlyWiresInME1a
bool useOnlyWiresInME1a
Definition: CSCGeometryESModule.h:78
DDCompactView.h
CSCGeometryESModule::mdcToken_
edm::ESGetToken< MuonGeometryConstants, IdealGeometryRecord > mdcToken_
Definition: CSCGeometryESModule.h:64
RecoIdealGeometry.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CSCRecoDigiParameters.h
CSCGeometryESModule::useDD4hep_
bool useDD4hep_
Definition: CSCGeometryESModule.h:84
edm::ParameterSet
Definition: ParameterSet.h:36
CSCGeometryESModule::~CSCGeometryESModule
~CSCGeometryESModule() override
Destructor.
Definition: CSCGeometryESModule.cc:93
CSCGeometryESModule::debugV
bool debugV
Definition: CSCGeometryESModule.h:81
IdealGeometryRecord.h
CSCGeometryESModule::cpvToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
Definition: CSCGeometryESModule.h:63
edm::ESGetToken< DDCompactView, IdealGeometryRecord >
CSCGeometryESModule::alignmentsToken_
edm::ESGetToken< Alignments, CSCAlignmentRcd > alignmentsToken_
Definition: CSCGeometryESModule.h:73
DD4hep_MuonNumbering.h
edm::ESProductHost
Definition: ESProductHost.h:93
CSCGeometryESModule::cpvTokendd4hep_
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > cpvTokendd4hep_
Definition: CSCGeometryESModule.h:66
CSCGeometryESModule::useCentreTIOffsets
bool useCentreTIOffsets
Definition: CSCGeometryESModule.h:80
CSCGeometryESModule::produce
std::shared_ptr< CSCGeometry > produce(const MuonGeometryRecord &record)
Produce CSCGeometry.
Definition: CSCGeometryESModule.cc:95
CSCGeometryESModule::rigToken_
edm::ESGetToken< RecoIdealGeometry, CSCRecoGeometryRcd > rigToken_
Definition: CSCGeometryESModule.h:69
CSCGeometryESModule::applyAlignment_
bool applyAlignment_
Definition: CSCGeometryESModule.h:82
CSCGeometryESModule::rdpToken_
edm::ESGetToken< CSCRecoDigiParameters, CSCRecoDigiParametersRcd > rdpToken_
Definition: CSCGeometryESModule.h:70
edm::ESProducer
Definition: ESProducer.h:101
ESProductHost.h
CSCRecoDigiParametersRcd.h
ParameterSet.h
MuonGeometryRecord.h
CSCGeometryESModule::myLabel_
const std::string myLabel_
Definition: CSCGeometryESModule.h:86
CSCGeometryESModule
Definition: CSCGeometryESModule.h:45
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
CSCGeometryESModule::holder_
edm::ReusableObjectHolder< HostType > holder_
Definition: CSCGeometryESModule.h:61
CSCGeometryESModule::useDDD_
bool useDDD_
Definition: CSCGeometryESModule.h:83
CSCGeometryESModule::alignmentsLabel_
const std::string alignmentsLabel_
Definition: CSCGeometryESModule.h:85
CSCAlignmentRcd.h
CSCGeometry.h
CSCGeometryESModule::initCSCGeometry_
void initCSCGeometry_(const MuonGeometryRecord &, std::shared_ptr< HostType > &host)
Definition: CSCGeometryESModule.cc:125