#ifndef ROOT_THaG0HelicityReader
#define ROOT_THaG0HelicityReader
#include "Rtypes.h"
class THaEvData;
class TDatime;
class THaG0HelicityReader {
public:
THaG0HelicityReader();
virtual ~THaG0HelicityReader();
Bool_t GetValidTime() const { return fValidTime; }
Int_t GetQrt() const { return fQrt; }
Int_t GetGate() const { return fGate; }
Int_t GetReading() const { return fPresentReading; }
protected:
enum EROC { kHel = 0, kTime, kROC2, kROC3 };
Int_t SetROCinfo( EROC which, Int_t roc, Int_t header, Int_t index );
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 );
Bool_t fPresentReading;
Bool_t fQrt;
Bool_t fGate;
Double_t fTimestamp;
Double_t fOldT1;
Double_t fOldT2;
Double_t fOldT3;
Bool_t fValidTime;
struct ROCinfo {
Int_t roc;
Int_t header;
Int_t index;
};
ROCinfo fROCinfo[kROC3+1];
Int_t fG0Debug;
Bool_t fHaveROCs;
Bool_t fNegGate;
private:
static Int_t FindWord( const THaEvData& evdata, const ROCinfo& info );
ClassDef(THaG0HelicityReader,2)
};
#endif
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.