15 : txtFileSource_(ps.getUntrackedParameter<
std::
string>(
"txtFile")),
16 m_name(ps.getUntrackedParameter<
std::
string>(
"name",
"EcalMappingElectronicsHandler")),
17 since_(ps.getUntrackedParameter<long long>(
"since", 1)) {
18 std::cout <<
"EcalMappingElectronics Source handler constructor\n" << std::endl;
24 std::cout <<
"------- Ecal - > getNewObjects\n";
26 std::unique_ptr<EcalMappingElectronics>
mapping =
34 edm::LogError(
"EcalMappingElectronicsHandler") <<
"File not found";
43 int dccid, towerid, pseudostrip_in_SC, xtal_in_pseudostrip;
44 int tccid,
tower, pseudostrip_in_TCC, pseudostrip_in_TT;
48 f >> ix >> iy >> iz >>
CL >> dccid >> towerid >> pseudostrip_in_SC >> xtal_in_pseudostrip >> tccid >>
tower >>
49 pseudostrip_in_TCC >> pseudostrip_in_TT;
62 (*payload).setValue(detid, aElement);
66 edm::LogInfo(
"EcalMappingElectronicsHandler") <<
"Reading completed ready to insert in DB";