HYDRA_development_version
|
#include <hrpcchargeoffsetpar.h>
Public Member Functions | |
HRpcChargeOffsetPar (const Char_t *name="RpcChargeOffsetPar", const Char_t *title="Correction of RPC charge offsets", const Char_t *context="RpcChargeOffsetParProduction") | |
~HRpcChargeOffsetPar () | |
void | addNewSet (Float_t *pars, Int_t startRunID) |
void | addFirstSet (Float_t *pars, Int_t startRunID) |
void | addLastSet (Float_t *pars, Int_t startRunID, Int_t endRunID) |
void | addLastRunId (Int_t runId) |
Float_t | getPar (Int_t sec, Int_t TRB, Int_t MBO, Int_t DBO) const |
Float_t | getPar (Int_t regNum) const |
Int_t | getFirstRunID () const |
Int_t | getLastRunID () const |
Int_t | getNextRunID () const |
Int_t | getCurrentSet () |
Int_t | getNSets () |
void | setPars (Int_t nrun, Float_t *pars, Int_t startRunID) |
Bool_t | init (HParIo *inp, Int_t *set) |
void | putParams (HParamList *) |
Bool_t | getParams (HParamList *) |
Int_t | getSlot (Int_t runId) |
void | clear () |
![]() | |
HParCond (const Char_t *name, const Char_t *title, const Char_t *context) | |
virtual | ~HParCond () |
virtual Int_t | write (HParIo *) |
virtual void | printParams () |
![]() | |
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 | |
TArrayI | fRunIDs |
TArrayF | fChargeCorrPar |
Int_t | fCurrent |
Int_t | fNRuns |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
HParCond () | |
Definition at line 8 of file hrpcchargeoffsetpar.h.
HRpcChargeOffsetPar::HRpcChargeOffsetPar | ( | const Char_t * | name = "RpcChargeOffsetPar" , |
const Char_t * | title = "Correction of RPC charge offsets" , |
||
const Char_t * | context = "RpcChargeOffsetParProduction" |
||
) |
HRpcChargeOffsetPar::~HRpcChargeOffsetPar | ( | ) |
Definition at line 43 of file hrpcchargeoffsetpar.cc.
void HRpcChargeOffsetPar::addFirstSet | ( | Float_t * | pars, |
Int_t | startRunID | ||
) |
Definition at line 72 of file hrpcchargeoffsetpar.cc.
References fChargeCorrPar, fCurrent, and fRunIDs.
void HRpcChargeOffsetPar::addLastRunId | ( | Int_t | runId | ) |
Definition at line 81 of file hrpcchargeoffsetpar.cc.
void HRpcChargeOffsetPar::addLastSet | ( | Float_t * | pars, |
Int_t | startRunID, | ||
Int_t | endRunID | ||
) |
Definition at line 88 of file hrpcchargeoffsetpar.cc.
References fChargeCorrPar, fCurrent, fNRuns, and fRunIDs.
void HRpcChargeOffsetPar::addNewSet | ( | Float_t * | pars, |
Int_t | startRunID | ||
) |
Definition at line 60 of file hrpcchargeoffsetpar.cc.
References fChargeCorrPar, fCurrent, fNRuns, and fRunIDs.
|
virtual |
Reimplemented from HParSet.
Definition at line 47 of file hrpcchargeoffsetpar.cc.
References HParSet::changed, fChargeCorrPar, fCurrent, fNRuns, fRunIDs, HParSet::resetInputVersions(), and HParSet::status.
|
inline |
Definition at line 36 of file hrpcchargeoffsetpar.h.
References fCurrent.
|
inline |
Definition at line 33 of file hrpcchargeoffsetpar.h.
Referenced by init().
|
inline |
|
inline |
Definition at line 35 of file hrpcchargeoffsetpar.h.
|
inline |
Definition at line 37 of file hrpcchargeoffsetpar.h.
References fNRuns.
|
inline |
Definition at line 30 of file hrpcchargeoffsetpar.h.
Referenced by HRpcCalibrater::execute().
|
inline |
Definition at line 31 of file hrpcchargeoffsetpar.h.
|
virtual |
Implements HParCond.
Definition at line 112 of file hrpcchargeoffsetpar.cc.
References fChargeCorrPar, HParamList::fill(), fNRuns, and fRunIDs.
Int_t HRpcChargeOffsetPar::getSlot | ( | Int_t | runId | ) |
Definition at line 179 of file hrpcchargeoffsetpar.cc.
References fNRuns, and fRunIDs.
Referenced by init().
|
virtual |
Reimplemented from HParCond.
Definition at line 127 of file hrpcchargeoffsetpar.cc.
References fCurrent, fNRuns, HRuntimeDb::getCurrentRun(), HParIo::getDetParIo(), getFirstRunID(), getLastRunID(), HRun::getRunId(), Hades::getRuntimeDb(), getSlot(), gHades, HDetParIo::init(), input, and rc.
|
virtual |
Implements HParCond.
Definition at line 102 of file hrpcchargeoffsetpar.cc.
References HParamList::add(), fChargeCorrPar, fNRuns, and fRunIDs.
|
inline |
Definition at line 40 of file hrpcchargeoffsetpar.h.
|
protected |
Definition at line 13 of file hrpcchargeoffsetpar.h.
Referenced by addFirstSet(), addLastSet(), addNewSet(), clear(), getParams(), and putParams().
|
protected |
Definition at line 16 of file hrpcchargeoffsetpar.h.
Referenced by addFirstSet(), addLastSet(), addNewSet(), clear(), getCurrentSet(), and init().
|
protected |
Definition at line 17 of file hrpcchargeoffsetpar.h.
Referenced by addLastRunId(), addLastSet(), addNewSet(), clear(), getLastRunID(), getNSets(), getParams(), getSlot(), init(), and putParams().
|
protected |
Definition at line 12 of file hrpcchargeoffsetpar.h.
Referenced by addFirstSet(), addLastRunId(), addLastSet(), addNewSet(), clear(), getParams(), getSlot(), and putParams().