HYDRA_development_version
|
#include <hwalltrb2lookup.h>
Public Member Functions | |
HWallTrb2Lookup (const Char_t *name="WallTrb2Lookup", const Char_t *title="Lookup table for the TRB2 unpacker of the Forward Wall", const Char_t *context="WallTrb2LookupProduction", Int_t minTrbnetAddress=Trbnet::kWallMinTrbnetAddress, Int_t maxTrbnetAddress=Trbnet::kWallMaxTrbnetAddress) | |
~HWallTrb2Lookup () | |
HWallTrb2LookupBoard * | getBoard (Int_t trbnetAddress) |
HWallTrb2LookupBoard * | operator[] (Int_t i) |
Int_t | getSize () |
Int_t | getArrayOffset () |
Bool_t | init (HParIo *input, Int_t *set) |
Int_t | write (HParIo *output) |
void | clear () |
void | printParam () |
Bool_t | fill (Int_t, Int_t, Int_t) |
Bool_t | readline (const Char_t *) |
void | putAsciiHeader (TString &) |
void | write (fstream &) |
![]() | |
HParSet (const Char_t *name="", const Char_t *title="", const Char_t *context="") | |
virtual | ~HParSet () |
virtual Bool_t | init (void) |
virtual Bool_t | init (HParIo *io) |
virtual Int_t | write () |
virtual void | print () |
const Text_t * | getDetectorName () |
void | resetInputVersions () |
void | setInputVersion (Int_t v=-1, Int_t i=0) |
Int_t | getInputVersion (Int_t i) |
void | setStatic (Bool_t flag=kTRUE) |
Bool_t | isStatic () |
void | setChanged (Bool_t flag=kTRUE) |
Bool_t | hasChanged () |
void | setParamContext (const Char_t *) |
const Char_t * | getParamContext () const |
void | setAuthor (const Char_t *s) |
const Char_t * | getAuthor () const |
void | setDescription (const Char_t *s) |
const Char_t * | getDescription () const |
void | copyComment (HParSet &r) |
Protected Attributes | |
TObjArray * | array |
Int_t | arrayOffset |
![]() | |
Text_t | detName [20] |
Int_t | versions [3] |
name of the detector the container belongs to More... | |
Bool_t | status |
versions of container in the 2 possible inputs More... | |
Bool_t | changed |
static flag More... | |
TString | paramContext |
flag is kTRUE if parameters have changed More... | |
TString | author |
TString | description |
Definition at line 51 of file hwalltrb2lookup.h.
HWallTrb2Lookup::HWallTrb2Lookup | ( | const Char_t * | name = "WallTrb2Lookup" , |
const Char_t * | title = "Lookup table for the TRB2 unpacker of the Forward Wall" , |
||
const Char_t * | context = "WallTrb2LookupProduction" , |
||
Int_t | minTrbnetAddress = Trbnet::kWallMinTrbnetAddress , |
||
Int_t | maxTrbnetAddress = Trbnet::kWallMaxTrbnetAddress |
||
) |
Definition at line 45 of file hwalltrb2lookup.cc.
References array, and arrayOffset.
HWallTrb2Lookup::~HWallTrb2Lookup | ( | ) |
Definition at line 56 of file hwalltrb2lookup.cc.
References array.
|
virtual |
Reimplemented from HParSet.
Definition at line 76 of file hwalltrb2lookup.cc.
References array, HParSet::resetInputVersions(), and HParSet::status.
Bool_t HWallTrb2Lookup::fill | ( | Int_t | id, |
Int_t | chan, | ||
Int_t | cell | ||
) |
Definition at line 101 of file hwalltrb2lookup.cc.
References array, arrayOffset, getBoard(), HWallTrb2LookupBoard::getChannel(), rc, and HWallTrb2LookupChan::setCell().
Referenced by readline().
|
inline |
Definition at line 69 of file hwalltrb2lookup.h.
|
inline |
Definition at line 62 of file hwalltrb2lookup.h.
Referenced by fill().
|
inline |
Definition at line 68 of file hwalltrb2lookup.h.
|
virtual |
Reimplemented from HParSet.
Definition at line 62 of file hwalltrb2lookup.cc.
References HParIo::getDetParIo(), HDetParIo::init(), and input.
|
inline |
Definition at line 65 of file hwalltrb2lookup.h.
void HWallTrb2Lookup::printParam | ( | void | ) |
Definition at line 83 of file hwalltrb2lookup.cc.
References array, arrayOffset, HWallTrb2LookupChan::getCell(), and HWallTrb2LookupBoard::getSize().
void HWallTrb2Lookup::putAsciiHeader | ( | TString & | header | ) |
Definition at line 133 of file hwalltrb2lookup.cc.
Bool_t HWallTrb2Lookup::readline | ( | const Char_t * | buf | ) |
Definition at line 119 of file hwalltrb2lookup.cc.
|
virtual |
Reimplemented from HParSet.
Definition at line 69 of file hwalltrb2lookup.cc.
References HParIo::getDetParIo(), and HDetParIo::write().
void HWallTrb2Lookup::write | ( | fstream & | fout | ) |
Definition at line 141 of file hwalltrb2lookup.cc.
References array, arrayOffset, HWallTrb2LookupChan::getCell(), and HWallTrb2LookupBoard::getSize().
|
protected |
Definition at line 53 of file hwalltrb2lookup.h.
Referenced by clear(), fill(), HWallTrb2Lookup(), printParam(), write(), and ~HWallTrb2Lookup().
|
protected |
Definition at line 54 of file hwalltrb2lookup.h.
Referenced by fill(), HWallTrb2Lookup(), printParam(), and write().