#include <EcalLaserCondTools.h>
Classes | |
class | CorrReader |
class | FileReader |
Private Member Functions | |
void | dbToAscii (const edm::EventSetup &es) |
void | fillDb (CorrReader &r) |
void | processIov (CorrReader &r, int t1, int t2[nLmes], int t3) |
Static Private Member Functions | |
static std::string | timeToString (time_t t) |
static std::string | toNth (int n) |
Private Attributes | |
edm::Service< cond::service::PoolDBOutputService > | db_ |
FILE * | eventList_ |
std::string | eventListFileName_ |
FILE * | ferr_ |
std::vector< std::string > | fnames_ |
FILE * | fout_ |
int | fromTime_ |
std::string | mode_ |
int | nIovs_ |
int | skipIov_ |
int | toTime_ |
int | verb_ |
Static Private Attributes | |
static const int | nLmes = 92 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 23 of file EcalLaserCondTools.h.
EcalLaserCondTools::EcalLaserCondTools | ( | const edm::ParameterSet & | ps | ) |
Constructor
ps | analyser configuration |
Definition at line 24 of file EcalLaserCondTools.cc.
References eventList_, eventListFileName_, Exception, and ferr_.
|
override |
|
overridevirtual |
Called by CMSSW event loop
evt | the event |
es | events setup |
Implements edm::EDAnalyzer.
Definition at line 52 of file EcalLaserCondTools.cc.
References gather_cfg::cout, db_, dbToAscii(), fileCollector::done, Exception, fillDb(), fnames_, edm::Service< T >::isAvailable(), mode_, EcalLaserCondTools::CorrReader::setVerbosity(), and verb_.
|
private |
Definition at line 434 of file EcalLaserCondTools.cc.
References alignCSCRings::corr, gather_cfg::cout, Exception, fout_, edm::EventSetup::get(), get, EBDetId::hashedIndex(), EEDetId::hashedIndex(), mps_fire::i, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, EEDetId::IX_MAX, EEDetId::IX_MIN, EEDetId::IY_MAX, EEDetId::IY_MIN, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, nLmes, AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< T >::product(), OrderedSet::t, RandomServiceHelper::t1, RandomServiceHelper::t2, RandomServiceHelper::t3, timeToString(), EBDetId::validDetId(), EEDetId::validDetId(), and verb_.
Referenced by analyze().
|
private |
Definition at line 73 of file EcalLaserCondTools.cc.
References HltBtagPostValidation_cff::c, gather_cfg::cout, eventList_, eventListFileName_, Exception, ntuplemaker::iline, dqmiodumpmetadata::n, nIovs_, nLmes, processIov(), alignCSCRings::r, skipIov_, OrderedSet::t, RandomServiceHelper::t1, RandomServiceHelper::t2, RandomServiceHelper::t3, timeToString(), and verb_.
Referenced by analyze().
|
private |
Definition at line 148 of file EcalLaserCondTools.cc.
References cond::service::PoolDBOutputService::beginOfTime(), alignCSCRings::corr, gather_cfg::cout, db_, MillePedeFileConverter_cfg::e, EcalBarrel, EcalEndcap, Exception, ferr_, fromTime_, mps_fire::i, createfilelist::int, cond::service::PoolDBOutputService::isNewTagRequest(), nLmes, alignCSCRings::r, EcalLaserAPDPNRatios::setTime(), EcalLaserAPDPNRatios::setValue(), DetId::subdetId(), OrderedSet::t, RandomServiceHelper::t1, RandomServiceHelper::t2, RandomServiceHelper::t3, timeToString(), toNth(), verb_, and cond::service::PoolDBOutputService::writeOne().
Referenced by fillDb().
|
staticprivate |
Definition at line 425 of file EcalLaserCondTools.cc.
References visDQMUpload::buf, AlCaHLTBitMon_QueryRunRegistry::string, and OrderedSet::t.
Referenced by dbToAscii(), fillDb(), and processIov().
|
staticprivate |
Definition at line 402 of file EcalLaserCondTools.cc.
References dqmiodumpmetadata::n, and alignCSCRings::s.
Referenced by processIov().
|
private |
Definition at line 91 of file EcalLaserCondTools.h.
Referenced by analyze(), and processIov().
|
private |
Definition at line 86 of file EcalLaserCondTools.h.
Referenced by EcalLaserCondTools(), and fillDb().
|
private |
Definition at line 87 of file EcalLaserCondTools.h.
Referenced by EcalLaserCondTools(), and fillDb().
|
private |
Definition at line 96 of file EcalLaserCondTools.h.
Referenced by EcalLaserCondTools(), processIov(), and ~EcalLaserCondTools().
|
private |
Definition at line 90 of file EcalLaserCondTools.h.
Referenced by analyze(), EcalLaserCondTools::FileReader::readPs(), and EcalLaserCondTools::FileReader::readTime().
|
private |
Definition at line 85 of file EcalLaserCondTools.h.
Referenced by dbToAscii(), and ~EcalLaserCondTools().
|
private |
Definition at line 94 of file EcalLaserCondTools.h.
Referenced by processIov().
|
private |
Definition at line 89 of file EcalLaserCondTools.h.
Referenced by analyze().
|
private |
Definition at line 93 of file EcalLaserCondTools.h.
Referenced by fillDb().
|
staticprivate |
Number of extended laser monitoring regions
Definition at line 28 of file EcalLaserCondTools.h.
Referenced by dbToAscii(), fillDb(), processIov(), and EcalLaserCondTools::FileReader::readTime().
|
private |
Definition at line 92 of file EcalLaserCondTools.h.
Referenced by fillDb().
|
private |
Definition at line 95 of file EcalLaserCondTools.h.
|
private |
Definition at line 88 of file EcalLaserCondTools.h.
Referenced by analyze(), dbToAscii(), fillDb(), processIov(), EcalLaserCondTools::FileReader::readPs(), and EcalLaserCondTools::FileReader::readTime().