14#ifndef R3BNEULANDQCALPAR_H
15#define R3BNEULANDQCALPAR_H
17#include "FairParGenericSet.h"
21#define NMODULEMAX 6000
37 const char* title =
"Calibration",
38 const char* context =
"TestDefaultContext",
77 void SetParAt(Int_t plane, Int_t bar, Int_t side, Int_t offset)
79 fParams[((plane - 1) * 50 + (bar - 1)) * 2 + side - 1] = offset;
89 Int_t
GetParAt(Int_t plane, Int_t bar, Int_t side)
91 return fParams[((plane - 1) * 50 + (bar - 1)) * 2 + side - 1];
virtual ~R3BNeulandQCalPar(void)
Destructor.
Int_t GetParAt(Int_t plane, Int_t bar, Int_t side)
Method to get the pedestal offset of a PMT.
void printParams()
Method to print value of parameters to the standard output.
R3BNeulandQCalPar(const char *name="NeulandQCalPar", const char *title="Calibration", const char *context="TestDefaultContext", Bool_t own=kTRUE)
Standard constructor.
void SetParAt(Int_t plane, Int_t bar, Int_t side, Int_t offset)
Method to set the pedestal offset of a PMT.
void putParams(FairParamList *list)
Method to store parameters using FairRuntimeDB.
void SetSize(Int_t size)
Method to set the size of the array of parameters.
Bool_t getParams(FairParamList *list)
Method to retrieve parameters using FairRuntimeDB.