StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
GainVoltCoeffCalculator Class Reference

#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)
 
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

std::ostream & operator<< (std::ostream &os, GainVoltCoeffCalculator &object)
 
std::istream & operator>> (std::istream &is, GainVoltCoeffCalculator &object)
 

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.


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