Definition at line 33 of file THaCrateMap.h.
|
bool | crateUsed (UInt_t crate) const |
|
Int_t | getBank (UInt_t crate, UInt_t slot) const |
|
const char * | getConfigStr (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 |
|
UInt_t | getMaxSlot (UInt_t crate) const |
|
UInt_t | getMinSlot (UInt_t crate) const |
|
Int_t | getModel (UInt_t crate, UInt_t slot) const |
|
const char * | GetName () const |
|
UInt_t | getNchan (UInt_t crate, UInt_t slot) const |
|
UInt_t | getNdata (UInt_t crate, UInt_t slot) const |
|
UInt_t | getNslot (UInt_t crate) const |
|
UInt_t | getScalerCrate (UInt_t word) const |
|
const char * | getScalerLoc (UInt_t crate) const |
|
UInt_t | getTSROC () const |
|
const std::vector< UInt_t > & | GetUsedCrates () const |
|
const std::vector< UInt_t > & | GetUsedSlots (UInt_t crate) const |
|
int | init (const std::string &the_map) |
|
int | init (FILE *fi, const char *fname) |
|
int | init (ULong64_t time=0) |
|
bool | isAllBanks (UInt_t crate) const |
|
bool | isBankStructure (UInt_t crate) const |
|
bool | isCamac (UInt_t crate) const |
|
bool | isFastBus (UInt_t crate) const |
|
bool | isScalerCrate (UInt_t crate) const |
|
bool | isVme (UInt_t crate) const |
|
void | print (std::ostream &os=std::cout) const |
|
void | setUnused (UInt_t crate) |
|
void | setUnused (UInt_t crate, UInt_t slot) |
|
bool | slotClear (UInt_t crate, UInt_t slot) const |
|
bool | slotUsed (UInt_t crate, UInt_t slot) const |
|
| THaCrateMap (const char *db="cratemap") |
|
virtual | ~THaCrateMap ()=default |
|
|
Int_t | loadConfig (std::string &line, std::string &cfgstr) |
|
Int_t | ParseCrateInfo (const std::string &line, UInt_t &crate) |
|
Int_t | resetCrate (UInt_t crate) |
|
Int_t | SetBankInfo () |
|
Int_t | setCrateType (UInt_t crate, const char *stype) |
|
Int_t | setModel (UInt_t crate, UInt_t slot, Int_t mod, UInt_t nchan=MAXCHAN, UInt_t ndata=MAXDATA) |
|
Int_t | SetModelSize (UInt_t crate, UInt_t slot, UInt_t model) |
|
void | setUsed (UInt_t crate, UInt_t slot) |
|
#include <THaCrateMap.h>
◆ ECrateCode
Enumerator |
---|
kUnknown | |
kFastbus | |
kVME | |
kScaler | |
kCamac | |
Definition at line 84 of file THaCrateMap.h.
◆ THaCrateMap()
Decoder::THaCrateMap::THaCrateMap |
( |
const char * |
db = "cratemap" | ) |
|
|
explicit |
◆ ~THaCrateMap()
virtual Decoder::THaCrateMap::~THaCrateMap |
( |
| ) |
|
|
virtualdefault |
◆ crateUsed()
bool Decoder::THaCrateMap::crateUsed |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ getBank()
◆ getConfigStr()
const char * Decoder::THaCrateMap::getConfigStr |
( |
UInt_t |
crate, |
|
|
UInt_t |
slot |
|
) |
| const |
|
inline |
◆ getHeader()
◆ getMask()
◆ getMaxSlot()
UInt_t Decoder::THaCrateMap::getMaxSlot |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ getMinSlot()
UInt_t Decoder::THaCrateMap::getMinSlot |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ getModel()
◆ GetName()
const char * Decoder::THaCrateMap::GetName |
( |
| ) |
const |
|
inline |
◆ getNchan()
◆ getNdata()
◆ getNslot()
◆ getScalerCrate()
UInt_t Decoder::THaCrateMap::getScalerCrate |
( |
UInt_t |
word | ) |
const |
◆ getScalerLoc()
const char * Decoder::THaCrateMap::getScalerLoc |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ getTSROC()
UInt_t Decoder::THaCrateMap::getTSROC |
( |
| ) |
const |
|
inline |
◆ GetUsedCrates()
const std::vector< UInt_t > & Decoder::THaCrateMap::GetUsedCrates |
( |
| ) |
const |
|
inline |
◆ GetUsedSlots()
const std::vector< UInt_t > & Decoder::THaCrateMap::GetUsedSlots |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ init() [1/3]
int Decoder::THaCrateMap::init |
( |
const std::string & |
the_map | ) |
|
◆ init() [2/3]
int Decoder::THaCrateMap::init |
( |
FILE * |
fi, |
|
|
const char * |
fname |
|
) |
| |
◆ init() [3/3]
int Decoder::THaCrateMap::init |
( |
ULong64_t |
time = 0 | ) |
|
◆ isAllBanks()
bool Decoder::THaCrateMap::isAllBanks |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ isBankStructure()
bool Decoder::THaCrateMap::isBankStructure |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ isCamac()
bool Decoder::THaCrateMap::isCamac |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ isFastBus()
bool Decoder::THaCrateMap::isFastBus |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ isScalerCrate()
bool Decoder::THaCrateMap::isScalerCrate |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ isVme()
bool Decoder::THaCrateMap::isVme |
( |
UInt_t |
crate | ) |
const |
|
inline |
◆ loadConfig()
Int_t Decoder::THaCrateMap::loadConfig |
( |
std::string & |
line, |
|
|
std::string & |
cfgstr |
|
) |
| |
|
private |
◆ ParseCrateInfo()
Int_t Decoder::THaCrateMap::ParseCrateInfo |
( |
const std::string & |
line, |
|
|
UInt_t & |
crate |
|
) |
| |
|
private |
◆ print()
void Decoder::THaCrateMap::print |
( |
std::ostream & |
os = std::cout | ) |
const |
◆ readFile()
Int_t Decoder::THaCrateMap::readFile |
( |
FILE * |
fi, |
|
|
std::string & |
text |
|
) |
| |
|
staticprivate |
◆ resetCrate()
◆ SetBankInfo()
Int_t Decoder::THaCrateMap::SetBankInfo |
( |
| ) |
|
|
private |
◆ setCrateType()
int Decoder::THaCrateMap::setCrateType |
( |
UInt_t |
crate, |
|
|
const char * |
stype |
|
) |
| |
|
private |
◆ setModel()
◆ SetModelSize()
◆ setUnused() [1/2]
void Decoder::THaCrateMap::setUnused |
( |
UInt_t |
crate | ) |
|
◆ setUnused() [2/2]
◆ setUsed()
◆ slotClear()
bool Decoder::THaCrateMap::slotClear |
( |
UInt_t |
crate, |
|
|
UInt_t |
slot |
|
) |
| const |
|
inline |
◆ slotUsed()
bool Decoder::THaCrateMap::slotUsed |
( |
UInt_t |
crate, |
|
|
UInt_t |
slot |
|
) |
| const |
|
inline |
◆ CM_ERR
const Int_t Decoder::THaCrateMap::CM_ERR = -1 |
|
static |
◆ CM_OK
const Int_t Decoder::THaCrateMap::CM_OK = 1 |
|
static |
◆ crdat
◆ DEFAULT_TSROC
const UInt_t Decoder::THaCrateMap::DEFAULT_TSROC = 21 |
|
static |
◆ fDBfileName
std::string Decoder::THaCrateMap::fDBfileName |
|
private |
◆ fInitTime
TDatime Decoder::THaCrateMap::fInitTime |
|
private |
◆ fTSROC
UInt_t Decoder::THaCrateMap::fTSROC |
|
private |
◆ MAXCHAN
const UInt_t Decoder::THaCrateMap::MAXCHAN = 8192 |
|
static |
◆ MAXDATA
const UInt_t Decoder::THaCrateMap::MAXDATA = 65536 |
|
static |
◆ used_crates
std::vector<UInt_t> Decoder::THaCrateMap::used_crates |
|
private |
The documentation for this class was generated from the following files: