#include <FastFedCablingTask.h>
Public Member Functions | |
FastFedCablingTask (DQMStore *, const FedChannelConnection &) | |
virtual | ~FastFedCablingTask () |
Private Member Functions | |
virtual void | book () |
virtual void | fill (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) |
virtual void | update () |
Private Attributes | |
HistoSet | histo_ |
Definition at line 8 of file FastFedCablingTask.h.
FastFedCablingTask::FastFedCablingTask | ( | DQMStore * | dqm, |
const FedChannelConnection & | conn | ||
) |
Definition at line 14 of file FastFedCablingTask.cc.
: CommissioningTask( dqm, conn, "FastFedCablingTask" ), histo_() {}
FastFedCablingTask::~FastFedCablingTask | ( | ) | [virtual] |
Definition at line 22 of file FastFedCablingTask.cc.
{ }
void FastFedCablingTask::book | ( | ) | [private, virtual] |
Reimplemented from CommissioningTask.
Definition at line 27 of file FastFedCablingTask.cc.
References CommissioningTask::connection(), CommissioningTask::dqm(), sistrip::EXPERT_HISTO, sistrip::FAST_CABLING, sistrip::FED_KEY, CommissioningTask::fedKey(), CommissioningTask::HistoSet::histo(), histo_, sistrip::LLD_CHAN, pileupCalc::nbins, AlCaHLTBitMon_QueryRunRegistry::string, SiStripHistoTitle::title(), indexGen::title, CommissioningTask::HistoSet::vNumOfEntries_, CommissioningTask::HistoSet::vSumOfContents_, and CommissioningTask::HistoSet::vSumOfSquares_.
{ std::string title = SiStripHistoTitle( sistrip::EXPERT_HISTO, sistrip::FAST_CABLING, sistrip::FED_KEY, fedKey(), sistrip::LLD_CHAN, connection().lldChannel() ).title(); uint16_t nbins = 34; histo_.histo( dqm()->bookProfile( title, title, nbins, -0.5, nbins*1.-0.5, 1025, 0., 1025. ) ); histo_.vNumOfEntries_.resize(nbins,0); histo_.vSumOfContents_.resize(nbins,0); histo_.vSumOfSquares_.resize(nbins,0); }
void FastFedCablingTask::fill | ( | const SiStripEventSummary & | summary, |
const edm::DetSet< SiStripRawDigi > & | digis | ||
) | [private, virtual] |
Reimplemented from CommissioningTask.
Definition at line 49 of file FastFedCablingTask.cc.
References newFWLiteAna::bin, SiStripEventSummary::binNumber(), edm::DetSet< T >::data, histo_, sistrip::mlDqmSource_, and CommissioningTask::updateHistoSet().
{ if ( digis.data.empty() ) { edm::LogWarning(mlDqmSource_) << "[FastFedCablingTask::" << __func__ << "]" << " No digis found!"; return; } uint32_t bin = summary.binNumber(); for ( uint16_t ibin = 0; ibin < digis.data.size(); ibin++ ) { updateHistoSet( histo_, bin, digis.data[ibin].adc() ); } }
void FastFedCablingTask::update | ( | void | ) | [private, virtual] |
Reimplemented from CommissioningTask.
Definition at line 68 of file FastFedCablingTask.cc.
References histo_, and CommissioningTask::updateHistoSet().
{ updateHistoSet( histo_ ); }
HistoSet FastFedCablingTask::histo_ [private] |
Definition at line 22 of file FastFedCablingTask.h.