#include <EcalTPGLinPed.h>
Definition at line 48 of file EcalTPGLinPed.h.
◆ anonymous enum
Enumerator |
---|
kEBChannels | |
kEEChannels | |
kGains | |
Definition at line 57 of file EcalTPGLinPed.h.
◆ ~EcalTPGLinPed()
popcon::EcalTPGLinPed::~EcalTPGLinPed |
( |
| ) |
|
|
override |
◆ EcalTPGLinPed()
◆ getNewObjects()
void popcon::EcalTPGLinPed::getNewObjects |
( |
| ) |
|
|
overridevirtual |
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);
69 itemPed.mean_x1 = ped[2];
70 itemPed.mean_x6 = ped[1];
71 itemPed.mean_x12 = ped[0];
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);
98 itemPed.mean_x1 = ped[2];
99 itemPed.mean_x6 = ped[1];
100 itemPed.mean_x12 = ped[0];
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, VarParsing::mult, jets_cff::payload, edm::shift, AlCaHLTBitMon_QueryRunRegistry::string, and dumpRecoGeometry_cfg::tagInfo.
◆ id()
std::string popcon::EcalTPGLinPed::id |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ m_name
std::string popcon::EcalTPGLinPed::m_name |
|
private |
edm::Ref< Container > Ref