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