#include <EcalTPGFineGrainTowerfromFile.h>
popcon::EcalTPGFineGrainTowerfromFile::~EcalTPGFineGrainTowerfromFile |
( |
| ) |
|
|
override |
popcon::EcalTPGFineGrainTowerfromFile::EcalTPGFineGrainTowerfromFile |
( |
edm::ParameterSet const & |
| ) |
|
void popcon::EcalTPGFineGrainTowerfromFile::getNewObjects |
( |
| ) |
|
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGFineGrainTowerEE >.
Definition at line 23 of file EcalTPGFineGrainTowerfromFile.cc.
References gather_cfg::cout, fname, mps_fire::i, mps_splice::line, popcon::PopConSourceHandler< EcalTPGFineGrainTowerEE >::m_to_transfer, EcalTPGFineGrainTowerEE::setValue(), AlCaHLTBitMon_QueryRunRegistry::string, hgcalTowerProducer_cfi::tower, and DataFormats::L1THGCal::towerId.
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";
OldContainer m_to_transfer
void setValue(const uint32_t &id, const uint32_t &lut)
std::string popcon::EcalTPGFineGrainTowerfromFile::id |
( |
| ) |
const |
|
inlineoverridevirtual |
std::string popcon::EcalTPGFineGrainTowerfromFile::fname |
|
private |
std::string popcon::EcalTPGFineGrainTowerfromFile::m_name |
|
private |