Hall C ROOT/C++ Analyzer (hcana)
|
A mock spectrometer to hold all trigger related data.
This class behaves as a spectrometer apparatus, but it does not correspond to any physical spectrometer in the hall. Its purpose is to gather all the trigger related data.
Use only with THcTrigDet class.
Definition at line 14 of file THcTrigApp.h.
Public Member Functions | |
std::string | GetKwPrefix () |
Returns prefix used for parameters in param files. More... | |
virtual Int_t | Reconstruct () |
Does nothing and returns 0. More... | |
THcTrigApp (const char *name, const char *description) | |
A constructor. More... | |
virtual | ~THcTrigApp () |
A destructor. More... | |
Protected Member Functions | |
virtual Int_t | DefineVariables (EMode mode=kDefine) |
virtual Int_t | ReadDatabase (const TDatime &date) |
virtual Int_t | ReadRunDatabase (const TDatime &date) |
Protected Attributes | |
std::string | fKwPrefix |
Private Member Functions | |
ClassDef (THcTrigApp, 0) | |
THcTrigApp () | |
#include <THcTrigApp.h>
THcTrigApp::THcTrigApp | ( | const char * | name, |
const char * | description | ||
) |
A constructor.
[in] | name | Name of the apparatus. Is typically "T". |
[in] | description | Description of the apparatus. |
Definition at line 57 of file THcTrigApp.cxx.
|
virtual |
A destructor.
Definition at line 69 of file THcTrigApp.cxx.
|
private |
Definition at line 106 of file THcTrigApp.cxx.
|
private |
|
protectedvirtual |
Definition at line 93 of file THcTrigApp.cxx.
std::string THcTrigApp::GetKwPrefix | ( | ) |
Returns prefix used for parameters in param
files.
All the parameters read by this apparatus are prefixed with the returned string.
Definition at line 78 of file THcTrigApp.cxx.
Definition at line 88 of file THcTrigApp.cxx.
Definition at line 83 of file THcTrigApp.cxx.
|
virtual |
Does nothing and returns 0.
This function is usually responsible for reconstructing the event from the detectors in the spectrometer. Since this is a mock apparatus, we have a mock reconstruction.
Definition at line 72 of file THcTrigApp.cxx.
|
protected |
Definition at line 28 of file THcTrigApp.h.