RawEventErrors.cxx
Go to the documentation of this file.
2 #include <iostream>
3 #include "TH2F.h"
8 
9 using namespace om;
10 // class RawEventSummary;
11 
14 {
15 
16  // create the initial Error Plots
18 
19  fAEVsHour = h.GetTH2F("AEVsHour");
20 
21 }
22 
23 //......................................................................
24 
26 
27 //......................................................................
28 
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 }
40 
41 ////////////////////////////////////////////////////////////////////////
virtual void GetRawEventSummary(const RawEventSummary &r)
Interface to the event summary.
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
Hold the collection of histograms created by the producer.
bool fEventIncomplete
Is the event incomplete?
Online Monitoring package header.
All the interesting event-level data.