#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, triggerObjects_cff::id, EcalCondObjectContainer< T >::insert(), B2GTnPMonitor_cfi::item, kEBChannels, kEEChannels, kGains, mps_splice::line, VarParsing::mult, jetsAK4_Puppi_cff::payload, edm::shift, AlCaHLTBitMon_QueryRunRegistry::string, and dumpRecoGeometry_cfg::tagInfo.
27 std::cout <<
"------- Ecal -> getNewObjects\n";
29 unsigned long long max_since = 1;
34 Tm max_since_tm(max_since);
49 for (
int week = 0; week < 1; week++) {
51 std::cout <<
" which input IOV do you want " << std::endl;
54 std::ostringstream oss;
56 std::string fname =
"/afs/cern.ch/cms/ECAL/triggerTransp/TPG_beamv6_trans_" + oss.str() +
"_spikekill.txt";
67 fWeek.open(
fname.c_str());
68 if (!fWeek.is_open()) {
76 for (
int i = 0;
i < 85;
i++)
84 for (
int iChannel = 0; iChannel <
kEBChannels; iChannel++) {
88 sscanf(
line.c_str(),
"%s %u", cryst, &
id);
111 getline(fWeek,
line);
113 for (
int iChannel = 0; iChannel <
kEEChannels; iChannel++) {
114 getline(fWeek,
line);
116 sscanf(
line.c_str(),
"%s %u", cryst, &
id);
120 getline(fWeek,
line);
144 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 |