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

Definition at line 19 of file CodaRawDecoder.h.

Public Member Functions

 CodaRawDecoder ()
 
virtual ~CodaRawDecoder ()
 
- Public Member Functions inherited from Decoder::CodaDecoder
Bool_t BlockIsDone () const
 
 CodaDecoder ()
 
virtual Bool_t DataCached ()
 
virtual Int_t FillBankData (UInt_t *rdat, UInt_t roc, Int_t bank, UInt_t offset=0, UInt_t num=1) const
 
UInt_t GetBlockIndex () const
 
virtual UInt_t GetPrescaleFactor (UInt_t trigger) const
 
UInt_t GetTSEvType () const
 
virtual Int_t Init ()
 
Bool_t IsMultiBlockMode () const
 
virtual Int_t LoadEvent (const UInt_t *evbuffer)
 
virtual Int_t LoadFromMultiBlock ()
 
Int_t SetCodaVersion (Int_t version)
 
virtual Int_t SetDataVersion (Int_t version)
 
virtual void SetRunTime (ULong64_t tloc)
 
virtual ~CodaDecoder ()
 
- Public Member Functions inherited from THaEvData
const char * DevType (UInt_t crate, UInt_t slot) const
 
void EnableBenchmarks (Bool_t enable=true)
 
void EnableHelicity (Bool_t enable=true)
 
void EnablePrescanMode (Bool_t enable=true)
 
void EnableScalers (Bool_t enable=true)
 
Decoder::THaCrateMapGetCrateMap () const
 
