42 cout <<
"Hello ! THaEvtTypeHandler name = "<<
GetName()<<endl;
43 cout <<
" description "<<
GetTitle()<<endl;
44 cout <<
" event types handled are "<<endl;
46 cout <<
" event type "<<eventtype<<endl;
48 cout <<
"----------------- good bye ----------------- "<<endl;
59 *
fDebugFile <<
"\n ------ Raw Data Dump ------ "<<endl;
60 *
fDebugFile <<
"\n\n Event number " << dec << evnum << endl;
61 *
fDebugFile <<
" length " <<
len <<
" type " << evtype << endl;
63 for (
int j=0; j<(
len/5); j++) {
64 *
fDebugFile << dec <<
"\n evbuffer[" << ipt <<
"] = ";
65 for (
int k=j; k<j+5; k++) {
71 *
fDebugFile << dec <<
"\n evbuffer[" << ipt <<
"] = ";
72 for (
int k=ipt; k<
len; k++) {
96 [
type](
UInt_t evtype){ return type == evtype; });
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
virtual void MakePrefix()
void SetConfig(const char *label)
UInt_t GetRawData(UInt_t crate, UInt_t slot, UInt_t hit) const
std::vector< UInt_t > eventtypes
virtual void AddEvtType(UInt_t evtype)
THaEvtTypeHandler(const char *name, const char *description)
virtual void EvPrint() const
virtual Bool_t IsMyEvent(UInt_t type) const
virtual void EvDump(THaEvData *evdata) const
virtual void SetDebugFile(std::ofstream *file)
virtual void SetEvtType(UInt_t evtype)
virtual ~THaEvtTypeHandler()
std::ofstream * fDebugFile
virtual void MakePrefix()
const char * GetName() const override
const char * GetTitle() const override