36 : recreateGeometry_(
true),
37 alignmentsLabel_(p.getParameter<
std::
string>(
"alignmentsLabel")),
38 myLabel_(p.getParameter<
std::
string>(
"appendToDataLabel"))
60 if ( useGangedStripsInME1a ) useOnlyWiresInME1a =
false;
78 << (applyAlignment_ ?
"looking for" :
"IGNORING")
114 if (alignments->
empty() && alignmentErrors->
empty() && globalPosition->
empty()) {
115 edm::LogInfo(
"Config") <<
"@SUB=CSCGeometryRecord::produce" 116 <<
"Alignment(Error)s and global position (label '" 118 <<
"'" <<
myLabel_ <<
"') assumes fake and does not apply.";
167 recreateGeometry_=
false;
T getParameter(std::string const &) const
void cscRecoDigiParametersChanged_(const CSCRecoDigiParametersRcd &)
T getUntrackedParameter(std::string const &, T const &) const
depends_on::OneHolder< T, TDependsOnRecord > dependsOn(void(T::*iT)(const TDependsOnRecord &))
bool empty() const
Test of empty vector without having to look into internals:
CSCGeometryESModule(const edm::ParameterSet &p)
Constructor.
const std::string alignmentsLabel_
Class to update a given geometry with a set of alignments.
void muonNumberingChanged_(const MuonNumberingRecord &)
Called when geometry description changes.
const std::string myLabel_
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
~CSCGeometryESModule() override
Destructor.
bool useGangedStripsInME1a
void cscRecoGeometryChanged_(const CSCRecoGeometryRcd &)
const DepRecordT getRecord() const
void build(const std::shared_ptr< CSCGeometry > &theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
std::shared_ptr< CSCGeometry > produce(const MuonGeometryRecord &record)
Produce CSCGeometry.
void initCSCGeometry_(const MuonGeometryRecord &)
void applyAlignments(C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
std::shared_ptr< CSCGeometry > cscGeometry
void build(std::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
bool empty() const
Test of empty vector without having to look into internals:
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)