class THaG0HelicityReader

Function Members (Methods)

public:
THaG0HelicityReader()
THaG0HelicityReader(const THaG0HelicityReader&)
virtual~THaG0HelicityReader()
static TClass*Class()
Int_tGetGate() const
Int_tGetQrt() const
Int_tGetReading() const
Bool_tGetValidTime() const
virtual TClass*IsA() const
THaG0HelicityReader&operator=(const THaG0HelicityReader&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
virtual voidClear(Option_t* opt = "")
virtual Int_tReadData(const THaEvData& evdata)
Int_tReadDatabase(const char* dbfilename, const char* prefix, const TDatime& date, int debug_flag = 0)
Int_tSetROCinfo(THaG0HelicityReader::EROC which, Int_t roc, Int_t header, Int_t index)
private:
static Int_tFindWord(const THaEvData& evdata, const THaG0HelicityReader::ROCinfo& info)

Data Members

public:
enum EROC { kHel
kTime
kROC2
kROC3
};
protected:
Int_tfG0DebugDebug level
Bool_tfGateCurrent gate
Bool_tfHaveROCsRequired ROCs are defined
Bool_tfNegGateInvert polarity of gate, so that 0=active
Double_tfOldT1Last event's timestamps
Double_tfOldT2
Double_tfOldT3
Bool_tfPresentReadingCurrent helicity reading
Bool_tfQrtCurrent QRT
THaG0HelicityReader::ROCinfofROCinfo[4]Primary readouts and two redundant clocks
Double_tfTimestampEvent time from 105 kHz clock
Bool_tfValidTimefTimestamp valid

Class Charts

Inheritance Chart:
THaG0HelicityReader
THaG0Helicity
THaHelicity

Function documentation

THaG0HelicityReader(const THaG0HelicityReader& )
 Default constructor
~THaG0HelicityReader()
void Clear(Option_t* opt = "")
Int_t FindWord(const THaEvData& evdata, const THaG0HelicityReader::ROCinfo& info)
Int_t ReadDatabase(const char* dbfilename, const char* prefix, const TDatime& date, int debug_flag = 0)
 Read parameters from database:  ROC info (detector map), G0 delay value
Int_t ReadData(const THaEvData& evdata)
Int_t SetROCinfo(THaG0HelicityReader::EROC which, Int_t roc, Int_t header, Int_t index)
 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
THaG0HelicityReader(const THaG0HelicityReader& )
Bool_t GetValidTime()
{ return fValidTime; }
Int_t GetQrt()
 Get ROC helicity information (for debugging)
{ return fQrt; }
Int_t GetGate()
{ return fGate; }
Int_t GetReading()
{ return fPresentReading; }

Last change: Sat Nov 7 21:26:47 2009
Last generated: 2009-11-07 21:26

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.