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 &))
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())
bool useGangedStripsInME1a
void build(boost::shared_ptr< CSCGeometry > geom, const DDCompactView *fv, const MuonDDDConstants &muonConstants)
Build the geometry.
const DepRecordT & getRecord() const
virtual ~CSCGeometryESModule()
Destructor.
void cscRecoGeometryChanged_(const CSCRecoGeometryRcd &)
boost::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)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void build(boost::shared_ptr< CSCGeometry > theGeometry, const RecoIdealGeometry &rig, const CSCRecoDigiParameters &cscpars)
Build the geometry.
const AlignTransform & DetectorGlobalPosition(const Alignments &allGlobals, const DetId &id)
boost::shared_ptr< CSCGeometry > cscGeometry