Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CalibrationAlg Class Reference

#include <CalibrationAlg.h>

Inheritance diagram for CalibrationAlg:

SystemAlg List of all members.

Public Methods

 CalibrationAlg (Event *event, Geometry *hecGeom, Headers *runHeader)
bool initialize ()
 Gets run once at the begining of the event Loop. More...

bool execute ()
 Gets run for every event. More...

bool finalize ()
 Gets run after all events have been executed. More...

bool hecLoad (string hecCalibFileName)
 Load hec calibration coefficients from file and fill the ped rms in nA map. More...

map< int, vector< float > > hecCoeffMap ()
 Get febno keyed hec calibration coefficient map. More...

map< int, int > hecCoeffStatusMap ()
 Get febno keyed hec calibration coefficient status map. More...

vector< float > hecCoeff (int febno)
 Get hec calibration coefficients. More...

int hecCoeffStatus (int febno)
 Get hec calibration coefficient status. More...

map< int, float > hecPedRMSnAMap ()
 Get febno keyed hec ped rms in nA map. More...

float hecPedRMSnA (int febno)
 Get hec ped rms in nA. More...

float hecADCTonA (int febno, float ADC)
 pedestal subtracted ADC to nA conversion for the hec. More...

bool emecLoad (string emecCalibFileName)
 Load emec calibration coefficients from file and fill the ped rms in nA map. More...

map< int, vector< float > > emecCoeffMap ()
 Get febno keyed emec calibration coefficient map. More...

map< int, int > emecCoeffStatusMap ()
 Get febno keyed emec calibration coefficient status map. More...

vector< float > emecCoeff (int febno)
 Get emec calibration coefficients. More...

int emecCoeffStatus (int febno)
 Get emec calibration coefficient status. More...

map< int, float > emecPedRMSnAMap ()
 Get febno keyed emec ped rms in nA map. More...

float emecPedRMSnA (int febno)
 Get emec ped rms in nA. More...

float emecADCTonA (int febno, float ADC)
 pedestal subtracted ADC to nA conversion for the emec. More...


Detailed Description

-Class: CalibrationAlg


Constructor & Destructor Documentation

CalibrationAlg::CalibrationAlg Event   event,
Geometry   hecGeom,
Headers   runHeader
 

Parameters:
event  A pointer in the event. Information contained in the event gets refreshed before the execute method is run
hecGeom  Pointer to the singleton Geometry object
runHeader  Pointer to the singleton HecRunHeader object


Member Function Documentation

float CalibrationAlg::emecADCTonA int    febno,
float    ADC
 

pedestal subtracted ADC to nA conversion for the emec.

vector< float > CalibrationAlg::emecCoeff int    febno
 

Get emec calibration coefficients.

map< int, vector< float > > CalibrationAlg::emecCoeffMap  
 

Get febno keyed emec calibration coefficient map.

int CalibrationAlg::emecCoeffStatus int    febno
 

Get emec calibration coefficient status.

map< int, int > CalibrationAlg::emecCoeffStatusMap  
 

Get febno keyed emec calibration coefficient status map.

bool CalibrationAlg::emecLoad string    emecCalibFileName
 

Load emec calibration coefficients from file and fill the ped rms in nA map.

float CalibrationAlg::emecPedRMSnA int    febno
 

Get emec ped rms in nA.

map< int, float > CalibrationAlg::emecPedRMSnAMap  
 

Get febno keyed emec ped rms in nA map.

bool CalibrationAlg::execute   [virtual]
 

Gets run for every event.

Reimplemented from SystemAlg.

bool CalibrationAlg::finalize   [virtual]
 

Gets run after all events have been executed.

Reimplemented from SystemAlg.

float CalibrationAlg::hecADCTonA int    febno,
float    ADC
 

pedestal subtracted ADC to nA conversion for the hec.

vector< float > CalibrationAlg::hecCoeff int    febno
 

Get hec calibration coefficients.

map< int, vector< float > > CalibrationAlg::hecCoeffMap  
 

Get febno keyed hec calibration coefficient map.

int CalibrationAlg::hecCoeffStatus int    febno
 

Get hec calibration coefficient status.

map< int, int > CalibrationAlg::hecCoeffStatusMap  
 

Get febno keyed hec calibration coefficient status map.

bool CalibrationAlg::hecLoad string    hecCalibFileName
 

Load hec calibration coefficients from file and fill the ped rms in nA map.

float CalibrationAlg::hecPedRMSnA int    febno
 

Get hec ped rms in nA.

map< int, float > CalibrationAlg::hecPedRMSnAMap  
 

Get febno keyed hec ped rms in nA map.

bool CalibrationAlg::initialize   [virtual]
 

Gets run once at the begining of the event Loop.

Reimplemented from SystemAlg.


The documentation for this class was generated from the following files:
Generated on Fri Aug 15 10:52:05 2003 for TBRootAna by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002