Hall A ROOT/C++ Analyzer (podd)
Decoder::Scaler3801 Class Reference

Public Member Functions

 Scaler3801 (UInt_t crate, UInt_t slot)
 
 Scaler3801 ()=default
 
virtual ~Scaler3801 ()=default
 
virtual void Init ()
 
- Public Member Functions inherited from Decoder::GenScaler
 GenScaler ()
 
 GenScaler (UInt_t crate, UInt_t slot)
 
virtual void Clear (Option_t *opt="")
 
virtual Int_t Decode (const UInt_t *evbuffer)
 
virtual UInt_t GetData (UInt_t chan) const
 
virtual Bool_t IsSlot (UInt_t rdata)
 
virtual void DoPrint () const
 
void GenInit ()
 
Int_t SetClock (Double_t deltaT, UInt_t clockchan=0, Double_t clockrate=0)
 
Double_t GetRate (UInt_t chan) const
 
Double_t GetTimeSincePrev () const
 
Bool_t IsDecoded () const
 
void LoadNormScaler (GenScaler *scal)
 
void DebugPrint (std::ofstream *file=nullptr) const
 
virtual UInt_t LoadSlot (THaSlotData *sldat, const UInt_t *evbuffer, const UInt_t *pstop)
 
virtual UInt_t LoadSlot (THaSlotData *sldat, const UInt_t *evbuffer, UInt_t pos, UInt_t len)
 
virtual void SetBank (Int_t bank)
 
- Public Member Functions inherited from Decoder::VmeModule
 VmeModule (UInt_t crate, UInt_t slot)
 
 VmeModule ()=default
 
virtual ~VmeModule ()=default
 
- Public Member Functions inherited from Decoder::Module
 Module ()
 
 Module (UInt_t crate, UInt_t slot)
 
virtual ~Module ()=default
 
Bool_t IsMultiBlockMode () const
 
Bool_t BlockIsDone () const
 
virtual void SetFirmware (Int_t fw)
 
UInt_t GetBlockSize () const
 
virtual UInt_t GetData (UInt_t, UInt_t) const
 
virtual UInt_t GetData (UInt_t, UInt_t, UInt_t) 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 GetOpt (UInt_t) const
 
virtual UInt_t GetOpt (UInt_t, UInt_t) const
 
virtual UInt_t LoadNextEvBuffer (THaSlotData *)
 
virtual UInt_t GetNumChan () const
 
virtual UInt_t GetNumEvents (Decoder::EModuleType, UInt_t) const
 
virtual UInt_t GetNumEvents (UInt_t) const
 
virtual UInt_t GetNumEvents () const
 
virtual UInt_t GetNumSamples (UInt_t) const
 
virtual Int_t GetMode () const
 
virtual void SetSlot (UInt_t crate, UInt_t slot, UInt_t header=0, UInt_t mask=0, Int_t modelnum=0)
 
virtual void SetMode (Int_t mode)
 
virtual void Init (const char *configstr)
 
virtual UInt_t GetCrate () const
 
virtual UInt_t GetSlot () const
 
virtual void SetDebugFile (std::ofstream *file)
 
virtual void SetHeader (UInt_t header, UInt_t mask)
 
virtual Bool_t IsMultiFunction ()
 
virtual Bool_t HasCapability (Decoder::EModuleType)
 

Additional Inherited Members

- Public Types inherited from Decoder::Module
using TypeSet_t = std::set< ModuleType >
 
using TypeIter_t = TypeSet_t::iterator
 
- Static Public Member Functions inherited from Decoder::Module
static TypeSet_tfgModuleTypes ()
 
static TypeIter_t DoRegister (const ModuleType &registration_info)
 
- Protected Member Functions inherited from Decoder::GenScaler
void LoadRates ()
 
Bool_t checkchan (UInt_t chan) const
 
- Static Protected Member Functions inherited from Decoder::Module
static void ParseConfigStr (const char *configstr, const std::vector< ConfigStrReq > &req)
 
- Protected Attributes inherited from Decoder::GenScaler
Bool_t fIsDecoded
 
Bool_t fFirstTime
 
Double_t fDeltaT
 
std::vector< UInt_t > fDataArray
 
std::vector< UInt_t > fPrevData
 
std::vector< Double_t > fRate
 
UInt_t fClockChan
 
UInt_t fNumChanMask
 
UInt_t fNumChanShift
 
Bool_t fHasClock
 
Double_t fClockRate
 
GenScalerfNormScaler
 
Bool_t firsttime
 
Bool_t firstwarn
 
- Protected Attributes inherited from Decoder::Module
std::vector< UInt_t > fData
 
UInt_t fCrate
 
UInt_t fSlot
 
UInt_t fHeader
 
UInt_t fHeaderMask
 
Int_t fBank
 
UInt_t fWordsExpect
 
UInt_t fWordsSeen
 
UInt_t fWdcntMask
 
UInt_t fWdcntShift
 
Int_t fModelNum
 
UInt_t fNumChan
 
Int_t fMode
 
UInt_t block_size
 
Bool_t IsInit
 
Bool_t fMultiBlockMode
 
Bool_t fBlockIsDone
 
Int_t fFirmwareVers
 
Int_t fDebug
 
std::ofstream * fDebugFile
 
TObject * fExtra
 
- Static Protected Attributes inherited from Decoder::GenScaler
static const UInt_t fgNumChanDefault =32
 

#include <Scaler3801.h>

Inheritance diagram for Decoder::Scaler3801:

Constructor & Destructor Documentation

Decoder::Scaler3801::Scaler3801 ( UInt_t  crate,
UInt_t  slot 
)
Decoder::Scaler3801::Scaler3801 ( )
default
virtual Decoder::Scaler3801::~Scaler3801 ( )
virtualdefault

Member Function Documentation

void Decoder::Scaler3801::Init ( )
virtual

Reimplemented from Decoder::Module.

Collaboration diagram for Decoder::Scaler3801:

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