42 <<
"[CommissioningTask::" << __func__ <<
"]" 44 <<
"' object for FecKey/FedKey: " 45 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fecKey_ <<
std::dec 47 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fedKey_ <<
std::dec 48 <<
" and Crate/FEC/ring/CCU/module/LLDchan: " 64 <<
"[CommissioningTask::" << __func__ <<
"]" 65 <<
" Destructing object for FED id/ch " 67 <<
"' object for FecKey/FedKey: " 68 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fecKey_ <<
std::dec 70 <<
"0x" << std::hex << std::setw(8) << std::setfill(
'0') <<
fedKey_ <<
std::dec 71 <<
" and Crate/FEC/ring/CCU/module/LLDchan: " 131 if ( !
axis_ ) {
return 0; }
132 float range =
axis_->GetXmax() -
axis_->GetXmin();
134 int32_t
bin =
static_cast<int32_t
>( ( value -
axis_->GetXmin() ) *
135 (
axis_->GetNbins() / range ) ) + 1;
136 if ( bin < 0 ) {
return 0; }
137 else if ( bin >
axis_->GetNbins() ) {
return static_cast<uint32_t
>(
axis_->GetNbins() + 1 ); }
146 <<
"[CommissioningTask::" << __func__ <<
"]" 147 <<
" No derived implementation exists!";
155 <<
"[CommissioningTask::" << __func__ <<
"]" 156 <<
" No derived implementation exists!";
165 <<
"[CommissioningTask::" << __func__ <<
"]" 166 <<
" No derived implementation exists!";
174 const std::vector<uint16_t>& stripOnCluster) {
176 <<
"[CommissioningTask::" << __func__ <<
"]" 177 <<
" No derived implementation exists!";
183 const uint16_t& fed_id,
184 const std::map<uint16_t,float>& fed_ch ) {
186 <<
"[CommissioningTask::" << __func__ <<
"]" 187 <<
" No derived implementation exists!";
194 <<
"[CommissioningTask::" << __func__ <<
"]" 195 <<
" No derived implementation exists!";
211 <<
"[CommissioningTask::" << __func__ <<
"]" 212 <<
" Attempting to fill histos that haven't been booked yet!";
216 fill( summary, digis );
231 <<
"[CommissioningTask::" << __func__ <<
"]" 232 <<
" Attempting to fill histos that haven't been booked yet!";
236 fill( summary, digis, digisAlt );
249 const std::vector<uint16_t>& stripOnCluster
253 <<
"[CommissioningTask::" << __func__ <<
"]" 254 <<
" Attempting to fill histos that haven't been booked yet!";
258 fill( summary, digis, digisAlt, stripOnCluster);
267 const uint16_t& fed_id,
268 const std::map<uint16_t,float>& fed_ch ) {
271 <<
"[CommissioningTask::" << __func__ <<
"]" 272 <<
" Attempting to fill histos that haven't been booked yet!";
276 fill( summary, fed_id, fed_ch );
292 const uint32_t&
bin ) {
300 const uint32_t&
bin ) {
308 const float&
value ) {
317 const float&
value ) {
322 <<
"[CommissioningTask::" << __func__ <<
"]" 323 <<
" Unexpected bin number " << bin
324 <<
" when filling histogram of size " << histo_set.
vNumOfEntries_.size();
332 float origVal = histo_set.
histo()->getBinContent( bin+1 );
333 histo_set.
histo()->setBinContent( bin+1, origVal + value );
345 <<
"[CommissioningTask::" << __func__ <<
"]" 346 <<
" Unexpected bin when filling histogram: " <<
bin;
361 const short&
value ) {
366 <<
"[CommissioningTask::" << __func__ <<
"]" 367 <<
" Unexpected bin number " << bin
368 <<
" when filling histogram of size " << histo_set.
vNumOfEntries_.size();
373 float origVal = histo_set.
histo()->getBinContent( bin+1 );
374 histo_set.
histo()->setBinContent( bin+1, origVal + value );
387 if ( !histo_set.
histo() ) {
389 <<
"[CommissioningTask::" << __func__ <<
"]" 390 <<
" NULL pointer to MonitorElement!";
401 for ( uint32_t ibin = 0; ibin < histo_set.
vNumOfEntries_.size(); ibin++ ) {
402 profile.setBinContents( prof,
411 for ( uint32_t ibin = 0; ibin < histo_set.
vNumOfEntries_.size(); ibin++ ) {
426 if ( !histo_set.
histo() ) {
428 <<
"[CommissioningTask::" << __func__ <<
"]" 429 <<
" NULL pointer to MonitorElement!";
434 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
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
const reco::Candidate::LorentzVector & axis_
static const char fecKey_[]
void histo(MonitorElement *)
virtual void fill(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &)
const uint16_t & ccuAddr() const
bin
set the eta bin as selection string.
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_
FedChannelConnection connection_
void fillHistograms(const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &)