|
|
Go to the documentation of this file.
29 uploadAnal_(
pset.getUntrackedParameter<
bool>(
"UploadAnalyses",
false)),
30 uploadConf_(
pset.getUntrackedParameter<
bool>(
"UploadHwConfig",
false)),
31 tTopoToken_{esConsumes<edm::Transition::BeginRun>()},
32 tkGeomToken_{esConsumes<edm::Transition::BeginRun>()} {
34 <<
" Constructing object...";
37 <<
" ===> TEST only! No hardware configurations"
38 <<
" will be uploaded to the DB...";
42 <<
" ===> TEST only! No analysis descriptions"
43 <<
" will be uploaded to the DB...";
51 <<
" Destructing object...";
60 <<
" CommissioningHistogram object already exists!"
69 <<
" NULL pointer to DQMStore!";
76 <<
" Nota bene: using the SiStripConfigDb API"
77 <<
" as a \"service\" does not presently guarantee"
78 <<
" thread-safe behaviour!...";
83 <<
" NULL pointer to SiStripConfigDb!"
117 <<
" Undefined run type!";
122 <<
" Unknown run type!";
131 std::stringstream
ss;
132 ss <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]" << std::endl
133 <<
" Uploading hardware configurations? : " << (
tmp->doUploadConf() ?
"true" :
"false") << std::endl
134 <<
" Uploading calibrations from analysis? : " << (
tmp->doUploadAnal() ?
"true" :
"false") << std::endl;
138 <<
" NULL pointer to CommissioningHistosUsingDb!";
146 <<
" Uploading parameters to database...";
149 tmp->uploadToConfigDb();
151 <<
" Uploaded parameters to database!";
154 <<
" NULL pointer to CommissioningHistosUsingDb object!"
155 <<
" Upload aborted!...";
void createHistos(const edm::ParameterSet &, const edm::EventSetup &) override
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extra...
sistrip::RunType runType_
Log< level::Warning, false > LogWarning
static const char mlDqmClient_[]
CommissioningHistograms * histos_
~SiStripCommissioningOfflineDbClient() override
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
An interface class to the DeviceFactory.
virtual void configure(const edm::ParameterSet &, const edm::EventSetup &)
static const char mlCabling_[]
void uploadToConfigDb() override
Log< level::Error, false > LogError
SiStripCommissioningOfflineDbClient(const edm::ParameterSet &)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
Log< level::Info, true > LogVerbatim