32 : alignmentsLabel_(p.getParameter<std::
string>(
"alignmentsLabel")),
33 myLabel_(p.getParameter<std::
string>(
"appendToDataLabel"))
40 edm::LogInfo(
"Geometry") <<
"@SUB=TrackerDigiGeometryESModule"
54 descDB.
add<
bool>(
"fromDDD",
false );
55 descDB.
add<
bool>(
"applyAlignment",
true );
57 descriptions.
add(
"trackerGeometryDB", descDB );
61 desc.
add<
bool>(
"fromDDD",
true );
62 desc.
add<
bool>(
"applyAlignment",
true );
64 descriptions.
add(
"trackerGeometry", desc );
68 boost::shared_ptr<TrackerGeometry>
81 _tracker = boost::shared_ptr<TrackerGeometry>(builder.
build(&(*gD), *ptp ));
92 if (alignments->empty() && alignmentErrors->empty() && globalPosition->empty()) {
93 edm::LogInfo(
"Config") <<
"@SUB=TrackerDigiGeometryRecord::produce"
94 <<
"Alignment(Error)s and global position (label '"
96 <<
"'" <<
myLabel_ <<
"') assumes fake and does not apply.";
107 if (surfaceDeformations->empty()) {
108 edm::LogInfo(
"Config") <<
"@SUB=TrackerDigiGeometryRecord::produce"
109 <<
"AlignmentSurfaceDeformations (label '"
111 <<
"'" <<
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.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
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)
const std::string alignmentsLabel_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
TrackerDigiGeometryESModule(const edm::ParameterSet &p)
TrackerGeometry * build(const GeometricDet *gd, const PTrackerParameters &ptp)
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
volatile std::atomic< bool > shutdown_flag false