22 using namespace sistrip;
28 uploadAnal_( pset.getUntrackedParameter<bool>(
"UploadAnalyses",
false) ),
29 uploadConf_( pset.getUntrackedParameter<bool>(
"UploadHwConfig",
false) )
32 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
33 <<
" Constructing object...";
36 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
37 <<
" ===> TEST only! No hardware configurations"
38 <<
" will be uploaded to the DB...";
42 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
43 <<
" ===> TEST only! No analysis descriptions"
44 <<
" will be uploaded to the DB...";
53 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
54 <<
" Destructing object...";
64 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
65 <<
" CommissioningHistogram object already exists!"
74 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
75 <<
" NULL pointer to DQMStore!";
82 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
83 <<
" Nota bene: using the SiStripConfigDb API"
84 <<
" as a \"service\" does not presently guarantee"
85 <<
" thread-safe behaviour!...";
90 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
91 <<
" NULL pointer to SiStripConfigDb!"
115 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
116 <<
" Undefined run type!";
121 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
122 <<
" Unknown run type!";
131 std::stringstream
ss;
132 ss <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
134 <<
" Uploading hardware configurations? : "
137 <<
" Uploading calibrations from analysis? : "
143 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
144 <<
" NULL pointer to CommissioningHistosUsingDb!";
153 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
154 <<
" Uploading parameters to database...";
159 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
160 <<
" Uploaded parameters to database!";
163 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
164 <<
" NULL pointer to CommissioningHistosUsingDb object!"
165 <<
" Upload aborted!...";
sistrip::RunType runType_
static const char mlDqmClient_[]
void createHistos(const edm::ParameterSet &, const edm::EventSetup &)
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_[]
virtual ~SiStripCommissioningOfflineDbClient()
An interface class to the DeviceFactory.
bool doUploadConf() const
CommissioningHistograms * histos_
SiStripCommissioningOfflineDbClient(const edm::ParameterSet &)
std::vector< std::vector< double > > tmp
volatile std::atomic< bool > shutdown_flag false
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")