29 : alignmentsLabel_(p.getParameter<std::string>(
"alignmentsLabel")),
30 myLabel_(p.getParameter<std::string>(
"appendToDataLabel"))
38 edm::LogInfo(
"Geometry") <<
"@SUB=TrackerDigiGeometryESModule"
48 boost::shared_ptr<TrackerGeometry>
58 _tracker = boost::shared_ptr<TrackerGeometry>(builder.
build(&(*gD)));
69 if (alignments->empty() && alignmentErrors->empty() && globalPosition->empty()) {
70 edm::LogInfo(
"Config") <<
"@SUB=TrackerDigiGeometryRecord::produce"
71 <<
"Alignment(Error)s and global position (label '"
73 <<
"'" <<
myLabel_ <<
"') assumes fake and does not apply.";
84 if (surfaceDeformations->empty()) {
85 edm::LogInfo(
"Config") <<
"@SUB=TrackerDigiGeometryRecord::produce"
86 <<
"AlignmentSurfaceDeformations (label '"
88 <<
"'" <<
myLabel_ <<
"') assumes fake and does not apply.";
T getParameter(std::string const &) const
virtual ~TrackerDigiGeometryESModule()
boost::shared_ptr< TrackerGeometry > _tracker
Called when geometry description changes.
Class to update a given geometry with a set of alignments.
const std::string myLabel_
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
boost::shared_ptr< TrackerGeometry > produce(const TrackerDigiGeometryRecord &)
const DepRecordT & getRecord() const
void attachSurfaceDeformations(C *geometry, const AlignmentSurfaceDeformations *surfaceDeformations)
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrors *alignmentErrors, const AlignTransform &globalCoordinates)
const std::string alignmentsLabel_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
TrackerGeometry * build(const GeometricDet *gd)
TrackerDigiGeometryESModule(const edm::ParameterSet &p)
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)