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

Definition at line 16 of file F1TDCModule.h.

Public Types

enum  EResolution { ILO = 0 , IHI = 1 }
 
- 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
 

Public Member Functions

virtual void Clear (Option_t *opt="")
 
Int_t Decode (const UInt_t *)
 
 F1TDCModule ()
 
 F1TDCModule (UInt_t crate, UInt_t slot)
 
virtual UInt_t GetData (UInt_t chan, UInt_t hit) const
 
UInt_t GetNumHits () const
 
EResolution GetResolution () const
 
virtual void Init ()
 
Bool_t IsHiResolution () const
 
virtual Bool_t IsSlot (UInt_t rdata)
 
virtual UInt_t LoadSlot (THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
 
void SetResolution (Int_t which=0)
 
virtual ~F1TDCModule ()=default
 
- Public Member Functions inherited from Decoder::VmeModule
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 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, 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 (const char *configstr)
 
Bool_t IsMultiBlockMode () const
 
virtual Bool_t IsMultiFunction ()
 
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)
 
virtual UInt_t LoadNextEvBuffer (THaSlotData *)
 
 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 ()
 

Private Member Functions

UInt_t LoadSlot (THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
 

Private Attributes

UInt_t chanmask
 
UInt_t datamask
 
UInt_t fNumHits
 
EResolution fResol
 
std::vector< UInt_tfTdcData
 
Bool_t IsInit
 
UInt_t slotmask
 

Static Private Attributes

static TypeIter_t fgThisType
 

Additional Inherited Members

- 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
 
- 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 Decoder::Module
static void ParseConfigStr (const char *configstr, const std::vector< ConfigStrReq > &req)
 
- 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
 

#include <F1TDCModule.h>

Inheritance diagram for Decoder::F1TDCModule:

Member Enumeration Documentation

◆ EResolution

Enumerator
ILO 
IHI 

Definition at line 29 of file F1TDCModule.h.

Constructor & Destructor Documentation

◆ F1TDCModule() [1/2]

Decoder::F1TDCModule::F1TDCModule ( )
inline

Definition at line 20 of file F1TDCModule.h.

◆ F1TDCModule() [2/2]

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

Definition at line 24 of file F1TDCModule.cxx.

◆ ~F1TDCModule()

virtual Decoder::F1TDCModule::~F1TDCModule ( )
virtualdefault

Member Function Documentation

◆ Clear()

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

Reimplemented from Decoder::Module.

Definition at line 60 of file F1TDCModule.cxx.

◆ Decode()

Int_t Decoder::F1TDCModule::Decode ( const UInt_t )
inlinevirtual

Implements Decoder::Module.

Definition at line 43 of file F1TDCModule.h.

◆ GetData()

UInt_t Decoder::F1TDCModule::GetData ( UInt_t  chan,
UInt_t  hit 
) const
virtual

Reimplemented from Decoder::Module.

Definition at line 53 of file F1TDCModule.cxx.

◆ GetNumHits()

UInt_t Decoder::F1TDCModule::GetNumHits ( ) const
inline

Definition at line 42 of file F1TDCModule.h.

◆ GetResolution()

EResolution Decoder::F1TDCModule::GetResolution ( ) const
inline

Definition at line 39 of file F1TDCModule.h.

◆ Init()

void Decoder::F1TDCModule::Init ( )
virtual

Reimplemented from Decoder::Module.

Definition at line 32 of file F1TDCModule.cxx.

◆ IsHiResolution()

Bool_t Decoder::F1TDCModule::IsHiResolution ( ) const
inline

Definition at line 40 of file F1TDCModule.h.

◆ IsSlot()

Bool_t Decoder::F1TDCModule::IsSlot ( UInt_t  rdata)
virtual

Reimplemented from Decoder::VmeModule.

Definition at line 45 of file F1TDCModule.cxx.

◆ LoadSlot() [1/2]

UInt_t Decoder::VmeModule::LoadSlot ( THaSlotData sldat,
const UInt_t evbuffer,
const UInt_t pstop 
)
virtual

Reimplemented from Decoder::VmeModule.

Definition at line 29 of file VmeModule.cxx.

◆ LoadSlot() [2/2]

UInt_t Decoder::F1TDCModule::LoadSlot ( THaSlotData sldat,
const UInt_t evbuffer,
const UInt_t pstop 
)
privatevirtual

Reimplemented from Decoder::VmeModule.

Definition at line 66 of file F1TDCModule.cxx.

◆ SetResolution()

void Decoder::F1TDCModule::SetResolution ( Int_t  which = 0)
inline

Definition at line 36 of file F1TDCModule.h.

Member Data Documentation

◆ chanmask

UInt_t Decoder::F1TDCModule::chanmask
private

Definition at line 54 of file F1TDCModule.h.

◆ datamask

UInt_t Decoder::F1TDCModule::datamask
private

Definition at line 54 of file F1TDCModule.h.

◆ fgThisType

Module::TypeIter_t Decoder::F1TDCModule::fgThisType
staticprivate
Initial value:
=
DoRegister( ModuleType( "Decoder::F1TDCModule" , 3201 ))
static TypeIter_t DoRegister(const ModuleType &registration_info)
Definition Module.cxx:198

Definition at line 56 of file F1TDCModule.h.

◆ fNumHits

UInt_t Decoder::F1TDCModule::fNumHits
private

Definition at line 50 of file F1TDCModule.h.

◆ fResol

EResolution Decoder::F1TDCModule::fResol
private

Definition at line 51 of file F1TDCModule.h.

◆ fTdcData

std::vector<UInt_t> Decoder::F1TDCModule::fTdcData
private

Definition at line 52 of file F1TDCModule.h.

◆ IsInit

Bool_t Decoder::F1TDCModule::IsInit
private

Definition at line 53 of file F1TDCModule.h.

◆ slotmask

UInt_t Decoder::F1TDCModule::slotmask
private

Definition at line 54 of file F1TDCModule.h.

Collaboration diagram for Decoder::F1TDCModule:

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