AraEventCalibrator Class Reference
AraEventCalibrator -- The Ara Event Calibrator. More...
#include <AraEventCalibrator.h>
Public Member Functions | |
| AraEventCalibrator () | |
| Default constructor. | |
| void | calcClockAlignVals (UsefulAraEvent *theEvent, AraCalType::AraCalType_t calType) |
| Calculate the clock alignment calibration values. | |
| void | calibrateEvent (UsefulAraEvent *theEvent, AraCalType::AraCalType_t calType=AraCalType::kJustUnwrap) |
| Apply the calibration to a UsefulAraEvent, called from UsefulAraEvent constructor. | |
| int | doBinCalibration (UsefulAraEvent *theEvent, int chanIndex, int overrideRCO=-1) |
| This sorts out the bin calibration for the channel, overrideRCO is used in the RCO guess part. | |
| Double_t | estimateClockLag (TGraph *grClock) |
| Worker function used in the clock alignment. | |
| Double_t | estimateClockPeriod (Int_t numPoints, Double_t &rms) |
| void | fillRCOGuessArray (UsefulAraEvent *theEvent, int rcoGuess[ACTIVE_CHIPS]) |
| Utility function called by UsefulAraEvent. | |
| void | loadCalib () |
| Loads the various calibration constants. | |
| void | loadPedestals () |
| Loads the pedestals from a file. | |
| void | setPedFile (char fileName[]) |
| Manually sets the pedestal file. | |
| ~AraEventCalibrator () | |
| Destructor. | |
Static Public Member Functions | |
| static AraEventCalibrator * | Instance () |
| Generates an instance of AraEventCalibrator to use. | |
Public Attributes | |
| double | binWidths [ACTIVE_CHIPS][2][MAX_NUMBER_SAMPLES] |
| Array to hold the bin width calibration constants. | |
| double | calTimeNums [MAX_NUMBER_SAMPLES] |
| temporary array | |
| double | calVoltNums [MAX_NUMBER_SAMPLES] |
| calibrated time numbers | |
| double | calwv [MAX_NUMBER_SAMPLES] |
| double | clockAlignVals [ACTIVE_CHIPS] |
| double | epsilonVals [ACTIVE_CHIPS][2] |
| Array to hold the wrap-around calibration constants. | |
| int | gotPedFile |
| Flag to indicate whether a specific pedesal file has been selected. | |
| int | indexNums [MAX_NUMBER_SAMPLES] |
| calibrated volt numbers | |
| double | interleaveVals [8] |
| There are only 8 interleaved channels. | |
| float | pedestalData [ACTIVE_CHIPS][CHANNELS_PER_CHIP][MAX_NUMBER_SAMPLES] |
| Array to hold the pedestal data. | |
| char | pedFile [FILENAME_MAX] |
| Filename of the pedesal file. | |
| double | pedsubadc [MAX_NUMBER_SAMPLES] |
| double | rawadc [MAX_NUMBER_SAMPLES] |
| double | sampNums [MAX_NUMBER_SAMPLES] |
| double | tempTimeNums [MAX_NUMBER_SAMPLES] |
| time numbers | |
| double | timeNums [MAX_NUMBER_SAMPLES] |
| double | v [MAX_NUMBER_SAMPLES] |
| These are just utility arrays that are used in the calibration. | |
Protected Member Functions | |
| ClassDef (AraEventCalibrator, 1) | |
Static Protected Attributes | |
| static AraEventCalibrator * | fgInstance = 0 |
| for time sorting protect against multiple instances | |
Detailed Description
AraEventCalibrator -- The Ara Event Calibrator.The Ara Event Calibrator
Definition at line 57 of file AraEventCalibrator.h.
The documentation for this class was generated from the following files:
- AraEvent/AraEventCalibrator.h
- AraEvent/AraEventCalibrator.cxx
Generated on Wed Aug 8 16:18:56 2012 for ARA ROOT Test Bed Software by
1.4.7