CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
FastFedCablingTask Class Reference

#include <FastFedCablingTask.h>

Inheritance diagram for FastFedCablingTask:
CommissioningTask

Public Member Functions

 FastFedCablingTask (DQMStore *, const FedChannelConnection &)
 
 ~FastFedCablingTask () override
 
- Public Member Functions inherited from CommissioningTask
void bookHistograms ()
 
 CommissioningTask (DQMStore *, const FedChannelConnection &, const std::string &my_name)
 
void eventSetup (const edm::EventSetup *)
 
const uint32_t & fillCntr () const
 
void fillHistograms (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &)
 
void fillHistograms (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &, const edm::DetSet< SiStripRawDigi > &)
 
void fillHistograms (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &, const edm::DetSet< SiStripRawDigi > &, const std::vector< uint16_t > &)
 
void fillHistograms (const SiStripEventSummary &, const uint16_t &fed_id, const std::map< uint16_t, float > &fed_ch)
 
const std::string & myName () const
 
const uint32_t & updateFreq () const
 
void updateFreq (const uint32_t &)
 
void updateHistograms ()
 
virtual ~CommissioningTask ()
 

Private Member Functions

void book () override
 
void fill (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) override
 
void update () override
 

Private Attributes

HistoSet histo_
 

Additional Inherited Members

- Public Types inherited from CommissioningTask
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Protected Member Functions inherited from CommissioningTask
const FedChannelConnectionconnection () const
 
DQMStore *const dqm () const
 
const edm::EventSetup *const eventSetup () const
 
const uint32_t & fecKey () const
 
const uint32_t & fedKey () const
 
void updateHistoSet (CompactHistoSet &)
 
void updateHistoSet (CompactHistoSet &, const uint32_t &bin)
 
void updateHistoSet (CompactHistoSet &, const uint32_t &bin, const short &value)
 
void updateHistoSet (HistoSet &)
 
void updateHistoSet (HistoSet &, const float &value)
 
void updateHistoSet (HistoSet &, const uint32_t &bin)
 
void updateHistoSet (HistoSet &, const uint32_t &bin, const float &value)
 

Detailed Description

Definition at line 8 of file FastFedCablingTask.h.

Constructor & Destructor Documentation

◆ FastFedCablingTask()

FastFedCablingTask::FastFedCablingTask ( DQMStore dqm,
const FedChannelConnection conn 
)

Definition at line 14 of file FastFedCablingTask.cc.

15  : CommissioningTask(dqm, conn, "FastFedCablingTask"), histo_() {}

◆ ~FastFedCablingTask()

FastFedCablingTask::~FastFedCablingTask ( )
override

Definition at line 19 of file FastFedCablingTask.cc.

19 {}

Member Function Documentation

◆ book()

void FastFedCablingTask::book ( )
overrideprivatevirtual

◆ fill()

void FastFedCablingTask::fill ( const SiStripEventSummary summary,
const edm::DetSet< SiStripRawDigi > &  digis 
)
overrideprivatevirtual

Reimplemented from CommissioningTask.

Definition at line 42 of file FastFedCablingTask.cc.

42  {
43  if (digis.data.empty()) {
44  edm::LogWarning(mlDqmSource_) << "[FastFedCablingTask::" << __func__ << "]"
45  << " No digis found!";
46  return;
47  }
48 
49  uint32_t bin = summary.binNumber();
50  for (uint16_t ibin = 0; ibin < digis.data.size(); ibin++) {
51  updateHistoSet(histo_, bin, digis.data[ibin].adc());
52  }
53 }

References newFWLiteAna::bin, edm::DetSet< T >::data, histo_, sistrip::mlDqmSource_, edmLumisInFiles::summary, and CommissioningTask::updateHistoSet().

◆ update()

void FastFedCablingTask::update ( )
overrideprivatevirtual

Member Data Documentation

◆ histo_

HistoSet FastFedCablingTask::histo_
private

Definition at line 18 of file FastFedCablingTask.h.

Referenced by book(), fill(), and update().

CommissioningTask::HistoSet::vSumOfSquares_
std::vector< double > vSumOfSquares_
Definition: CommissioningTask.h:46
sistrip::mlDqmSource_
static const char mlDqmSource_[]
Definition: ConstantsForLogger.h:20
CommissioningTask::HistoSet::vSumOfContents_
std::vector< float > vSumOfContents_
Definition: CommissioningTask.h:45
sistrip::FAST_CABLING
Definition: ConstantsForRunType.h:89
CommissioningTask::connection
const FedChannelConnection & connection() const
Definition: CommissioningTask.h:189
SiStripCommissioningClient_cfg.conn
conn
Definition: SiStripCommissioningClient_cfg.py:5
FastFedCablingTask::histo_
HistoSet histo_
Definition: FastFedCablingTask.h:18
CommissioningTask::HistoSet::vNumOfEntries_
std::vector< float > vNumOfEntries_
Definition: CommissioningTask.h:44
CommissioningTask::fedKey
const uint32_t & fedKey() const
Definition: CommissioningTask.h:192
sistrip::EXPERT_HISTO
Definition: ConstantsForHistoType.h:29
LaserClient_cfi.nbins
nbins
Definition: LaserClient_cfi.py:51
CommissioningTask::CommissioningTask
CommissioningTask()
Definition: CommissioningTask.h:143
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::LogWarning
Definition: MessageLogger.h:141
CommissioningTask::HistoSet::histo
void histo(MonitorElement *)
Definition: CommissioningTask.cc:89
edmLumisInFiles.summary
summary
Definition: edmLumisInFiles.py:39
CommissioningTask::updateHistoSet
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
Definition: CommissioningTask.cc:274
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
CommissioningTask::dqm
DQMStore *const dqm() const
Definition: CommissioningTask.h:188
SiStripHistoTitle::title
const std::string & title() const
Definition: SiStripHistoTitle.h:109
edm::DetSet::data
collection_type data
Definition: DetSet.h:80
SiStripHistoTitle
Utility class that holds histogram title.
Definition: SiStripHistoTitle.h:20
dqm
Definition: DQMStore.h:18
sistrip::FED_KEY
Definition: ConstantsForKeyType.h:30
sistrip::LLD_CHAN
Definition: ConstantsForGranularity.h:78