StRoot
1
|
#include <GainVoltCoeffCalculator.h>
Public Types | |
typedef vector < GainVoltPmtParameters * > | GVParameters |
typedef GVParameters::iterator | GVP_iterator |
typedef GVParameters::const_iterator | GVP_const_iterator |
Public Member Functions | |
GainVoltCoeffCalculator (const GainVoltCoeffCalculator &calculator) | |
GainVoltCoeffCalculator & | operator= (const GainVoltCoeffCalculator &calculator) |
void | setIoMode (int mode) |
void | process () |
GVP_iterator | begin () |
GVP_iterator | end () |
GVP_const_iterator | begin () const |
GVP_const_iterator | end () const |
Protected Attributes | |
GVParameters | _pmts |
Friends | |
std::ostream & | operator<< (std::ostream &os, GainVoltCoeffCalculator &object) |
std::istream & | operator>> (std::istream &is, GainVoltCoeffCalculator &object) |
This class defines a PMT Gain/Voltage Coefficient calculator. Input: Raw gain parameters : A list of reference voltage, 5 ADC values for each PMT Output: Gain coefficients for all PMTs.
The coefficients are calculated assuming a power law g(v) = alpha*v^beta
Definition at line 20 of file GainVoltCoeffCalculator.h.