|
|
|
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
|
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord > |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord , typename TArg > |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
|
void | usesResources (std::vector< std::string > const &) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &key) |
|
Definition at line 49 of file CSCGeometryESModule.cc.
◆ HostType
◆ CSCGeometryESModule()
Constructor.
Definition at line 94 of file CSCGeometryESModule.cc.
95 :
fromDDD_(
p.getParameter<
bool>(
"fromDDD")),
128 debugV_ =
p.getUntrackedParameter<
bool>(
"debugV",
false);
151 << (
applyAlignment_ ?
"looking for" :
"IGNORING") <<
" alignment labels '"
References alignmentErrorsToken_, alignmentsLabel_, alignmentsToken_, applyAlignment_, cpvToken_, cpvTokendd4hep_, debugV_, fromDD4hep_, fromDDD_, globalPositionToken_, mdcToken_, myLabel_, AlCaHLTBitMon_ParallelJobs::p, rdpToken_, rigToken_, edm::ESProducer::setWhatProduced(), useCentreTIOffsets_, useGangedStripsInME1a_, useOnlyWiresInME1a_, and useRealWireGeometry_.
◆ fillDescriptions()
Creation of configuration file.
Definition at line 155 of file CSCGeometryESModule.cc.
163 desc.add<
bool>(
"fromDDD",
true);
164 desc.add<
bool>(
"fromDD4hep",
false);
167 desc.add<
bool>(
"useRealWireGeometry",
true);
168 desc.add<
bool>(
"useOnlyWiresInME1a",
false);
169 desc.add<
bool>(
"useGangedStripsInME1a",
true);
170 desc.add<
bool>(
"useCentreTIOffsets",
false);
171 desc.add<
bool>(
"applyAlignment",
true);
172 desc.addUntracked<
bool>(
"debugV",
false);
173 descriptions.
add(
"CSCGeometryESModule",
desc);
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ initCSCGeometry_()
◆ produce()
◆ alignmentErrorsToken_
◆ alignmentsLabel_
const std::string CSCGeometryESModule::alignmentsLabel_ |
|
private |
◆ alignmentsToken_
◆ applyAlignment_
bool CSCGeometryESModule::applyAlignment_ |
|
private |
◆ cpvToken_
◆ cpvTokendd4hep_
◆ debugV_
bool CSCGeometryESModule::debugV_ |
|
private |
◆ fromDD4hep_
bool CSCGeometryESModule::fromDD4hep_ |
|
private |
◆ fromDDD_
bool CSCGeometryESModule::fromDDD_ |
|
private |
◆ globalPositionToken_
◆ holder_
◆ mdcToken_
◆ myLabel_
const std::string CSCGeometryESModule::myLabel_ |
|
private |
◆ rdpToken_
◆ rigToken_
◆ useCentreTIOffsets_
bool CSCGeometryESModule::useCentreTIOffsets_ |
|
private |
◆ useGangedStripsInME1a_
bool CSCGeometryESModule::useGangedStripsInME1a_ |
|
private |
◆ useOnlyWiresInME1a_
bool CSCGeometryESModule::useOnlyWiresInME1a_ |
|
private |
◆ useRealWireGeometry_
bool CSCGeometryESModule::useRealWireGeometry_ |
|
private |
T const * product() const
bool useRealWireGeometry_
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESGetToken< Alignments, GlobalPositionRcd > globalPositionToken_
void applyAlignments(const C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
std::shared_ptr< T > makeOrGet(F iFunc)
If there isn't an object already available, creates a new one using iFunc.
edm::ESGetToken< AlignmentErrorsExtended, CSCAlignmentErrorExtendedRcd > alignmentErrorsToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void build(CSCGeometry &theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
edm::ESGetToken< MuonGeometryConstants, IdealGeometryRecord > mdcToken_
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
void build(CSCGeometry &geom, const DDCompactView *fv, const MuonGeometryConstants &muonConstants)
bool useGangedStripsInME1a_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
edm::ESProductHost< CSCGeometry, IdealGeometryRecord, CSCRecoGeometryRcd, CSCRecoDigiParametersRcd > HostType
edm::ESGetToken< Alignments, CSCAlignmentRcd > alignmentsToken_
Log< level::Info, true > LogVerbatim
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > cpvTokendd4hep_
edm::ESGetToken< RecoIdealGeometry, CSCRecoGeometryRcd > rigToken_
edm::ESGetToken< CSCRecoDigiParameters, CSCRecoDigiParametersRcd > rdpToken_
const std::string myLabel_
edm::ReusableObjectHolder< HostType > holder_
Class to update a given geometry with a set of alignments.
const std::string alignmentsLabel_
void initCSCGeometry_(const MuonGeometryRecord &, std::shared_ptr< HostType > &host)