#include <EcalMappingElectronicsHandler.h>
◆ EcalMappingElectronicsHandler()
EcalMappingElectronicsHandler::EcalMappingElectronicsHandler |
( |
edm::ParameterSet const & |
ps | ) |
|
◆ ~EcalMappingElectronicsHandler()
EcalMappingElectronicsHandler::~EcalMappingElectronicsHandler |
( |
| ) |
|
|
override |
◆ getNewObjects()
void EcalMappingElectronicsHandler::getNewObjects |
( |
| ) |
|
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalMappingElectronics >.
Definition at line 24 of file EcalMappingElectronicsHandler.cc.
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";
References L1DTConfigBti_cff::CL, gather_cfg::cout, EcalMappingElement::electronicsid, Exception, f, contentValuesFiles::fullPath, edm::FileInPath::fullPath(), popcon::PopConSourceHandler< EcalMappingElectronics >::m_to_transfer, taus_updatedMVAIds_cff::mapping, jets_cff::payload, EcalTriggerElectronicsId::rawId(), EcalElectronicsId::rawId(), since_, hgcalTowerProducer_cfi::tower, EcalMappingElement::triggerid, txtFileSource_, and EEDetId::XYMODE.
◆ id()
std::string EcalMappingElectronicsHandler::id |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ m_name
std::string EcalMappingElectronicsHandler::m_name |
|
private |
◆ myMap
◆ since_
long long EcalMappingElectronicsHandler::since_ |
|
private |
◆ txtFileSource_
std::string EcalMappingElectronicsHandler::txtFileSource_ |
|
private |