HYDRA_development_version
|
#include <htoftrb3lookup.h>
Public Member Functions | |
HTofTrb3Lookup (const Char_t *name="TofTrb3Lookup", const Char_t *title="Lookup table for the TRB3 unpacker of the TOF detector", const Char_t *context="TofTrb3LookupProduction", Int_t minTrbnetAddress=Trbnet::kTOFTrb3MinTrbnetAddress, Int_t maxTrbnetAddress=Trbnet::kTOFTrb3MaxTrbnetAddress) | |
~HTofTrb3Lookup () | |
HTofTrb3LookupBoard * | getBoard (Int_t trbnetAddress) |
HTofTrb3LookupBoard * | 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, Int_t, Int_t, Char_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 83 of file htoftrb3lookup.h.
HTofTrb3Lookup::HTofTrb3Lookup | ( | const Char_t * | name = "TofTrb3Lookup" , |
const Char_t * | title = "Lookup table for the TRB3 unpacker of the TOF detector" , |
||
const Char_t * | context = "TofTrb3LookupProduction" , |
||
Int_t | minTrbnetAddress = Trbnet::kTOFTrb3MinTrbnetAddress , |
||
Int_t | maxTrbnetAddress = Trbnet::kTOFTrb3MaxTrbnetAddress |
||
) |
Definition at line 46 of file htoftrb3lookup.cc.
References array, and arrayOffset.
HTofTrb3Lookup::~HTofTrb3Lookup | ( | ) |
Definition at line 57 of file htoftrb3lookup.cc.
References array.
|
virtual |
Reimplemented from HParSet.
Definition at line 77 of file htoftrb3lookup.cc.
References array, HParSet::resetInputVersions(), and HParSet::status.
Bool_t HTofTrb3Lookup::fill | ( | Int_t | id, |
Int_t | chan, | ||
Int_t | sec, | ||
Int_t | mod, | ||
Int_t | cell, | ||
Char_t | side | ||
) |
Definition at line 105 of file htoftrb3lookup.cc.
References array, arrayOffset, HTofTrb3LookupChan::fill(), getBoard(), HTofTrb3LookupBoard::getChannel(), and rc.
Referenced by readline().
|
inline |
Definition at line 103 of file htoftrb3lookup.h.
Referenced by HTofTrb3Unpacker::reinit().
|
inline |
Definition at line 94 of file htoftrb3lookup.h.
Referenced by HTofTrb3Unpacker::execute(), fill(), and HTofTrb3Unpacker::reinit().
|
inline |
Definition at line 102 of file htoftrb3lookup.h.
Referenced by HTofTrb3LookupBoard::getChannel(), and HTofTrb3Unpacker::reinit().
|
virtual |
Reimplemented from HParSet.
Definition at line 63 of file htoftrb3lookup.cc.
References HParIo::getDetParIo(), HDetParIo::init(), and input.
|
inline |
Definition at line 99 of file htoftrb3lookup.h.
void HTofTrb3Lookup::printParam | ( | void | ) |
Definition at line 84 of file htoftrb3lookup.cc.
References array, arrayOffset, HTofTrb3LookupChan::getCell(), HTofTrb3LookupChan::getModule(), HTofTrb3LookupChan::getSector(), HTofTrb3LookupChan::getSide(), and HTofTrb3LookupBoard::getSize().
void HTofTrb3Lookup::putAsciiHeader | ( | TString & | header | ) |
Definition at line 140 of file htoftrb3lookup.cc.
Bool_t HTofTrb3Lookup::readline | ( | const Char_t * | buf | ) |
Definition at line 125 of file htoftrb3lookup.cc.
|
virtual |
Reimplemented from HParSet.
Definition at line 70 of file htoftrb3lookup.cc.
References HParIo::getDetParIo(), and HDetParIo::write().
void HTofTrb3Lookup::write | ( | fstream & | fout | ) |
Definition at line 148 of file htoftrb3lookup.cc.
References array, arrayOffset, HTofTrb3LookupChan::getCell(), HTofTrb3LookupChan::getModule(), HTofTrb3LookupChan::getSector(), HTofTrb3LookupChan::getSide(), and HTofTrb3LookupBoard::getSize().
|
protected |
Definition at line 85 of file htoftrb3lookup.h.
Referenced by clear(), fill(), HTofTrb3Lookup(), printParam(), write(), and ~HTofTrb3Lookup().
|
protected |
Definition at line 86 of file htoftrb3lookup.h.
Referenced by fill(), HTofTrb3Lookup(), printParam(), and write().