GainVoltCoeffCalculator Class Reference

#include <GainVoltCoeffCalculator.h>

List of all members.

Public Types

typedef vector
< GainVoltPmtParameters * > 
GVParameters
typedef GVParameters::iterator GVP_iterator
typedef
GVParameters::const_iterator 
GVP_const_iterator

Public Member Functions

 GainVoltCoeffCalculator ()
 GainVoltCoeffCalculator (const GainVoltCoeffCalculator &calculator)
GainVoltCoeffCalculatoroperator= (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

ostream & operator<< (ostream &os, GainVoltCoeffCalculator &object)
istream & operator>> (istream &is, GainVoltCoeffCalculator &object)
 Read the given object from the given stream.


Detailed Description

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.


Constructor & Destructor Documentation

GainVoltCoeffCalculator::GainVoltCoeffCalculator (  ) 

GainVoltCoeffCalculator.cxx Calculator used parametrize PMT gains vs HV with a power law. The calculation is done by the process method by iterating over each PMT. The GainVoltPmtParameters class is used to hold PMT data and for the actual power law fit.

Definition at line 14 of file GainVoltCoeffCalculator.cxx.


The documentation for this class was generated from the following files:

Generated on Fri Feb 10 04:27:57 2012 for StRoot by  doxygen 1.5.9