13 using namespace sistrip;
26 eventSetup_(nullptr) {
38 <<
" Constructing '" <<
myName_ <<
"' object for FecKey/FedKey: "
39 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fecKey_ <<
std::dec <<
"/"
40 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fedKey_ <<
std::dec
51 <<
" Destructing object for FED id/ch "
52 <<
" Constructing '" <<
myName_ <<
"' object for FecKey/FedKey: "
53 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fecKey_ <<
std::dec <<
"/"
54 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fedKey_ <<
std::dec
93 axis_ = histo->GetXaxis();
109 float range = axis_->GetXmax() - axis_->GetXmin();
111 int32_t
bin =
static_cast<int32_t
>((value - axis_->GetXmin()) * (axis_->GetNbins() /
range)) + 1;
114 }
else if (bin > axis_->GetNbins()) {
115 return static_cast<uint32_t
>(axis_->GetNbins() + 1);
128 <<
" No derived implementation exists!";
135 <<
" No derived implementation exists!";
144 <<
" No derived implementation exists!";
152 const std::vector<uint16_t>& stripOnCluster) {
154 <<
" No derived implementation exists!";
160 const uint16_t& fed_id,
161 const std::map<uint16_t, float>& fed_ch) {
163 <<
" No derived implementation exists!";
170 <<
" No derived implementation exists!";
185 <<
" Attempting to fill histos that haven't been booked yet!";
189 fill(summary, digis);
202 <<
" Attempting to fill histos that haven't been booked yet!";
206 fill(summary, digis, digisAlt);
217 const std::vector<uint16_t>& stripOnCluster) {
220 <<
" Attempting to fill histos that haven't been booked yet!";
224 fill(summary, digis, digisAlt, stripOnCluster);
233 const uint16_t& fed_id,
234 const std::map<uint16_t, float>& fed_ch) {
237 <<
" Attempting to fill histos that haven't been booked yet!";
241 fill(summary, fed_id, fed_ch);
278 <<
" Unexpected bin number " << bin <<
" when filling histogram of size "
287 float origVal = histo_set.
histo()->getBinContent(bin + 1);
288 histo_set.
histo()->setBinContent(bin + 1, origVal + value);
299 <<
" Unexpected bin when filling histogram: " <<
bin;
315 <<
" Unexpected bin number " << bin <<
" when filling histogram of size "
321 float origVal = histo_set.
histo()->getBinContent(bin + 1);
322 histo_set.
histo()->setBinContent(bin + 1, origVal + value);
333 if (!histo_set.
histo()) {
335 <<
" NULL pointer to MonitorElement!";
344 for (uint32_t ibin = 0; ibin < histo_set.
vNumOfEntries_.size(); ibin++) {
345 profile.setBinContents(prof,
353 for (uint32_t ibin = 0; ibin < histo_set.
vNumOfEntries_.size(); ibin++) {
364 if (!histo_set.
histo()) {
366 <<
" NULL pointer to MonitorElement!";
371 for (uint32_t ibin = 0; ibin < histo_set.
vNumOfEntries_.size(); ibin++) {
const uint16_t & fecSlot() const
std::vector< float > vNumOfEntries_
const uint16_t & fecCrate() const
A container class for generic run and event-related info, information required by the commissioning a...
const uint16_t & fedCh() const
static const char mlDqmSource_[]
static const char fedKey_[]
std::vector< float > vSumOfContents_
uint16_t lldChannel() const
const uint16_t & fedId() const
const uint16_t range(const Frame &aFrame)
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
const uint16_t & fecRing() const
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & ccuChan() const
tuple key
prepare the HTCondor submission files and eventually submit them
static const char fecKey_[]
void histo(MonitorElement *)
virtual void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &)
const uint16_t & ccuAddr() const
int extract(std::vector< int > *output, const std::string &dati)
virtual ~CommissioningTask()
const uint16_t & feUnit() const
uint32_t bin(float value)
void histo(MonitorElement *)
const uint16_t & feChan() const
std::vector< double > vSumOfSquares_
std::vector< short > vNumOfEntries_
Log< level::Warning, false > LogWarning
FedChannelConnection connection_
void fillHistograms(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &)