Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
Decoder::PipeliningModule Class Reference

Definition at line 40 of file PipeliningModule.h.

Public Member Functions

virtual void Clear (Option_t *opt="")
 
virtual void Init (const char *configstr)
 
virtual UInt_t LoadBank (THaSlotData *sldat, const UInt_t *evbuffer, UInt_t pos, UInt_t len)
 
virtual UInt_t LoadBlock (THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
 
PipeliningModuleoperator= (const PipeliningModule &fh)=delete
 
 PipeliningModule ()
 
 PipeliningModule (const PipeliningModule &fh)=delete
 
 PipeliningModule (UInt_t crate, UInt_t slot)
 
virtual ~PipeliningModule ()=default
 
- Public Member Functions inherited from Decoder::VmeModule
virtual Bool_t IsSlot (UInt_t rdata)
 
virtual UInt_t LoadSlot (THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
 
virtual UInt_t LoadSlot (THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)=0
 
virtual UInt_t LoadSlot (THaSlotData *sldat, const UInt_t *evbuffer, UInt_t pos, UInt_t len)
 
 VmeModule ()=default
 
 VmeModule (UInt_t crate, UInt_t slot)
 
virtual ~VmeModule ()=default
 
- Public Member Functions inherited from Decoder::Module
Bool_t BlockIsDone () const
 
virtual Int_t Decode (const UInt_t *p)=0
 
virtual void DoPrint () const
 
UInt_t GetBlockSize () const
 
virtual UInt_t GetCrate () const
 
virtual UInt_t GetData (Decoder::EModuleType, UInt_t, UInt_t) const
 
virtual UInt_t GetData (Decoder::EModuleType, UInt_t, UInt_t, UInt_t) const
 
virtual UInt_t GetData (UInt_t) const
 
virtual UInt_t GetData (UInt_t, UInt_t) const
 
virtual UInt_t GetData (UInt_t, UInt_t, UInt_t) const
 
virtual Int_t GetMode () const
 
virtual UInt_t GetNumChan () const
 
virtual UInt_t GetNumEvents () const
 
virtual UInt_t GetNumEvents (Decoder::EModuleType, UInt_t) const
 
virtual UInt_t GetNumEvents (UInt_t) const
 
virtual UInt_t GetNumSamples (UInt_t) const
 
virtual UInt_t GetOpt (UInt_t) const
 
virtual UInt_t GetOpt (UInt_t, UInt_t) const
 
virtual UInt_t GetSlot () const
 
virtual Bool_t HasCapability (Decoder::EModuleType)
 
virtual void Init ()
 
Bool_t IsMultiBlockMode () const
 
virtual Bool_t IsMultiFunction ()
 
 Module ()
 
 Module (UInt_t crate, UInt_t slot)
 
virtual void SetBank (Int_t bank)
 
virtual void SetDebugFile (std::ofstream *file)
 
virtual void SetFirmware (Int_t fw)
 
virtual void SetHeader (UInt_t header, UInt_t mask)
 
virtual void SetMode (Int_t mode)
 
virtual void SetSlot (UInt_t crate, UInt_t slot, UInt_t header=0, UInt_t mask=0, Int_t modelnum=0)
 
virtual ~Module ()=default
 
- Public Member Functions inherited from TNamed
void Clear (Option_t *option="") override
 
TObjectClone (const char *newname="") const override
 
Int_t Compare (const TObject *obj) const override
 
void Copy (TObject &named) const override
 
virtual void FillBuffer (char *&buffer)
 
const char * GetName () const override
 
const char * GetTitle () const override
 
ULong_t Hash () const override
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual void SetTitle (const char *title="")
 
virtual Int_t Sizeof () const
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 
- Public Member Functions inherited from TObject
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
 TObject ()
 
 TObject (const TObject &object)
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 
virtual ~TObject ()
 

Protected Types

enum  { kBlockHeader = 0 , kBlockTrailer = 1 , kEventHeader = 2 }
 

Protected Member Functions

virtual UInt_t LoadNextEvBuffer (THaSlotData *sldat)
 
Long64_t VerifyBlockTrailer (const UInt_t *evbuffer, UInt_t pos, UInt_t len, Long64_t ibeg, Long64_t iend) const
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 

Static Protected Member Functions

static Long64_t FindEventsInBlock (const uint32_t *buf, size_t start, size_t len, uint32_t evthdr, uint32_t blktrl, std::vector< Long64_t > &evtpos, uint32_t slot)
 
static Long64_t FindIDWord (const uint32_t *buf, size_t start, size_t len, uint32_t type)
 
static Long64_t FindIDWord (const uint32_t *buf, size_t start, size_t len, uint32_t type, uint32_t slot)
 
- Static Protected Member Functions inherited from Decoder::Module
static void ParseConfigStr (const char *configstr, const std::vector< ConfigStrReq > &req)
 

Protected Attributes

UInt_t data_type_def
 
std::vector< Long64_tevtblk
 
UInt_t fBlockHeader
 
VectorUIntNI fBuffer
 
UInt_t index_buffer
 
- Protected Attributes inherited from Decoder::Module
UInt_t block_size
 
Int_t fBank
 
Bool_t fBlockIsDone
 
UInt_t fCrate
 
std::vector< UInt_tfData
 
Int_t fDebug
 
std::ofstream * fDebugFile
 
TObjectfExtra
 
Int_t fFirmwareVers
 
UInt_t fHeader
 
UInt_t fHeaderMask
 
Int_t fMode
 
Int_t fModelNum
 
Bool_t fMultiBlockMode
 
UInt_t fNumChan
 
UInt_t fSlot
 
UInt_t fWdcntMask
 
UInt_t fWdcntShift
 
UInt_t fWordsExpect
 
UInt_t fWordsSeen
 
Bool_t IsInit
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Additional Inherited Members

- Public Types inherited from Decoder::Module
using TypeIter_t = TypeSet_t::iterator
 
using TypeSet_t = std::set< ModuleType >
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from Decoder::Module
static TypeIter_t DoRegister (const ModuleType &registration_info)
 
static TypeSet_tfgModuleTypes ()
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 

#include <PipeliningModule.h>

Inheritance diagram for Decoder::PipeliningModule:

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kBlockHeader 
kBlockTrailer 
kEventHeader 

Definition at line 71 of file PipeliningModule.h.

Constructor & Destructor Documentation

◆ PipeliningModule() [1/3]

Decoder::PipeliningModule::PipeliningModule ( )
inline

Definition at line 44 of file PipeliningModule.h.

◆ PipeliningModule() [2/3]

Decoder::PipeliningModule::PipeliningModule ( UInt_t  crate,
UInt_t  slot 
)

Definition at line 67 of file PipeliningModule.cxx.

◆ PipeliningModule() [3/3]

Decoder::PipeliningModule::PipeliningModule ( const PipeliningModule fh)
delete

◆ ~PipeliningModule()

virtual Decoder::PipeliningModule::~PipeliningModule ( )
virtualdefault

Member Function Documentation

◆ Clear()

void Decoder::PipeliningModule::Clear ( Option_t opt = "")
virtual

Reimplemented from Decoder::Module.

Reimplemented in Decoder::Caen1190Module, and Decoder::Fadc250Module.

Definition at line 96 of file PipeliningModule.cxx.

◆ FindEventsInBlock()

Long64_t Decoder::PipeliningModule::FindEventsInBlock ( const uint32_t *  buf,
size_t  start,
size_t  len,
uint32_t  evthdr,
uint32_t  blktrl,
std::vector< Long64_t > &  evtpos,
uint32_t  slot 
)
inlinestaticprotected

Definition at line 130 of file PipeliningModule.h.

◆ FindIDWord() [1/2]

Long64_t Decoder::PipeliningModule::FindIDWord ( const uint32_t *  buf,
size_t  start,
size_t  len,
uint32_t  type 
)
inlinestaticprotected

Definition at line 88 of file PipeliningModule.h.

◆ FindIDWord() [2/2]

Long64_t Decoder::PipeliningModule::FindIDWord ( const uint32_t *  buf,
size_t  start,
size_t  len,
uint32_t  type,
uint32_t  slot 
)
inlinestaticprotected

Definition at line 109 of file PipeliningModule.h.

◆ Init()

void Decoder::PipeliningModule::Init ( const char *  configstr)
virtual

Reimplemented from Decoder::Module.

Reimplemented in Decoder::Fadc250Module.

Definition at line 76 of file PipeliningModule.cxx.

◆ LoadBank()

UInt_t Decoder::PipeliningModule::LoadBank ( THaSlotData sldat,
const UInt_t evbuffer,
UInt_t  pos,
UInt_t  len 
)
virtual

Reimplemented from Decoder::Module.

Reimplemented in Decoder::Caen1190Module.

Definition at line 151 of file PipeliningModule.cxx.

◆ LoadBlock()

UInt_t Decoder::PipeliningModule::LoadBlock ( THaSlotData sldat,
const UInt_t evbuffer,
const UInt_t pstop 
)
virtual

Reimplemented from Decoder::Module.

Definition at line 104 of file PipeliningModule.cxx.

◆ LoadNextEvBuffer()

UInt_t Decoder::PipeliningModule::LoadNextEvBuffer ( THaSlotData sldat)
protectedvirtual

Reimplemented from Decoder::Module.

Reimplemented in Decoder::Caen1190Module.

Definition at line 231 of file PipeliningModule.cxx.

◆ operator=()

PipeliningModule & Decoder::PipeliningModule::operator= ( const PipeliningModule fh)
delete

◆ VerifyBlockTrailer()

Long64_t Decoder::PipeliningModule::VerifyBlockTrailer ( const UInt_t evbuffer,
UInt_t  pos,
UInt_t  len,
Long64_t  ibeg,
Long64_t  iend 
) const
protected

Definition at line 119 of file PipeliningModule.cxx.

Member Data Documentation

◆ data_type_def

UInt_t Decoder::PipeliningModule::data_type_def
protected

Definition at line 64 of file PipeliningModule.h.

◆ evtblk

std::vector<Long64_t> Decoder::PipeliningModule::evtblk
protected

Definition at line 68 of file PipeliningModule.h.

◆ fBlockHeader

UInt_t Decoder::PipeliningModule::fBlockHeader
protected

Definition at line 63 of file PipeliningModule.h.

◆ fBuffer

VectorUIntNI Decoder::PipeliningModule::fBuffer
protected

Definition at line 67 of file PipeliningModule.h.

◆ index_buffer

UInt_t Decoder::PipeliningModule::index_buffer
protected

Definition at line 69 of file PipeliningModule.h.

Collaboration diagram for Decoder::PipeliningModule:

The documentation for this class was generated from the following files: