Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//*-- Author : Stephen Wood 13-March-2012
//////////////////////////////////////////////////////////////////////////
//
// THcAnalyzer
//
// THcAnalyzer is the base class for a "Hall C analyzer" class.
// An analyzer defines the basic actions to perform during analysis.
// THcAnalyzer is the default analyzer that is used if no user class is
// defined. It performs a standard analysis consisting of
//
// 1. Decoding/Calibrating
// 2. Track Reconstruction
// 3. Physics variable processing
//
// At the end of each step, testing and histogramming are done for
// the appropriate block defined in the global test/histogram lists.
//
// Hall C has their own analyzer class because some things are bound to
// be different.
//
//////////////////////////////////////////////////////////////////////////
#include "THcAnalyzer.h"
#include "THaBenchmark.h"
#include "TList.h"
#include <fstream>
#include <algorithm>
#include <iomanip>
#include <cstring>
using namespace std;
// Pointer to single instance of this object
//THcAnalyzer* THcAnalyzer::fgAnalyzer = 0;
//FIXME:
// do we need to "close" scalers/EPICS analysis if we reach the event limit?
//_____________________________________________________________________________
THcAnalyzer::THcAnalyzer()
{
}
//_____________________________________________________________________________
THcAnalyzer::~THcAnalyzer()
{
// Destructor.
}
//_____________________________________________________________________________
ClassImp(THcAnalyzer)