15 : m_name(ps.getUntrackedParameter<
std::
string>(
"name",
"EcalTPGFineGrainStripfromFile")) {
18 std::cout <<
"EcalTPGFineGrainStripfromFile constructor\n" << std::endl;
26 std::cout <<
"------- Ecal -> getNewObjects\n";
27 edm::LogInfo(
"EcalTPGFineGrainStripfromFile") <<
"Started GetNewObjects!!!";
30 std::cout <<
"LinPed which input IOV do you want " << std::endl;
33 std::ostringstream oss;
36 fLin.open(
fname.c_str());
37 if (!fLin.is_open()) {
43 for (
int i = 0;
i < 304517;
i++)
50 for (
int istrip = 0; istrip < 15176; istrip++) {
52 sscanf(
line.c_str(),
"%s %u",
strip, &stripId);
53 if (istrip < 10 || (istrip > 12239 && istrip < 12250))
58 if (istrip < 10 || (istrip > 12239 && istrip < 12250))
61 if (istrip < 10 || (istrip > 12239 && istrip < 12250))
73 m_to_transfer.push_back(std::make_pair(fgrStripEE, fileIOV));
75 std::cout <<
"Ecal -> end of getNewObjects -----------\n";