34 const char* description ) :
45 if ( !
fEpics )
return false;
63 if ( !
fEpics )
return {
"nothing"};
75 cerr <<
"EpicsHandler: need a bigger buffer ! "<<endl;
83 fEpics->LoadData(evbuffer, recent_event);
91 cout <<
"Howdy ! We are initializing THaEpicsEvtHandler !! "
92 "name = " <<
fName << endl;
Bool_t IsLoaded(const char *tag) const
Double_t GetData(const char *tag, UInt_t event=0) const
static const Int_t MAXDATA
THaEpicsEvtHandler(const char *name, const char *description)
TString GetString(const char *tag, UInt_t event=0) const
std::unique_ptr< Decoder::THaEpics > fEpics
time_t GetTime(const char *tag, UInt_t event=0) const
virtual Int_t End(THaRunBase *r=nullptr)
virtual Int_t Analyze(THaEvData *evdata)
Bool_t IsLoaded(const char *tag) const
UInt_t GetRawData(UInt_t crate, UInt_t slot, UInt_t hit) const
UInt_t GetEvLength() const
virtual Bool_t IsMyEvent(UInt_t type) const
virtual void EvDump(THaEvData *evdata) const
virtual UInt_t GetNumTypes()
virtual void SetEvtType(UInt_t evtype)
std::ofstream * fDebugFile
static const UInt_t EPICS_EVTYPE