ROOT logo
Podd » (UNKNOWN) » Decoder::Module

class Decoder::Module: public TNamed


   Module

   Abstract class to help decode the module.
   No module data is stored here; instead it is in THaSlotData
   arrays, as it was traditionally.


Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~Module()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* opt)
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tDecode(const UInt_t* p)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDoPrint() const
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
static Decoder::Module::TypeSet_t&fgModuleTypes()
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Int_tGetCrate() const
virtual Int_tGetData(Int_t) const
virtual Int_tGetData(Int_t, Int_t) const
virtual Int_tGetData(Int_t, Int_t, Int_t) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual Int_tGetMode() const
virtual const char*TNamed::GetName() const
virtual Int_tGetNumChan() const
virtual Int_tGetNumEvents() const
virtual Int_tGetNumSamples(Int_t i) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual Int_tGetSlot() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidInit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSlot(UInt_t rdata)
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual Int_tLoadSlot(Decoder::THaSlotData* sldat, const UInt_t* evbuffer, const UInt_t* pstop)
virtual Int_tLoadSlot(Decoder::THaSlotData* sldat, const UInt_t* evbuffer, Int_t pos, Int_t len)
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
Decoder::Module&operator=(const Decoder::Module& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidSetBank(Int_t bank)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetDebugFile(ofstream* file)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetHeader(UInt_t header, UInt_t mask)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetSlot(Int_t crate, Int_t slot, Int_t header = 0, Int_t mask = 0, Int_t modelnum = 0)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
voidCreate(const Decoder::Module& rhs)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
static Decoder::Module::TypeIter_tDoRegister(const Decoder::Module::ModuleType& registration_info)
voidTObject::MakeZombie()

Data Members

protected:
Bool_tIsInit
Int_tfBank
UInt_tfCrate
vector<Int_t>fDataRaw data
ofstream*fDebugFile
UInt_tfHeader
UInt_tfHeaderMask
Int_tfModelNum
TStringTNamed::fNameobject identifier
Int_tfNumChan
UInt_tfSlot
TStringTNamed::fTitleobject title
Int_tfWdcntMask
Int_tfWdcntShift
Int_tfWordsExpect
Int_tfWordsSeen

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

~Module()
Module & operator=(const Decoder::Module& rhs)
void Create(const Decoder::Module& rhs)
void Init()
 Suggestion: call this Init() before calling the inherting class's Init.
 Otherwise some variables may be undefined.  The "factory" method
 using TClass::New does NOT call the c'tor of this base class !!
 Make sure all your variables are defined.
Bool_t IsSlot(UInt_t rdata)
 Simplest version of IsSlot relies on a unique header.
void DoPrint() const
Int_t LoadSlot(Decoder::THaSlotData* sldat, const UInt_t* evbuffer, Int_t pos, Int_t len)
 Load slot from pos to pos+len
TypeSet_t& fgModuleTypes()
Int_t GetData(Int_t ) const
 inheriting classes need to implement one or more of these
{ return 0; }
Int_t GetData(Int_t , Int_t ) const
{ return 0; }
Int_t GetData(Int_t , Int_t , Int_t ) const
{ return 0; }
Int_t Decode(const UInt_t* p)
 Loads slot data
Int_t LoadSlot(Decoder::THaSlotData* sldat, const UInt_t* evbuffer, const UInt_t* pstop)
 Loads slot data from pos to pos+len
Int_t GetNumChan() const
{ return fNumChan; }
Int_t GetNumEvents() const
{ return 0; }
Int_t GetNumSamples(Int_t i) const
{ return 0; }
Int_t GetMode() const
{ return 0; }
void SetSlot(Int_t crate, Int_t slot, Int_t header = 0, Int_t mask = 0, Int_t modelnum = 0)
void SetBank(Int_t bank)
{ fBank = bank; }
void Clear(Option_t* opt)
{ fWordsSeen = 0; }
Int_t GetCrate() const
{ return fCrate; }
Int_t GetSlot() const
{ return fSlot; }
void SetDebugFile(ofstream* file)
void SetHeader(UInt_t header, UInt_t mask)
TypeIter_t DoRegister(const Decoder::Module::ModuleType& registration_info)