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

Public Member Functions

 THaSlotData ()
 
 THaSlotData (UInt_t crate, UInt_t slot)
 
virtual ~THaSlotData ()
 
const char * devType () const
 
Int_t loadModule (const THaCrateMap *map)
 
UInt_t getNumRaw () const
 
UInt_t getRawData (UInt_t ihit) const
 
UInt_t getRawData (UInt_t chan, UInt_t hit) const
 
UInt_t getNumHits (UInt_t chan) const
 
UInt_t getNumChan () const
 
UInt_t getNextChan (UInt_t index) const
 
UInt_t getData (UInt_t chan, UInt_t hit) const
 
UInt_t getCrate () const
 
UInt_t getSlot () const
 
UInt_t getNchan () const
 
void clearEvent ()
 
Int_t loadData (const char *type, UInt_t chan, UInt_t dat, UInt_t raw)
 
Int_t loadData (UInt_t chan, UInt_t dat, UInt_t raw)
 
UInt_t LoadIfSlot (const UInt_t *evbuffer, const UInt_t *pstop)
 
UInt_t LoadBank (const UInt_t *p, UInt_t pos, UInt_t len)
 
UInt_t LoadNextEvBuffer ()
 
Bool_t IsMultiBlockMode ()
 
Bool_t BlockIsDone ()
 
void SetDebugFile (std::ofstream *file)
 
ModuleGetModule ()
 
void define (UInt_t crate, UInt_t slot, UInt_t nchan=DEFNCHAN, UInt_t ndata=DEFNDATA, UInt_t nhitperchan=DEFNHITCHAN)
 
void print () const
 
void print_to_file () const
 
void compressdataindex (UInt_t numidx)
 

Static Public Attributes

static const UInt_t DEFNCHAN = 128
 
static const UInt_t DEFNDATA = 1024
 
static const UInt_t DEFNHITCHAN = 1
 

#include <THaSlotData.h>

Constructor & Destructor Documentation

Decoder::THaSlotData::THaSlotData ( )
Decoder::THaSlotData::THaSlotData ( UInt_t  crate,
UInt_t  slot 
)
Decoder::THaSlotData::~THaSlotData ( )
virtualdefault

Member Function Documentation

Bool_t Decoder::THaSlotData::BlockIsDone ( )
inline
void Decoder::THaSlotData::clearEvent ( )
inline
void Decoder::THaSlotData::compressdataindex ( UInt_t  numidx)
inline
void Decoder::THaSlotData::define ( UInt_t  crate,
UInt_t  slot,
UInt_t  nchan = DEFNCHAN,
UInt_t  ndata = DEFNDATA,
UInt_t  nhitperchan = DEFNHITCHAN 
)
const char * Decoder::THaSlotData::devType ( ) const
inline
UInt_t Decoder::THaSlotData::getCrate ( ) const
inline
UInt_t Decoder::THaSlotData::getData ( UInt_t  chan,
UInt_t  hit 
) const
inline
Module* Decoder::THaSlotData::GetModule ( )
inline
UInt_t Decoder::THaSlotData::getNchan ( ) const
inline
UInt_t Decoder::THaSlotData::getNextChan ( UInt_t  index) const
inline
UInt_t Decoder::THaSlotData::getNumChan ( ) const
inline
UInt_t Decoder::THaSlotData::getNumHits ( UInt_t  chan) const
inline
UInt_t Decoder::THaSlotData::getNumRaw ( ) const
inline
UInt_t Decoder::THaSlotData::getRawData ( UInt_t  ihit) const
inline
UInt_t Decoder::THaSlotData::getRawData ( UInt_t  chan,
UInt_t  hit 
) const
inline
UInt_t Decoder::THaSlotData::getSlot ( ) const
inline
Bool_t Decoder::THaSlotData::IsMultiBlockMode ( )
inline
UInt_t Decoder::THaSlotData::LoadBank ( const UInt_t *  p,
UInt_t  pos,
UInt_t  len 
)
Int_t Decoder::THaSlotData::loadData ( const char *  type,
UInt_t  chan,
UInt_t  dat,
UInt_t  raw 
)
int Decoder::THaSlotData::loadData ( UInt_t  chan,
UInt_t  dat,
UInt_t  raw 
)
UInt_t Decoder::THaSlotData::LoadIfSlot ( const UInt_t *  evbuffer,
const UInt_t *  pstop 
)
int Decoder::THaSlotData::loadModule ( const THaCrateMap map)
UInt_t Decoder::THaSlotData::LoadNextEvBuffer ( )
void Decoder::THaSlotData::print ( ) const
void Decoder::THaSlotData::print_to_file ( ) const
void Decoder::THaSlotData::SetDebugFile ( std::ofstream *  file)
inline

Member Data Documentation

const UInt_t Decoder::THaSlotData::DEFNCHAN = 128
static
const UInt_t Decoder::THaSlotData::DEFNDATA = 1024
static
const UInt_t Decoder::THaSlotData::DEFNHITCHAN = 1
static

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