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

Public Member Functions

 THaCrateMap (const char *db="cratemap")
 
virtual ~THaCrateMap ()=default
 
bool isFastBus (UInt_t crate) const
 
bool isVme (UInt_t crate) const
 
bool isCamac (UInt_t crate) const
 
bool isScalerCrate (UInt_t crate) const
 
bool isBankStructure (UInt_t crate) const
 
UInt_t getNslot (UInt_t crate) const
 
UInt_t getMinSlot (UInt_t crate) const
 
UInt_t getMaxSlot (UInt_t crate) const
 
Int_t getModel (UInt_t crate, UInt_t slot) const
 
UInt_t getHeader (UInt_t crate, UInt_t slot) const
 
UInt_t getMask (UInt_t crate, UInt_t slot) const
 
Int_t getBank (UInt_t crate, UInt_t slot) const
 
UInt_t getScalerCrate (UInt_t word) const
 
const char * getScalerLoc (UInt_t crate) const
 
const char * getConfigStr (UInt_t crate, UInt_t slot) const
 
UInt_t getNchan (UInt_t crate, UInt_t slot) const
 
UInt_t getNdata (UInt_t crate, UInt_t slot) const
 
bool crateUsed (UInt_t crate) const
 
bool slotUsed (UInt_t crate, UInt_t slot) const
 
bool slotClear (UInt_t crate, UInt_t slot) const
 
void setUnused (UInt_t crate, UInt_t slot)
 
int init (const std::string &the_map)
 
int init (ULong64_t time=0)
 
int init (FILE *fi, const char *fname)
 
void print (std::ostream &os=std::cout) const
 
const std::vector< UInt_t > & GetUsedCrates () const
 
const std::vector< UInt_t > & GetUsedSlots (UInt_t crate) const
 
const char * GetName () const
 

Static Public Attributes

static const UInt_t MAXCHAN = 8192
 
static const UInt_t MAXDATA = 65536
 
static const Int_t CM_OK = 1
 
static const Int_t CM_ERR = -1
 

#include <THaCrateMap.h>

Constructor & Destructor Documentation

Decoder::THaCrateMap::THaCrateMap ( const char *  db = "cratemap")
explicit
virtual Decoder::THaCrateMap::~THaCrateMap ( )
virtualdefault

Member Function Documentation

bool Decoder::THaCrateMap::crateUsed ( UInt_t  crate) const
inline
Int_t Decoder::THaCrateMap::getBank ( UInt_t  crate,
UInt_t  slot 
) const
inline
const char * Decoder::THaCrateMap::getConfigStr ( UInt_t  crate,
UInt_t  slot 
) const
inline
UInt_t Decoder::THaCrateMap::getHeader ( UInt_t  crate,
UInt_t  slot 
) const
inline
UInt_t Decoder::THaCrateMap::getMask ( UInt_t  crate,
UInt_t  slot 
) const
inline
UInt_t Decoder::THaCrateMap::getMaxSlot ( UInt_t  crate) const
inline
UInt_t Decoder::THaCrateMap::getMinSlot ( UInt_t  crate) const
inline
Int_t Decoder::THaCrateMap::getModel ( UInt_t  crate,
UInt_t  slot 
) const
inline
const char* Decoder::THaCrateMap::GetName ( ) const
inline
UInt_t Decoder::THaCrateMap::getNchan ( UInt_t  crate,
UInt_t  slot 
) const
inline
UInt_t Decoder::THaCrateMap::getNdata ( UInt_t  crate,
UInt_t  slot 
) const
inline
UInt_t Decoder::THaCrateMap::getNslot ( UInt_t  crate) const
inline
UInt_t Decoder::THaCrateMap::getScalerCrate ( UInt_t  word) const
const char * Decoder::THaCrateMap::getScalerLoc ( UInt_t  crate) const
inline
const std::vector< UInt_t > & Decoder::THaCrateMap::GetUsedCrates ( ) const
inline
const std::vector< UInt_t > & Decoder::THaCrateMap::GetUsedSlots ( UInt_t  crate) const
inline
int Decoder::THaCrateMap::init ( const std::string &  the_map)
int Decoder::THaCrateMap::init ( ULong64_t  time = 0)
int Decoder::THaCrateMap::init ( FILE *  fi,
const char *  fname 
)
bool Decoder::THaCrateMap::isBankStructure ( UInt_t  crate) const
inline
bool Decoder::THaCrateMap::isCamac ( UInt_t  crate) const
inline
bool Decoder::THaCrateMap::isFastBus ( UInt_t  crate) const
inline
bool Decoder::THaCrateMap::isScalerCrate ( UInt_t  crate) const
inline
bool Decoder::THaCrateMap::isVme ( UInt_t  crate) const
inline
void Decoder::THaCrateMap::print ( std::ostream &  os = std::cout) const
void Decoder::THaCrateMap::setUnused ( UInt_t  crate,
UInt_t  slot 
)
bool Decoder::THaCrateMap::slotClear ( UInt_t  crate,
UInt_t  slot 
) const
inline
bool Decoder::THaCrateMap::slotUsed ( UInt_t  crate,
UInt_t  slot 
) const
inline

Member Data Documentation

const Int_t Decoder::THaCrateMap::CM_ERR = -1
static
const Int_t Decoder::THaCrateMap::CM_OK = 1
static
const UInt_t Decoder::THaCrateMap::MAXCHAN = 8192
static
const UInt_t Decoder::THaCrateMap::MAXDATA = 65536
static

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