Implements popcon::PopConSourceHandler< EcalTPGPedestals >.
Definition at line 22 of file EcalTPGLinPed.cc.
23 std::cout <<
"------- Ecal -> getNewObjects\n";
25 unsigned long long max_since = 1;
30 Tm max_since_tm(max_since);
33 std::cout <<
"LinPed which input IOV do you want " << std::endl;
36 std::ostringstream oss;
38 std::string fname =
"/afs/cern.ch/cms/ECAL/triggerTransp/TPG_beamv6_trans_" + oss.str() +
"_spikekill.txt";
39 fLin.open(
fname.c_str());
40 if (!fLin.is_open()) {
46 for (
int i = 0;
i < 85;
i++)
53 for (
int iChannel = 0; iChannel <
kEBChannels; iChannel++) {
55 sscanf(
line.c_str(),
"%s %u", cryst, &
id);
74 peds->
insert(std::make_pair(
id, itemPed));
78 for (
int iChannel = 0; iChannel <
kEEChannels; iChannel++) {
81 sscanf(
line.c_str(),
"%s %u", cryst, &
id);
103 peds->
insert(std::make_pair(
id, itemPed));
110 std::cout <<
"Ecal -> end of getNewObjects -----------\n";
References gather_cfg::cout, alignmentValidation::fname, PedestalClient_cfi::gain, mps_fire::i, triggerObjects_cff::id, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, kEBChannels, kEEChannels, kGains, mps_splice::line, EcalTPGPedestal::mean_x1, EcalTPGPedestal::mean_x12, EcalTPGPedestal::mean_x6, VarParsing::mult, jets_cff::payload, edm::shift, AlCaHLTBitMon_QueryRunRegistry::string, and dumpRecoGeometry_cfg::tagInfo.