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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/OnlineMonitoring/producer/RawEventErrors.h"

Inheritance diagram for om::RawEventErrors:
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

 RawEventErrors ()
 
 ~RawEventErrors ()
 
virtual void GetRawEventSummary (const RawEventSummary &r)
 Interface to the event summary. More...
 
virtual void GetDataBlockSummary (const RawEventSummary &res, const DataBlockSummary &dbs)
 Interface to the data block 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 9 of file RawEventErrors.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

RawEventErrors::RawEventErrors ( )

Definition at line 12 of file RawEventErrors.cxx.

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

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

Definition at line 25 of file RawEventErrors.cxx.

25 {}

Member Function Documentation

virtual void om::SummarySubscriber::GetDataBlockSummary ( const RawEventSummary res,
const DataBlockSummary dbs 
)
inlinevirtualinherited

Interface to the data block summary.

Reimplemented in om::DataBlockErrors.

Definition at line 35 of file SummarySubscriber.h.

36  { abort(); }
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(); }
void RawEventErrors::GetRawEventSummary ( const RawEventSummary res)
virtual

Interface to the event summary.

Reimplemented from om::SummarySubscriber.

Definition at line 29 of file RawEventErrors.cxx.

References fAEVsHour, om::RawEventSummary::fEventIncomplete, and om::RawEventSummary::fHour.

30 {
31 
32  //
33  // fill missing data into all errors histo
34  //
35  if(r.fEventIncomplete) {
36  fAEVsHour->Fill(r.fHour, 0);
37  if(r.fHour >= 23.0) fAEVsHour->Fill(r.fHour - 24.0, 0);
38  }
39 }
TRandom3 r(0)

Member Data Documentation

TH2F* om::RawEventErrors::fAEVsHour
private

Definition at line 20 of file RawEventErrors.h.

Referenced by GetRawEventSummary(), and RawEventErrors().


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