|
|
Go to the documentation of this file.
81 m_input(iConfig.getParameter<
std::
string>(
"input")),
82 m_output(iConfig.getParameter<
std::
string>(
"output")),
86 idealGeometryLabelForInputMethod(
"idealForInputMethod"),
87 idealGeometryLabelForInputDB(
"idealForInputDB"),
88 idealGeometryLabelForInputXML(
"idealForInputXML"),
89 idealGeometryLabelForInputSurveyDB(
"idealForInputSurveyDB") {
129 throw cms::Exception(
"BadConfig") <<
"input must be \"ideal\", \"db\", \"surveydb\", or \"xml\"." << std::endl;
146 throw cms::Exception(
"BadConfig") <<
"output must be \"none\", \"db\", or \"surveydb\"." << std::endl;
216 throw cms::Exception(
"BadConfig") <<
"Set maxEvents.input to 1. (Your output is okay.)" << std::endl;
223 desc.setComment(
"Converts muon geometry between various formats.");
228 desc.add<
double>(
"shiftErr", 1000.0);
229 desc.add<
double>(
"angleErr", 6.28);
230 desc.add<
bool>(
"getAPEs",
true);
238 outputXML.add<
bool>(
"eulerAngles",
false);
240 outputXML.addUntracked<
bool>(
"suppressDTBarrel",
true);
241 outputXML.addUntracked<
bool>(
"suppressDTWheels",
true);
242 outputXML.addUntracked<
bool>(
"suppressDTStations",
true);
243 outputXML.addUntracked<
bool>(
"suppressDTChambers",
false);
244 outputXML.addUntracked<
bool>(
"suppressDTSuperLayers",
false);
245 outputXML.addUntracked<
bool>(
"suppressDTLayers",
false);
246 outputXML.addUntracked<
bool>(
"suppressCSCEndcaps",
true);
247 outputXML.addUntracked<
bool>(
"suppressCSCStations",
true);
248 outputXML.addUntracked<
bool>(
"suppressCSCRings",
true);
249 outputXML.addUntracked<
bool>(
"suppressCSCChambers",
false);
250 outputXML.addUntracked<
bool>(
"suppressCSCLayers",
false);
252 descriptions.
add(
"muonGeometryDBConverter",
desc);
MuonGeometryDBConverter(const edm::ParameterSet &)
std::string idealGeometryLabelForInputMethod
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
std::string idealGeometryLabelForInputDB
std::string idealGeometryLabelForInputXML
edm::ParameterSet m_misalignmentScenario
T getParameter(std::string const &) const
~MuonGeometryDBConverter() override
std::string idealGeometryLabelForInputSurveyDB
void analyze(const edm::Event &, const edm::EventSetup &) override
Builds a scenario from configuration and applies it to the alignable Muon.