THaG0HelicityReader() | |
THaG0HelicityReader(const THaG0HelicityReader&) | |
virtual | ~THaG0HelicityReader() |
static TClass* | Class() |
Int_t | GetGate() const |
Int_t | GetQrt() const |
Int_t | GetReading() const |
Bool_t | GetValidTime() const |
virtual TClass* | IsA() const |
THaG0HelicityReader& | operator=(const THaG0HelicityReader&) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
virtual void | Clear(Option_t* opt = "") |
virtual Int_t | ReadData(const THaEvData& evdata) |
Int_t | ReadDatabase(const char* dbfilename, const char* prefix, const TDatime& date, int debug_flag = 0) |
Int_t | SetROCinfo(THaG0HelicityReader::EROC which, Int_t roc, Int_t header, Int_t index) |
static Int_t | FindWord(const THaEvData& evdata, const THaG0HelicityReader::ROCinfo& info) |
Int_t | fG0Debug | Debug level |
Bool_t | fGate | Current gate |
Bool_t | fHaveROCs | Required ROCs are defined |
Bool_t | fNegGate | Invert polarity of gate, so that 0=active |
Double_t | fOldT1 | Last event's timestamps |
Double_t | fOldT2 | |
Double_t | fOldT3 | |
Bool_t | fPresentReading | Current helicity reading |
Bool_t | fQrt | Current QRT |
THaG0HelicityReader::ROCinfo | fROCinfo[4] | Primary readouts and two redundant clocks |
Double_t | fTimestamp | Event time from 105 kHz clock |
Bool_t | fValidTime | fTimestamp valid |
Inheritance Chart: | ||||||||||||
|
Read parameters from database: ROC info (detector map), G0 delay value
Define source and offset of data. Normally called by ReadDatabase of the detector that is a THaG0HelicityReader. "which" is one of { kHel, kTime, kROC2, kROC3 }. You must define at least the kHel and kTime ROCs. Returns <0 if parameter error, 0 if success