23 using namespace sistrip;
29 uploadAnal_( pset.getUntrackedParameter<bool>(
"UploadAnalyses",
false) ),
30 uploadConf_( pset.getUntrackedParameter<bool>(
"UploadHwConfig",
false) )
33 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
34 <<
" Constructing object...";
37 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
38 <<
" ===> TEST only! No hardware configurations"
39 <<
" will be uploaded to the DB...";
43 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
44 <<
" ===> TEST only! No analysis descriptions"
45 <<
" will be uploaded to the DB...";
54 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
55 <<
" Destructing object...";
65 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
66 <<
" CommissioningHistogram object already exists!"
75 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
76 <<
" NULL pointer to DQMStore!";
83 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
84 <<
" Nota bene: using the SiStripConfigDb API"
85 <<
" as a \"service\" does not presently guarantee"
86 <<
" thread-safe behaviour!...";
91 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
92 <<
" NULL pointer to SiStripConfigDb!"
116 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
117 <<
" Undefined run type!";
122 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
123 <<
" Unknown run type!";
132 std::stringstream ss;
133 ss <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
135 <<
" Uploading hardware configurations? : "
138 <<
" Uploading calibrations from analysis? : "
144 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
145 <<
" NULL pointer to CommissioningHistosUsingDb!";
154 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
155 <<
" Uploading parameters to database...";
160 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
161 <<
" Uploaded parameters to database!";
164 <<
"[SiStripCommissioningOfflineDbClient::" << __func__ <<
"]"
165 <<
" NULL pointer to CommissioningHistosUsingDb object!"
166 <<
" 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
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")