Hall C ROOT/C++ Analyzer (hcana)
Loading...
Searching...
No Matches
THcPeriodicReport.h
Go to the documentation of this file.
1#ifndef ROOT_THcPeriodicReport
2#define ROOT_THcPeriodicReport
3
5//
6// THcPeriodicReport
7//
9
10#include "THaPhysicsModule.h"
11#include "THcAnalyzer.h"
12
14
15public:
16 THcPeriodicReport(const char *name, const char *description,
17 const char *templatefile, const char *ofile);
18 virtual ~THcPeriodicReport();
19
20 virtual EStatus Init(const TDatime &run_time);
21 virtual Int_t Begin(THaRunBase *r = 0);
22 virtual Int_t End(THaRunBase *r = 0);
23 virtual Int_t Process(const THaEvData &);
24 void PrintReport();
25
26 virtual void SetEventPeriod(Int_t ev) { fEventPeriod = ev; }
27 virtual void SetTimePeriod(UInt_t t) { fTimePeriod = t; }
28
29protected:
38
40};
41#endif
int Int_t
unsigned int UInt_t
ROOT::R::TRInterface & r
bool Bool_t
#define ClassDef(name, id)
Hall C analyzer class.
Definition THcAnalyzer.h:12
A physics module to generate periodic reports from a template.
virtual Int_t Process(const THaEvData &)
virtual void SetEventPeriod(Int_t ev)
virtual void SetTimePeriod(UInt_t t)
virtual ~THcPeriodicReport()
A destructor.
THcAnalyzer * fAnalyzer
virtual Int_t Begin(THaRunBase *r=0)
virtual Int_t End(THaRunBase *r=0)