35 : alignmentsLabel_(p.getParameter<
std::
string>(
"alignmentsLabel")),
36 myLabel_(p.getParameter<
std::
string>(
"appendToDataLabel")),
37 fromDDD_(p.getParameter<
bool>(
"fromDDD"))
56 std::shared_ptr<DTGeometry>
72 if (alignments->
empty() && alignmentErrors->
empty() && globalPosition->
empty()) {
73 edm::LogInfo(
"Config") <<
"@SUB=DTGeometryRecord::produce" 74 <<
"Alignment(Error)s and global position (label '" 76 <<
"'" <<
myLabel_ <<
"') assumes fake and does not apply.";
80 &(*alignments), &(*alignmentErrors),
T getParameter(std::string const &) const
depends_on::OneHolder< T, TDependsOnRecord > dependsOn(void(T::*iT)(const TDependsOnRecord &))
std::shared_ptr< DTGeometry > produce(const MuonGeometryRecord &record)
Produce DTGeometry.
bool empty() const
Test of empty vector without having to look into internals:
Class to update a given geometry with a set of alignments.
void geometryCallback_(const MuonNumberingRecord &record)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
~DTGeometryESModule() override
Destructor.
const std::string myLabel_
const DepRecordT getRecord() const
void get(HolderT &iHolder) const
const std::string alignmentsLabel_
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
bool empty() const
Test of empty vector without having to look into internals:
void dbGeometryCallback_(const DTRecoGeometryRcd &record)
void build(std::shared_ptr< DTGeometry > theGeometry, const DDCompactView *cview, const MuonDDDConstants &muonConstants)
std::shared_ptr< DTGeometry > _dtGeometry
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
DTGeometryESModule(const edm::ParameterSet &p)
Constructor.
void build(const std::shared_ptr< DTGeometry > &theGeometry, const RecoIdealGeometry &rig)