62 std::map< uint32_t, uint32_t >
theMap;
125 uint32_t nEntries = m_inputTree->GetEntries();
127 for (uint32_t
i = 0;
i < nEntries; ++
i){
128 m_inputTree->GetEntry(
i);
129 std::map< uint32_t, uint32_t >::const_iterator it =
theMap.find(
rawid_i);
150 m_outputTFile->Close();
158 if (!myfile.is_open())
159 throw cms::Exception(
"FileAccess") <<
"Unable to open input text file";
165 while( !myfile.eof() && myfile.good() ){
167 myfile >> oldid >>
newid;
170 std::pair< uint32_t, uint32_t > pairType;
175 theMap.insert( pairType );
177 if (myfile.fail())
break;
T getUntrackedParameter(std::string const &, T const &) const
std::string m_conversionType
#define DEFINE_FWK_MODULE(type)
U second(std::pair< T, U > const &p)
Tracker_OldtoNewConverter(const edm::ParameterSet &)
std::map< uint32_t, uint32_t > theMap
virtual void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
~Tracker_OldtoNewConverter()