1 #ifndef HRPCTIMEPOSPAR_H
2 #define HRPCTIMEPOSPAR_H
17 const Char_t* title =
"Time-position correction parameters for the Rpc Detector",
18 const Char_t* context=
"RpcTimePosParProduction");
21 Float_t
getPar(Int_t sec, Int_t col, Int_t cell, Int_t npar)
const {
return f5harmonics_16[ sec*3072 + col*512 + cell*16 + npar ];}
22 const Float_t*
getPars(Int_t sec, Int_t col, Int_t cell) {
return &f5harmonics_16[sec*3072 + col*512 + cell*16 ]; }
24 void setPar(Int_t sec, Int_t col, Int_t cell, Int_t npar, Float_t par) { f5harmonics_16[sec*3072 + col*512 + cell*16 + npar ] = par; }
25 void setPars(Int_t sec, Int_t col, Int_t cell, Float_t* pars) {
for(Int_t i = 0; i < 16 ; i++) f5harmonics_16.AddAt(pars[i], sec*3072 + col*512 + cell*16 + i); }
void putParams(HParamList *)
HRpcTimePosPar(const Char_t *name="RpcTimePosPar", const Char_t *title="Time-position correction parameters for the Rpc Detector", const Char_t *context="RpcTimePosParProduction")
Float_t getPar(Int_t sec, Int_t col, Int_t cell, Int_t npar) const
void setPars(Int_t sec, Int_t col, Int_t cell, Float_t *pars)
Bool_t getParams(HParamList *)
const Float_t * getPars(Int_t sec, Int_t col, Int_t cell)
void setPar(Int_t sec, Int_t col, Int_t cell, Int_t npar, Float_t par)