1 #ifndef PHCALIBRATION_H
2 #define PHCALIBRATION_H
4 #include "pxardllexport.h"
8 #include "ConfigParameters.hh"
15 double vcal(
int iroc,
int icol,
int irow,
double ph);
16 double ph(
int iroc,
int icol,
int irow,
double vcal);
18 void setPHParameters(std::vector<std::vector<gainPedestalParameters> > );
19 void setMode(std::string mode =
"tanh") {fMode = mode;}
20 bool initialized() {
return (fParameters.size() > 0);}
21 std::string getMode() {
return fMode; }
22 std::string getParameters(
int iroc,
int icol,
int irow);
26 std::vector<std::vector<gainPedestalParameters> > fParameters;