Hall C ROOT/C++ Analyzer (hcana)
Loading...
Searching...
No Matches
THcDummySpectrometer.cxx
Go to the documentation of this file.
1
48
49#include "TDatime.h"
50
51#include "THcGlobals.h"
52#include "THcParmList.h"
53
54
56 const char* name, const char* description
57) :
58 THaApparatus(name, description),
59 fKwPrefix("")
60{
61 // Construct the kwPrefix here. Better place would be in `Setup` method.
62 TString kwPrefix = name;
63 kwPrefix.ToUpper();
64 fKwPrefix = kwPrefix;
65}
66
67
69
70
72 // Don't need reconstruction here.
73 return 0;
74}
75
76
80
81
85
86
90
91
93 if (mode == kDefine && fIsSetup) return kOK;
94 fIsSetup = (mode == kDefine);
95
96 return kOK;
97 // std::vector<RVarDef> vars;
98 // RVarDef end {0};
99 // vars.push_back(end);
100
101 // return DefineVarsFromList(vars.data(), mode);
102}
103
104
106
107
int Int_t
Option_t Option_t TPoint TPoint const char mode
ClassImp(VDC::AnalyticTTDConv) using namespace std
A dummy spectrometer apparatus for testing detectors.
TString GetKwPrefix()
Returns prefix used for parameters in param files.
virtual Int_t DefineVariables(EMode mode=kDefine)
virtual ~THcDummySpectrometer()
A destructor.
virtual Int_t ReadRunDatabase(const TDatime &date)
virtual Int_t Reconstruct()
Does nothing and returns 0.
virtual Int_t ReadDatabase(const TDatime &date)
void ToUpper()