86 : m_inputTFile(nullptr),
87 m_outputTFile(nullptr),
89 m_outputTree(nullptr),
117 desc.setComment(
"Converts tracker geometry comparison trees");
142 for (uint32_t
i = 0;
i < nEntries; ++
i) {
144 std::map<uint32_t, uint32_t>::const_iterator it =
theMap.find(
rawid_i);
168 if (!myfile.is_open())
169 throw cms::Exception(
"FileAccess") <<
"Unable to open input text file";
175 while (!myfile.eof() && myfile.good()) {
176 myfile >> oldid >> newid;
179 std::pair<uint32_t, uint32_t> pairType;
181 pairType.first = oldid;
182 pairType.second = newid;
185 pairType.first = newid;
186 pairType.second = oldid;
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
std::string m_conversionType
T getUntrackedParameter(std::string const &, T const &) const
U second(std::pair< T, U > const &p)
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Tracker_OldtoNewConverter(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
std::map< uint32_t, uint32_t > theMap
~Tracker_OldtoNewConverter() override=default
Log< level::Info, false > LogInfo
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)