DataBlockErrors.cxx
Go to the documentation of this file.
2 #include <iostream>
3 #include "TH2F.h"
9 
10 using namespace om;
11 class RawEventSummary;
12 
15 {
16 
17  // create the initial Error Plots
19 
20  fAEVsHour = h.GetTH2F("AEVsHour");
21 
22 }
23 
24 //......................................................................
25 
27 
28 //......................................................................
29 
31  const DataBlockSummary& dbs)
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 }
42 
43 ////////////////////////////////////////////////////////////////////////
TH2F * GetTH2F(const char *nm)
Definition: HistoSet.cxx:89
float fHour
A fractional hour of the day.
A simple object that conatins all the global settings.
TRandom3 r(0)
static HistoSet & Instance()
Definition: HistoSet.cxx:24
virtual void GetDataBlockSummary(const RawEventSummary &r, const DataBlockSummary &dbs)
Interface to the data block summary.
Hold the collection of histograms created by the producer.
bool fMissingData
Is data missing?
Online Monitoring package header.
All the interesting event-level data.
All the interesting event-level data.