UInt_t GetData (Decoder::EModuleType type, UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const
 
UInt_t GetData (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const
 
Int_t GetDataVersion () const
 
virtual double GetEpicsData (const char *tag, UInt_t event=0) const
 
virtual TString GetEpicsString (const char *tag, UInt_t event=0) const
 
virtual double GetEpicsTime (const char *tag, UInt_t event=0) const
 
UInt_t GetEvLength () const
 
UInt_t GetEvNum () const
 
virtual ULong64_t GetEvTime () const
 
UInt_t GetEvType () const
 
TObjectGetExtra () const
 
virtual Int_t GetHelicity () const
 
virtual Int_t GetHelicity (const TString &) const
 
UInt_t GetInstance () const
 
UInt_t GetLEbit (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const
 
virtual Decoder::ModuleGetModule (UInt_t roc, UInt_t slot) const
 
UInt_t GetNextChan (UInt_t crate, UInt_t slot, UInt_t index) const
 
UInt_t GetNslots () const
 
UInt_t GetNumChan (UInt_t crate, UInt_t slot) const
 
UInt_t GetNumEvents (Decoder::EModuleType type, UInt_t crate, UInt_t slot, UInt_t chan) const
 
UInt_t GetNumHits (UInt_t crate, UInt_t slot, UInt_t chan) const
 
UInt_t GetNumRaw (UInt_t crate, UInt_t slot) const
 
UInt_t GetOpt (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const
 
TString GetOrigPS () const
 
UInt_t GetRawData (UInt_t crate, UInt_t i) const
 
UInt_t GetRawData (UInt_t crate, UInt_t slot, UInt_t chan, UInt_t hit) const
 
UInt_t GetRawData (UInt_t crate, UInt_t slot, UInt_t hit) const
 
UInt_t GetRawData (UInt_t i) const
 
const UInt_tGetRawDataBuffer () const
 
const UInt_tGetRawDataBuffer (UInt_t crate) const
 
UInt_t GetRocLength (UInt_t crate) const
 
UInt_t GetRunNum () const
 
ULong64_t GetRunTime () const
 
UInt_t GetRunType () const
 
virtual UInt_t GetScaler (const TString &, UInt_t, UInt_t) const
 
virtual UInt_t GetScaler (UInt_t, UInt_t, UInt_t) const
 
UInt_t GetTrigBits () const
 
Bool_t HasCapability (Decoder::EModuleType type, UInt_t crate, UInt_t slot) const
 
Bool_t HelicityEnabled () const
 
Bool_t InCrate (UInt_t crate, UInt_t i) const
 
Bool_t IsEpicsEvent () const
 
virtual Bool_t IsLoadedEpics (const char *) const
 
Bool_t IsMultifunction (UInt_t crate, UInt_t slot) const
 
Bool_t IsPhysicsTrigger () const
 
Bool_t IsPrescaleEvent () const
 
Bool_t IsPrestartEvent () const
 
Bool_t IsScalerEvent () const
 
Bool_t IsSpecialEvent () const
 
Bool_t PrescanModeEnabled () const
 
virtual void PrintOut () const
 
virtual void PrintSlotData (UInt_t crate, UInt_t slot) const
 
Bool_t ScalersEnabled () const
 
void SetCrateMapName (const char *name)
 
void SetDebug (Int_t level)
 
virtual void SetDebugFile (std::ofstream *file)
 
void SetEpicsEvtType (UInt_t itype)
 
void SetEvTime (ULong64_t evtime)
 
void SetOrigPS (Int_t event_type)
 
void SetRunInfo (UInt_t num, UInt_t type, ULong64_t tloc)
 
void SetVerbose (Int_t level)
 
 THaEvData ()
 
virtual ~THaEvData ()
 
- 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 Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) 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 const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
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)
 
virtual TClassIsA () const
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") 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 void Print (Option_t *option="") const
 
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)
 
virtual void Streamer (TBuffer &)
 
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 ()
 

Additional Inherited Members

- Public Types inherited from Decoder::CodaDecoder
enum  { MAX_PSFACT = 12 }
 
- Public Types inherited from THaEvData
enum  { HED_OK = 0 , HED_WARN = -63 , HED_ERR = -127 , HED_FATAL = -255 }
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from Decoder::CodaDecoder
static BankInfo GetBank (const UInt_t *evbuf, UInt_t pos, UInt_t len)
 
static UInt_t InterpretBankTag (UInt_t tag)
 
- Static Public Member Functions inherited from THaEvData
static UInt_t GetInstances ()
 
static void hexdump (const char *cbuff, size_t len)
 
static void SetDefaultCrateMapName (const char *name)
 
- 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
 
- Protected Types inherited from THaEvData
enum  { kHelicityEnabled = BIT(14) , kScalersEnabled = BIT(15) , kPrescanMode = BIT(16) }
 
- Protected Member Functions inherited from Decoder::CodaDecoder
Int_t bank_decode (UInt_t roc, const UInt_t *evbuffer, UInt_t ipt, UInt_t istop)
 
BankDat_tCheckForBank (UInt_t roc, UInt_t slot)
 
void ChkFbSlot (UInt_t roc, const UInt_t *evbuffer, UInt_t ipt, UInt_t istop)
 
void ChkFbSlots ()
 
void CompareRocs ()
 
Int_t daqConfigDecode (const UInt_t *evbuf)
 
void debug_print (const UInt_t *evbuffer) const
 
void dump (const UInt_t *evbuffer) const
 
Int_t FindRocs (const UInt_t *evbuffer)
 
Int_t FindRocsCoda3 (const UInt_t *evbuffer)
 
virtual Int_t init_slotdata ()
 
virtual Int_t interpretCoda3 (const UInt_t *buffer)
 
virtual Int_t LoadIfFlagData (const UInt_t *evbuffer)
 
Int_t LoadTrigBankInfo (UInt_t index_buffer)
 
Int_t physics_decode (const UInt_t *evbuffer)
 
Int_t prescale_decode_coda2 (const UInt_t *evbuffer)
 
Int_t prescale_decode_coda3 (const UInt_t *evbuffer)
 
void PrintBankInfo () const
 
Int_t roc_decode (UInt_t roc, const UInt_t *evbuffer, UInt_t ipt, UInt_t istop)
 
virtual Int_t trigBankDecode (const UInt_t *evbuffer)
 
- Protected Member Functions inherited from THaEvData
virtual void FindUsedSlots ()
 
Bool_t GoodIndex (UInt_t crate, UInt_t slot) const
 
UInt_t idx (UInt_t crate, UInt_t slot)
 
UInt_t idx (UInt_t crate, UInt_t slot) const
 
virtual Int_t init_cmap ()
 
virtual void makeidx (UInt_t crate, UInt_t slot)
 
- 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 inherited from THaEvData
static Bool_t GoodCrateSlot (UInt_t crate, UInt_t slot)
 
- Protected Attributes inherited from Decoder::CodaDecoder
UInt_t bank_tag
 
std::vector< BankDat_tbankdat
 
UInt_t blkidx
 
UInt_t block_size
 
Bool_t buffmode
 
Int_t chkfbstat
 
std::vector< bool > fbfound
 
Bool_t fBlockIsDone
 
Bool_t fdfirst
 
Bool_t fMultiBlockMode
 
std::vector< UInt_tirn
 
UInt_t nroc
 
std::vector< UInt_tpsfact
 
Bool_t synchextra
 
Bool_t synchmiss
 
TBOBJ tbank
 
UInt_t tsEvType
 
- Protected Attributes inherited from THaEvData
const UInt_tbuffer
 
std::vector< std::unique_ptr< Decoder::THaSlotData > > crateslot
 
UInt_t data_type
 
UInt_t event_length
 
UInt_t event_num
 
UInt_t event_type
 
Int_t evscaler
 
ULong64_t evt_time
 
std::unique_ptr< THaBenchmarkfBench
 
TString fCrateMapName
 
Int_t fDataVersion
 
Int_t fDebug
 
std::ofstream * fDebugFile
 
Bool_t fDoBench
 
UInt_t fEpicsEvtType
 
TObjectfExtra
 
UInt_t fInstance
 
Bool_t first_decode
 
std::unique_ptr< Decoder::THaCrateMapfMap
 
TBits fMsgPrinted
 
Bool_t fNeedInit
 
ULong64_t fRunTime
 
std::vector< UShort_tfSlotClear
 
std::vector< UShort_tfSlotUsed
 
Bool_t fTrigSupPS
 
std::array< RocDat_t, Decoder::MAXROCrocdat
 
UInt_t run_num
 
UInt_t run_type
 
UInt_t trigger_bits
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Static Protected Attributes inherited from THaEvData
static Bool_t fgAllowUnimpl = false
 
static TString fgDefaultCrateMapName = "cratemap"
 
static TBits fgInstances
 
static const Double_t kBig = 1e38
 

#include <CodaRawDecoder.h>

Inheritance diagram for Podd::CodaRawDecoder:

Constructor & Destructor Documentation

◆ CodaRawDecoder()

Podd::CodaRawDecoder::CodaRawDecoder ( )

Definition at line 22 of file CodaRawDecoder.cxx.

◆ ~CodaRawDecoder()

Podd::CodaRawDecoder::~CodaRawDecoder ( )
virtual

Definition at line 51 of file CodaRawDecoder.cxx.

Collaboration diagram for Podd::CodaRawDecoder:

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