16 : txtFileSource_(ps.getUntrackedParameter<std::
string>(
"txtFile")),
17 m_name(ps.getUntrackedParameter<std::
string>(
"name",
"EcalMappingElectronicsHandler")),
18 since_(ps.getUntrackedParameter<long long>(
"since", 1)) {
19 std::cout <<
"EcalMappingElectronics Source handler constructor\n" << std::endl;
25 std::cout <<
"------- Ecal - > getNewObjects\n";
27 std::unique_ptr<EcalMappingElectronics> mapping = std::make_unique<EcalMappingElectronics>();
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";
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
Log< level::Error, false > LogError
EcalMappingElectronicsMap EcalMappingElectronics
std::vector< std::pair< EcalMappingElectronics *, Time_t > > m_to_transfer
void getNewObjects() override
EcalMappingElectronicsHandler(edm::ParameterSet const &)
Log< level::Info, false > LogInfo
~EcalMappingElectronicsHandler() override
std::string fullPath() const
std::string txtFileSource_
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...