Go to the documentation of this file.
65 : theSaveToDB(
p.getUntrackedParameter<
bool>(
"saveToDbase")),
67 theDTAlignRecordName(
"DTAlignmentRcd"),
68 theDTErrorRecordName(
"DTAlignmentErrorExtendedRcd"),
69 theCSCAlignRecordName(
"CSCAlignmentRcd"),
70 theCSCErrorRecordName(
"CSCAlignmentErrorExtendedRcd"),
71 theIdealGeometryLabel(
"idealForMuonMisalignedProducer") {}
117 throw cms::Exception(
"NotAvailable") <<
"PoolDBOutputService not available";
AlignmentErrorsExtended * dtAlignmentErrorsExtended()
Get DT alignment errors sorted by DetId.
cond::Time_t beginOfTime() const
void analyze(const edm::Event &, const edm::EventSetup &) override
Produce the misaligned Muon geometry and store iti.
MuonMisalignedProducer(const edm::ParameterSet &)
Constructor.
Alignments * cscAlignments()
Get CSC alignments sorted by DetId.
Log< level::Info, false > LogInfo
void saveToDB()
Save alignemnts and error to database.
Alignments * dtAlignments()
Get DT alignments sorted by DetId.
void applyAlignments(const C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
void applyScenario(const edm::ParameterSet &scenario) override
Apply misalignment scenario to the Muon.
#define DEFINE_FWK_MODULE(type)
std::string theDTAlignRecordName
misalignment scenario
Alignments * csc_Alignments
AlignmentErrorsExtended * csc_AlignmentErrorsExtended
Constructor of the full muon geometry.
std::string theDTErrorRecordName
Alignments * dt_Alignments
std::string theCSCAlignRecordName
Hash writeOne(const T *payload, Time_t time, const std::string &recordName)
~MuonMisalignedProducer() override
Destructor.
std::string theCSCErrorRecordName
AlignmentErrorsExtended * cscAlignmentErrorsExtended()
Get CSC alignment errors sorted by DetId.
std::string theIdealGeometryLabel
AlignmentErrorsExtended * dt_AlignmentErrorsExtended
const edm::ParameterSet theScenario
whether or not writing to DB
Builds a scenario from configuration and applies it to the alignable Muon.
Class to update a given geometry with a set of alignments.