15 : m_name(ps.getUntrackedParameter<
std::
string>(
"name",
"EcalTPGFineGrainTowerfromFile")) {
18 std::cout <<
"EcalTPGFineGrainTowerfromFile constructor\n" << std::endl;
24 std::cout <<
"------- Ecal -> getNewObjects\n";
25 edm::LogInfo(
"EcalTPGFineGrainTowerfromFile") <<
"Started GetNewObjects!!!";
28 std::cout <<
"LinPed which input IOV do you want " << std::endl;
31 std::ostringstream oss;
34 fLin.open(
fname.c_str());
35 if (!fLin.is_open()) {
46 for (
int i = 0;
i < 375016;
i++)
51 for (
int itower = 0; itower < 1584; itower++) {
54 if (itower < 10 || (itower > 1574 && itower < 1584))
55 std::cout <<
" string " << tower <<
" Id " << towerId;
58 if (itower < 10 || (itower > 1574 && itower < 1584))
59 std::cout <<
" line " << line << std::endl;
60 sscanf(line.c_str(),
"%x", &LUTFg);
71 std::cout <<
"Ecal -> end of getNewObjects -----------\n";
T getParameter(std::string const &) const
void getNewObjects() override
OldContainer m_to_transfer
EcalTPGFineGrainTowerfromFile(edm::ParameterSet const &)
void setValue(const uint32_t &id, const uint32_t &lut)
~EcalTPGFineGrainTowerfromFile() override