Public Types | Public Member Functions | Private Attributes | List of all members
om::DataBlockErrors Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-25/OnlineMonitoring/producer/DataBlockErrors.h"

Inheritance diagram for om::DataBlockErrors:
om::SummarySubscriber

Public Types

enum  _which { kEvent = 0x01, kDataBlock = 0x02, kMicroSlice = 0x04, kNanoSlice = 0x08 }
 Which summaries does a class want to subscribe to? More...
 

Public Member Functions

 DataBlockErrors ()
 
 ~DataBlockErrors ()
 
virtual void GetDataBlockSummary (const RawEventSummary &r, const DataBlockSummary &dbs)
 Interface to the data block summary. More...
 
virtual void GetRawEventSummary (const RawEventSummary &res)
 Interface to the event summary. More...
 
virtual void GetMicroSliceSummary (const RawEventSummary &res, const DataBlockSummary &dbs, const MicroSliceSummary &mss)
 Interface to the microslice summary. More...
 
virtual void GetNanoSliceSummary (const RawEventSummary &res, const DataBlockSummary &dbs, const MicroSliceSummary &mss, const NanoSliceSummary &nss)
 Interface to the nanoslice summary. More...
 

Private Attributes

TH2F * fAEVsHour
 

Detailed Description

Definition at line 10 of file DataBlockErrors.h.

Member Enumeration Documentation

Which summaries does a class want to subscribe to?

Enumerator
kEvent 
kDataBlock 
kMicroSlice 
kNanoSlice 

Definition at line 20 of file SummarySubscriber.h.

Constructor & Destructor Documentation

DataBlockErrors::DataBlockErrors ( )

Definition at line 13 of file DataBlockErrors.cxx.

References fAEVsHour, om::HistoSet::GetTH2F(), make_syst_table_plots::h, and om::HistoSet::Instance().

13  :
15 {
16 
17  // create the initial Error Plots
19 
20  fAEVsHour = h.GetTH2F("AEVsHour");
21 
22 }
TH2F * GetTH2F(const char *nm)
Definition: HistoSet.cxx:89
static HistoSet & Instance()
Definition: HistoSet.cxx:24
DataBlockErrors::~DataBlockErrors ( )

Definition at line 26 of file DataBlockErrors.cxx.

26 {}

Member Function Documentation

void DataBlockErrors::GetDataBlockSummary ( const RawEventSummary res,
const DataBlockSummary dbs 
)
virtual

Interface to the data block summary.

Reimplemented from om::SummarySubscriber.

Definition at line 30 of file DataBlockErrors.cxx.

References fAEVsHour, om::RawEventSummary::fHour, and om::DataBlockSummary::fMissingData.

32 {
33 
34  //
35  // fill missing data into all errors histo
36  //
37  if(dbs.fMissingData) {
38  fAEVsHour->Fill(r.fHour, 1);
39  if(r.fHour >= 23.0) fAEVsHour->Fill(r.fHour - 24.0, 1);
40  }
41 }
TRandom3 r(0)
bool fMissingData
Is data missing?
virtual void om::SummarySubscriber::GetMicroSliceSummary ( const RawEventSummary res,
const DataBlockSummary dbs,
const MicroSliceSummary mss 
)
inlinevirtualinherited

Interface to the microslice summary.

Reimplemented in om::MicroErrors.

Definition at line 39 of file SummarySubscriber.h.

41  { abort(); }
virtual void om::SummarySubscriber::GetNanoSliceSummary ( const RawEventSummary res,
const DataBlockSummary dbs,
const MicroSliceSummary mss,
const NanoSliceSummary nss 
)
inlinevirtualinherited

Interface to the nanoslice summary.

Reimplemented in om::FEBRatesByDiblock, om::HitMaps, om::NanoErrors, om::TQPlots, and om::WLPlots.

Definition at line 44 of file SummarySubscriber.h.

47  { abort(); }
virtual void om::SummarySubscriber::GetRawEventSummary ( const RawEventSummary res)
inlinevirtualinherited

Interface to the event summary.

Reimplemented in om::TriggerPlots, om::RawEventErrors, and om::HitCounts.

Definition at line 32 of file SummarySubscriber.h.

32 { abort(); };

Member Data Documentation

TH2F* om::DataBlockErrors::fAEVsHour
private

Definition at line 22 of file DataBlockErrors.h.

Referenced by DataBlockErrors(), and GetDataBlockSummary().


The documentation for this class was generated from the following files: