|
|
Go to the documentation of this file.
79 m_input(iConfig.getParameter<
std::
string>(
"input")),
80 m_output(iConfig.getParameter<
std::
string>(
"output")),
121 throw cms::Exception(
"BadConfig") <<
"input must be \"ideal\", \"db\", \"surveydb\", or \"xml\"." << std::endl;
138 throw cms::Exception(
"BadConfig") <<
"output must be \"none\", \"db\", or \"surveydb\"." << std::endl;
208 throw cms::Exception(
"BadConfig") <<
"Set maxEvents.input to 1. (Your output is okay.)" << std::endl;
215 desc.
setComment(
"Converts muon geometry between various formats.");
219 desc.
add<
double>(
"shiftErr", 1000.0);
220 desc.
add<
double>(
"angleErr", 6.28);
221 desc.
add<
bool>(
"getAPEs",
true);
229 outputXML.add<
bool>(
"eulerAngles",
false);
231 outputXML.addUntracked<
bool>(
"suppressDTBarrel",
true);
232 outputXML.addUntracked<
bool>(
"suppressDTWheels",
true);
233 outputXML.addUntracked<
bool>(
"suppressDTStations",
true);
234 outputXML.addUntracked<
bool>(
"suppressDTChambers",
false);
235 outputXML.addUntracked<
bool>(
"suppressDTSuperLayers",
false);
236 outputXML.addUntracked<
bool>(
"suppressDTLayers",
false);
237 outputXML.addUntracked<
bool>(
"suppressCSCEndcaps",
true);
238 outputXML.addUntracked<
bool>(
"suppressCSCStations",
true);
239 outputXML.addUntracked<
bool>(
"suppressCSCRings",
true);
240 outputXML.addUntracked<
bool>(
"suppressCSCChambers",
false);
241 outputXML.addUntracked<
bool>(
"suppressCSCLayers",
false);
243 descriptions.
add(
"muonGeometryDBConverter", desc);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
MuonGeometryDBConverter(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &)
void applyScenario(const edm::ParameterSet &scenario) override
Apply misalignment scenario to the Muon.
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ParameterSet m_outputXML
void setComment(std::string const &value)
T getParameter(std::string const &) const
edm::ParameterSet m_misalignmentScenario
~MuonGeometryDBConverter() override
void analyze(const edm::Event &, const edm::EventSetup &) override
Builds a scenario from configuration and applies it to the alignable Muon.