#ifndef ROOT_BBDecData
#define ROOT_BBDecData
#include "THaApparatus.h"
#include "TBits.h"
#include <vector>
#include "THashTable.h"
class TH1F;
class BBdataLoc;
class BBDecData : public THaApparatus {
public:
BBDecData( const char* name="D", const char* description="" );
virtual ~BBDecData();
virtual EStatus Init( const TDatime& run_time );
virtual Int_t End(THaRunBase* r=0);
virtual void WriteHist();
virtual Int_t Reconstruct() { return 0; }
virtual Int_t Decode( const THaEvData& );
void Reset( Option_t* opt="" );
protected:
virtual BBdataLoc* DefineChannel(BBdataLoc*, EMode, const char* desc="automatic");
private:
TBits bits;
UInt_t evtypebits, evtype;
Double_t ctimel, ctimer;
Double_t pulser1;
UInt_t synchadc1, synchadc2, synchadc3,
synchadc4, synchadc14;
UInt_t timestamp, timeroc1, timeroc2, timeroc3,
timeroc4, timeroc14;
Double_t rftime1,rftime2;
Double_t edtpl,edtpr;
Double_t lenroc12,lenroc16;
Int_t cnt1;
std::vector < BBdataLoc* > fCrateLoc;
std::vector < BBdataLoc* > fWordLoc;
virtual void Clear( Option_t* opt="" );
virtual void Print( Option_t* opt="" ) const;
std::vector<TH1F* > hist;
Int_t DefaultMap();
void TrigBits(UInt_t ibit, BBdataLoc *dataloc);
Int_t SetupDecData( const TDatime* runTime = NULL, EMode mode = kDefine );
virtual void BookHist();
void VdcEff();
static BBDecData* fgThis;
static Int_t fgVdcEffFirst;
ClassDef(BBDecData,0)
};
#endif
Last update: Tue Jul 7 19:26:15 2009
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.