HYDRA_development_version
|
#include <hrich700trb3lookup.h>
Public Member Functions | |
HRich700Trb3Lookup (const Char_t *name="Rich700Trb3Lookup", const Char_t *title="Lookup table for the TRB3 unpacker of the RICH700 detector", const Char_t *context="Rich700Trb3LookupProduction", Int_t minTrbnetAddress=Trbnet::kRICHTrb3MinTrbnetAddress, Int_t maxTrbnetAddress=Trbnet::kRICHTrb3MaxTrbnetAddress) | |
virtual | ~HRich700Trb3Lookup () |
HRich700Trb3LookupTdc * | getTdc (Int_t trbnetAddress) |
HRich700Trb3LookupTdc * | operator[] (Int_t i) |
Int_t | getSize () |
Int_t | getArrayOffset () |
void | resetTdcIterator () |
Int_t | getNextTdcAddress () |
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) |
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 |
Int_t | arrayCursor |
![]() | |
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 91 of file hrich700trb3lookup.h.
HRich700Trb3Lookup::HRich700Trb3Lookup | ( | const Char_t * | name = "Rich700Trb3Lookup" , |
const Char_t * | title = "Lookup table for the TRB3 unpacker of the RICH700 detector" , |
||
const Char_t * | context = "Rich700Trb3LookupProduction" , |
||
Int_t | minTrbnetAddress = Trbnet::kRICHTrb3MinTrbnetAddress , |
||
Int_t | maxTrbnetAddress = Trbnet::kRICHTrb3MaxTrbnetAddress |
||
) |
Definition at line 52 of file hrich700trb3lookup.cc.
References array, arrayCursor, and arrayOffset.
|
virtual |
Definition at line 65 of file hrich700trb3lookup.cc.
References array.
|
virtual |
Reimplemented from HParSet.
Definition at line 88 of file hrich700trb3lookup.cc.
References array, HParSet::resetInputVersions(), and HParSet::status.
Bool_t HRich700Trb3Lookup::fill | ( | Int_t | id, |
Int_t | chan, | ||
Int_t | pmt, | ||
Int_t | pix | ||
) |
Definition at line 144 of file hrich700trb3lookup.cc.
References array, arrayOffset, HRich700Trb3LookupChan::fill(), HRich700Trb3LookupTdc::getChannel(), getTdc(), and rc.
Referenced by readline().
|
inline |
Definition at line 113 of file hrich700trb3lookup.h.
Int_t HRich700Trb3Lookup::getNextTdcAddress | ( | ) |
Definition at line 103 of file hrich700trb3lookup.cc.
References array, arrayCursor, arrayOffset, getSize(), and n.
|
inline |
Definition at line 110 of file hrich700trb3lookup.h.
Referenced by HRich700Trb3LookupTdc::getChannel(), and getNextTdcAddress().
|
inline |
Definition at line 103 of file hrich700trb3lookup.h.
Referenced by fill().
|
virtual |
Reimplemented from HParSet.
Definition at line 72 of file hrich700trb3lookup.cc.
References HParIo::getDetParIo(), HDetParIo::init(), and input.
|
inline |
Definition at line 107 of file hrich700trb3lookup.h.
void HRich700Trb3Lookup::printParam | ( | void | ) |
Definition at line 123 of file hrich700trb3lookup.cc.
References array, arrayOffset, HRich700Trb3LookupChan::getPixel(), HRich700Trb3LookupChan::getPMT(), and HRich700Trb3LookupTdc::getSize().
void HRich700Trb3Lookup::putAsciiHeader | ( | TString & | header | ) |
Definition at line 180 of file hrich700trb3lookup.cc.
Bool_t HRich700Trb3Lookup::readline | ( | const Char_t * | buf | ) |
Definition at line 163 of file hrich700trb3lookup.cc.
void HRich700Trb3Lookup::resetTdcIterator | ( | ) |
Definition at line 98 of file hrich700trb3lookup.cc.
References arrayCursor.
|
virtual |
Reimplemented from HParSet.
Definition at line 80 of file hrich700trb3lookup.cc.
References HParIo::getDetParIo(), and HDetParIo::write().
void HRich700Trb3Lookup::write | ( | fstream & | fout | ) |
Definition at line 189 of file hrich700trb3lookup.cc.
References array, arrayOffset, HRich700Trb3LookupChan::getPixel(), HRich700Trb3LookupChan::getPMT(), and HRich700Trb3LookupTdc::getSize().
|
protected |
Definition at line 93 of file hrich700trb3lookup.h.
Referenced by clear(), fill(), getNextTdcAddress(), HRich700Trb3Lookup(), printParam(), write(), and ~HRich700Trb3Lookup().
|
protected |
Definition at line 95 of file hrich700trb3lookup.h.
Referenced by getNextTdcAddress(), HRich700Trb3Lookup(), and resetTdcIterator().
|
protected |
Definition at line 94 of file hrich700trb3lookup.h.
Referenced by fill(), getNextTdcAddress(), HRich700Trb3Lookup(), printParam(), and write().