Hall C ROOT/C++ Analyzer (hcana)
Loading...
Searching...
No Matches
THcTrigApp.cxx
Go to the documentation of this file.
1
47#include "THcTrigApp.h"
48
49#include <algorithm>
50
51#include "TDatime.h"
52
53#include "THcGlobals.h"
54#include "THcParmList.h"
55
56
57THcTrigApp::THcTrigApp(const char* name, const char* description)
58:
59 THaApparatus(name, description),
60 fKwPrefix("")
61{
62 // Construct the kwPrefix here. Better place would be in `Setup` method.
63 string kwPrefix = name;
64 std::transform(kwPrefix.begin(), kwPrefix.end(), kwPrefix.begin(), ::tolower);
65 fKwPrefix = kwPrefix;
66}
67
68
70
71
73 // Don't need reconstruction here.
74 return 0;
75}
76
77
79 return fKwPrefix;
80}
81
82
84 return kOK;
85}
86
87
89 return kOK;
90}
91
92
94 if (mode == kDefine && fIsSetup) return kOK;
95 fIsSetup = (mode == kDefine);
96
97 return kOK;
98 // std::vector<RVarDef> vars;
99 // RVarDef end {0};
100 // vars.push_back(end);
101
102 // return DefineVarsFromList(vars.data(), mode);
103}
104
105
107
108
int Int_t
Option_t Option_t TPoint TPoint const char mode
ClassImp(VDC::AnalyticTTDConv) using namespace std
A mock spectrometer to hold all trigger related data.
Definition THcTrigApp.h:14
virtual ~THcTrigApp()
A destructor.
virtual Int_t DefineVariables(EMode mode=kDefine)
std::string GetKwPrefix()
Returns prefix used for parameters in param files.
std::string fKwPrefix
Definition THcTrigApp.h:28
virtual Int_t ReadDatabase(const TDatime &date)
virtual Int_t Reconstruct()
Does nothing and returns 0.
virtual Int_t ReadRunDatabase(const TDatime &date)