Go to the documentation of this file.
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";
std::string theGEMAlignRecordName
AlignmentErrorsExtended * dtAlignmentErrorsExtended()
Get DT alignment errors sorted by DetId.
cond::Time_t beginOfTime() const
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > esTokenGEM_
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.
std::string theGEMErrorRecordName
Log< level::Info, false > LogInfo
AlignmentErrorsExtended * gem_AlignmentErrorsExtended
void saveToDB()
Save alignemnts and error to database.
Alignments * dtAlignments()
Get DT alignments sorted by DetId.
void applyScenario(const edm::ParameterSet &scenario) override
Apply misalignment scenario to the Muon.
#define DEFINE_FWK_MODULE(type)
std::string theDTAlignRecordName
misalignment scenario
Alignments * gemAlignments()
Alignments * csc_Alignments
AlignmentErrorsExtended * csc_AlignmentErrorsExtended
edm::ESGetToken< DTGeometry, MuonGeometryRecord > esTokenDT_
Constructor of the full muon geometry.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
std::string theDTErrorRecordName
AlignmentErrorsExtended * gemAlignmentErrorsExtended()
Alignments * dt_Alignments
std::string theCSCAlignRecordName
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > esTokenCSC_
Alignments * gem_Alignments
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.
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.