26 DoRegister( ModuleType(
"Decoder::Caen775Module" , 775 ));
38 cout << endl <<
"Initializing v" <<
MyModName() <<
"!" << endl << endl;
42#if defined DEBUG && defined WITH_DEBUG
65 for (
UInt_t i=0;i<nword;i++) {
70 UInt_t raw=((*p)&0x00000fff);
75 if( status !=
SD_OK )
return -1;
101 nword = (
p[
index] & 0x00003f00) >> 8;
102 auto slot_num = (
p[
index] & 0xf8000000) >> 27;
105 }
else if (slot_counter < nword) {
116 if( status !=
SD_OK )
return -1;
122 <<
"] = " << hex << evbuffer[
index] << dec <<
" >> crate = "
123 <<
fCrate <<
" >> slot = " <<
fSlot <<
" >> pos = "
125 <<
" >> len = " <<
len <<
" >> index = " <<
index <<
"\n" << endl;
128 if( counter != nword )
129 cout <<
Form(
"Warning in v%s Number of converted channels, %u, is not "
130 "equal to number of decoded words, %u!",
131 MyModName(), nword, counter) << endl << endl;
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
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
char * Form(const char *fmt,...)
virtual UInt_t GetData(UInt_t chan) const
static const size_t NTDCCHAN
virtual const char * MyModType()
virtual void Clear(Option_t *opt="")
static TypeIter_t fgThisType
virtual UInt_t LoadSlot(THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
virtual const char * MyModName()
std::ofstream * fDebugFile
std::vector< UInt_t > fData
TypeSet_t::iterator TypeIter_t
Int_t loadData(const char *type, UInt_t chan, UInt_t dat, UInt_t raw)
void Clear(Option_t *option="") override
const char * Data() const