![]() |
Hall C ROOT/C++ Analyzer (hcana)
|
A dummy spectrometer apparatus for testing detectors.
This class behaves as a spectrometer apparatus in that it holds detector classes, but it does no reconstruction. It is intended to provide an elegant way to setup a teststand for a detector or a set of detectors, without requiring some "needed" detectors or parameters.
Definition at line 13 of file THcDummySpectrometer.h.
Public Member Functions | |
TString | GetKwPrefix () |
Returns prefix used for parameters in param files. More... | |
virtual Int_t | Reconstruct () |
Does nothing and returns 0. More... | |
THcDummySpectrometer (const char *name, const char *description) | |
A constructor. More... | |
virtual | ~THcDummySpectrometer () |
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 | |
TString | fKwPrefix |
Private Member Functions | |
ClassDef (THcDummySpectrometer, 0) | |
THcDummySpectrometer () | |
#include <THcDummySpectrometer.h>
THcDummySpectrometer::THcDummySpectrometer | ( | const char * | name, |
const char * | description | ||
) |
A constructor.
[in] | name | Name of the apparatus. Is typically "H", "P" or "S" for HMS, SHMS and SOS, respectively. |
[in] | description | Description of the apparatus. |
Definition at line 55 of file THcDummySpectrometer.cxx.
|
virtual |
A destructor.
Definition at line 68 of file THcDummySpectrometer.cxx.
|
private |
Definition at line 105 of file THcDummySpectrometer.cxx.
|
private |
|
protectedvirtual |
Definition at line 92 of file THcDummySpectrometer.cxx.
TString THcDummySpectrometer::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 77 of file THcDummySpectrometer.cxx.
Definition at line 87 of file THcDummySpectrometer.cxx.
Definition at line 82 of file THcDummySpectrometer.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 dummy apparatus, we have a dummy reconstruction.
Definition at line 71 of file THcDummySpectrometer.cxx.
|
protected |
Definition at line 27 of file THcDummySpectrometer.h.