23 using namespace sistrip;
29 uploadAnal_(pset.getUntrackedParameter<bool>(
"UploadAnalyses",
false)),
30 uploadConf_(pset.getUntrackedParameter<bool>(
"UploadHwConfig",
false)),
31 tTopoToken_{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...";
151 <<
" Uploaded parameters to database!";
154 <<
" NULL pointer to CommissioningHistosUsingDb object!"
155 <<
" Upload aborted!...";
Log< level::Info, true > LogVerbatim
sistrip::RunType runType_
void createHistos(const edm::ParameterSet &, const edm::EventSetup &) override
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
static const char mlDqmClient_[]
Log< level::Error, false > LogError
bool doUploadAnal() const
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extra...
virtual void configure(const edm::ParameterSet &, const edm::EventSetup &)
static const char mlCabling_[]
~SiStripCommissioningOfflineDbClient() override
An interface class to the DeviceFactory.
bool doUploadConf() const
void uploadToConfigDb() override
CommissioningHistograms * histos_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
SiStripCommissioningOfflineDbClient(const edm::ParameterSet &)
Log< level::Warning, false > LogWarning