Hall C ROOT/C++ Analyzer (hcana)
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 
13 class THcPeriodicReport : public THaPhysicsModule {
14 
15 public:
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 
33  virtual void SetEventPeriod(Int_t ev) { fEventPeriod = ev; }
41  virtual void SetTimePeriod(UInt_t t) { fTimePeriod = t; }
42 
43 protected:
52 
54 };
55 #endif
virtual void SetEventPeriod(Int_t ev)
Set report print out periodicity.
Hall C analyzer class.
Definition: THcAnalyzer.h:12
int Int_t
bool Bool_t
THcPeriodicReport(const char *name, const char *description, const char *templatefile, const char *ofile)
Construct the period report generator.
A physics module to generate periodic reports from a template.
THcAnalyzer * fAnalyzer
#define ClassDef(name, id)
virtual void SetTimePeriod(UInt_t t)
Set report print out periodicity.
ROOT::R::TRInterface & r
unsigned int UInt_t
virtual Int_t Begin(THaRunBase *r=0)
virtual EStatus Init(const TDatime &run_time)
virtual Int_t End(THaRunBase *r=0)
virtual Int_t Process(const THaEvData &)
char name[80]
virtual ~THcPeriodicReport()
A destructor.