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!";
172 const uint16_t& fed_id,
173 const std::map<uint16_t,float>& fed_ch ) {
175 <<
"[CommissioningTask::" << __func__ <<
"]" 176 <<
" No derived implementation exists!";
183 <<
"[CommissioningTask::" << __func__ <<
"]" 184 <<
" No derived implementation exists!";
204 <<
"[CommissioningTask::" << __func__ <<
"]" 205 <<
" Attempting to fill histos that haven't been booked yet!";
210 fill( summary, digis );
224 <<
"[CommissioningTask::" << __func__ <<
"]" 225 <<
" Attempting to fill histos that haven't been booked yet!";
229 fill( summary, digis, digisAlt );
238 const uint16_t& fed_id,
239 const std::map<uint16_t,float>& fed_ch ) {
242 <<
"[CommissioningTask::" << __func__ <<
"]" 243 <<
" Attempting to fill histos that haven't been booked yet!";
247 fill( summary, fed_id, fed_ch );
263 const uint32_t&
bin ) {
271 const uint32_t&
bin ) {
279 const float&
value ) {
288 const float&
value ) {
293 <<
"[CommissioningTask::" << __func__ <<
"]" 294 <<
" Unexpected bin number " << bin
295 <<
" when filling histogram of size " << histo_set.
vNumOfEntries_.size();
303 float origVal = histo_set.
histo()->getBinContent( bin+1 );
304 histo_set.
histo()->setBinContent( bin+1, origVal + value );
316 <<
"[CommissioningTask::" << __func__ <<
"]" 317 <<
" Unexpected bin when filling histogram: " <<
bin;
332 const short&
value ) {
337 <<
"[CommissioningTask::" << __func__ <<
"]" 338 <<
" Unexpected bin number " << bin
339 <<
" when filling histogram of size " << histo_set.
vNumOfEntries_.size();
344 float origVal = histo_set.
histo()->getBinContent( bin+1 );
345 histo_set.
histo()->setBinContent( bin+1, origVal + value );
358 if ( !histo_set.
histo() ) {
360 <<
"[CommissioningTask::" << __func__ <<
"]" 361 <<
" NULL pointer to MonitorElement!";
372 for ( uint32_t ibin = 0; ibin < histo_set.
vNumOfEntries_.size(); ibin++ ) {
373 profile.setBinContents( prof,
382 for ( uint32_t ibin = 0; ibin < histo_set.
vNumOfEntries_.size(); ibin++ ) {
397 if ( !histo_set.
histo() ) {
399 <<
"[CommissioningTask::" << __func__ <<
"]" 400 <<
" NULL pointer to MonitorElement!";
405 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 sistrip::RunType & runType() const
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 > &)