74 : theSaveToDB(
p.getUntrackedParameter<
bool>(
"saveToDbase")),
76 theDTAlignRecordName(
"DTAlignmentRcd"),
77 theDTErrorRecordName(
"DTAlignmentErrorExtendedRcd"),
78 theCSCAlignRecordName(
"CSCAlignmentRcd"),
79 theCSCErrorRecordName(
"CSCAlignmentErrorExtendedRcd"),
80 theGEMAlignRecordName(
"GEMAlignmentRcd"),
81 theGEMErrorRecordName(
"GEMAlignmentErrorExtendedRcd"),
132 throw cms::Exception(
"NotAvailable") <<
"PoolDBOutputService not available";
Builds a scenario from configuration and applies it to the alignable Muon.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > esTokenDT_
~MuonMisalignedProducer() override
Destructor.
cond::Time_t beginOfTime() const
std::string theCSCErrorRecordName
std::string theCSCAlignRecordName
const edm::ParameterSet theScenario
whether or not writing to DB
Alignments gem_Alignments
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > esTokenCSC_
Alignments * dtAlignments()
Get DT alignments sorted by DetId.
std::string theGEMAlignRecordName
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
AlignmentErrorsExtended dt_AlignmentErrorsExtended
#define DEFINE_FWK_MODULE(type)
std::string theGEMErrorRecordName
AlignmentErrorsExtended * cscAlignmentErrorsExtended()
Get CSC alignment errors sorted by DetId.
Log< level::Info, false > LogInfo
void analyze(const edm::Event &, const edm::EventSetup &) override
Produce the misaligned Muon geometry and store iti.
Alignments csc_Alignments
Alignments * cscAlignments()
Get CSC alignments sorted by DetId.
Alignments * gemAlignments()
AlignmentErrorsExtended csc_AlignmentErrorsExtended
MuonMisalignedProducer(const edm::ParameterSet &)
Constructor.
AlignmentErrorsExtended * dtAlignmentErrorsExtended()
Get DT alignment errors sorted by DetId.
AlignmentErrorsExtended * gemAlignmentErrorsExtended()
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > esTokenGEM_
void saveToDB()
Save alignemnts and error to database.
void applyScenario(const edm::ParameterSet &scenario) override
Apply misalignment scenario to the Muon.
std::string theDTAlignRecordName
misalignment scenario
Constructor of the full muon geometry.
AlignmentErrorsExtended gem_AlignmentErrorsExtended
std::string theDTErrorRecordName