#include <EcalLaser_weekly_Linearization.h>
◆ anonymous enum
◆ ~EcalLaser_weekly_Linearization()
popcon::EcalLaser_weekly_Linearization::~EcalLaser_weekly_Linearization |
( |
| ) |
|
|
override |
◆ EcalLaser_weekly_Linearization()
popcon::EcalLaser_weekly_Linearization::EcalLaser_weekly_Linearization |
( |
edm::ParameterSet const & |
ps | ) |
|
◆ getNewObjects()
void popcon::EcalLaser_weekly_Linearization::getNewObjects |
( |
| ) |
|
|
overridevirtual |
Implements popcon::PopConSourceHandler< EcalTPGLinearizationConst >.
Definition at line 22 of file EcalLaser_weekly_Linearization.cc.
References gather_cfg::cout, alignmentValidation::fname, PedestalClient_cfi::gain, mps_fire::i, l1ctLayer2EG_cff::id, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, kEBChannels, kEEChannels, kGains, mps_splice::line, VarParsing::mult, jetsAK4_Puppi_cff::payload, QIE10Task_cfi::ped, edm::shift, AlCaHLTBitMon_QueryRunRegistry::string, and dumpRecoGeometry_cfg::tagInfo.
25 std::cout <<
"------- Ecal -> getNewObjects\n";
27 unsigned long long max_since = 1;
32 Tm max_since_tm(max_since);
47 for (
int week = 0; week < 1; week++) {
49 std::cout <<
" which input IOV do you want " << std::endl;
52 std::ostringstream oss;
54 std::string fname =
"/afs/cern.ch/cms/ECAL/triggerTransp/TPG_beamv6_trans_" + oss.str() +
"_spikekill.txt";
65 fWeek.open(
fname.c_str());
66 if (!fWeek.is_open()) {
74 for (
int i = 0;
i < 85;
i++)
82 for (
int iChannel = 0; iChannel <
kEBChannels; iChannel++) {
86 sscanf(
line.c_str(),
"%s %u", cryst, &
id);
109 getline(fWeek,
line);
111 for (
int iChannel = 0; iChannel <
kEEChannels; iChannel++) {
112 getline(fWeek,
line);
114 sscanf(
line.c_str(),
"%s %u", cryst, &
id);
118 getline(fWeek,
line);
141 std::cout <<
"Ecal -> end of getNewObjects -----------\n";
cond::TagInfo_t const & tagInfo() const
std::vector< std::pair< EcalTPGLinearizationConst *, Time_t > > m_to_transfer
void insert(std::pair< uint32_t, Item > const &a)
std::string id() const override
std::unique_ptr< EcalTPGLinearizationConst > Ref
static unsigned int const shift
EcalTPGLinearizationConstMap EcalTPGLinearizationConst
◆ id()
std::string popcon::EcalLaser_weekly_Linearization::id |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ m_name
std::string popcon::EcalLaser_weekly_Linearization::m_name |
|
private |