Go to the documentation of this file.
24 : alignmentsLabel_(
p.getParameter<
std::
string>(
"alignmentsLabel")),
25 myLabel_(
p.getParameter<
std::
string>(
"appendToDataLabel")),
26 fromDDD_(
p.getParameter<
bool>(
"fromDDD")) {
68 if (alignments.empty() && alignmentErrors.empty() && globalPosition.empty()) {
69 edm::LogInfo(
"Config") <<
"@SUB=DTGeometryRecord::produce"
71 <<
"') empty: Geometry producer (label "
72 <<
"'" <<
myLabel_ <<
"') assumes fake and does not apply.";
DTGeometryESModule(const edm::ParameterSet &p)
Constructor.
T const * product() const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESGetToken< RecoIdealGeometry, DTRecoGeometryRcd > rigToken_
~DTGeometryESModule() override
Destructor.
std::shared_ptr< T > makeOrGet(F iFunc)
If there isn't an object already available, creates a new one using iFunc.
const std::string myLabel_
Compact representation of the geometrical detector hierarchy.
edm::ReusableObjectHolder< HostType > holder_
void build(DTGeometry &theGeometry, const DDCompactView *cview, const MuonGeometryConstants &muonConstants)
void setupDBGeometry(DTRecoGeometryRcd const &, std::shared_ptr< HostType > &)
edm::ESGetToken< Alignments, GlobalPositionRcd > globalPositionToken_
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
edm::ESGetToken< Alignments, DTAlignmentRcd > alignmentsToken_
const std::string alignmentsLabel_
void build(const std::shared_ptr< DTGeometry > &theGeometry, const RecoIdealGeometry &rig)
edm::ESProductHost< DTGeometry, MuonNumberingRecord, DTRecoGeometryRcd > HostType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< AlignmentErrorsExtended, DTAlignmentErrorExtendedRcd > alignmentErrorsToken_
edm::ESGetToken< MuonGeometryConstants, IdealGeometryRecord > mdcToken_
std::shared_ptr< DTGeometry > produce(const MuonGeometryRecord &record)
Produce DTGeometry.
void setupGeometry(MuonNumberingRecord const &, std::shared_ptr< HostType > &)
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
Class to update a given geometry with a set of alignments.
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_