AraEventCalibrator Class Reference
AraEventCalibrator -- The Ara Event Calibrator. More...
#include <AraEventCalibrator.h>
Public Member Functions | |
AraEventCalibrator () | |
Default constructor. | |
void | calcClockAlignVals (UsefulIcrrStationEvent *theEvent, AraCalType::AraCalType_t calType) |
Calculate the clock alignment calibration values. | |
void | calibrateEvent (UsefulAtriStationEvent *theEvent, AraCalType::AraCalType_t calType=AraCalType::kVoltageTime) |
Apply the calibration to a UsefulAtriStationEvent, called from UsefulAtriStationEvent constructor. | |
void | calibrateEvent (UsefulIcrrStationEvent *theEvent, AraCalType::AraCalType_t calType=AraCalType::kJustUnwrap) |
Apply the calibration to a UsefulIcrrStationEvent, called from UsefulIcrrStationEvent constructor. | |
int | doBinCalibration (UsefulIcrrStationEvent *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 (UsefulIcrrStationEvent *theEvent, int rcoGuess[LAB3_PER_ICRR]) |
Utility function called by UsefulIcrrStationEvent. | |
void | loadAtriCalib () |
void | loadAtriPedestals () |
void | loadIcrrCalib () |
Loads the various calibration constants. | |
void | loadIcrrPedestals () |
Loads the pedestals from a file. | |
void | setAtriPedFile (char *filename) |
void | setPedFile (char fileName[], UInt_t stationId) |
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 [ICRR_NO_STATIONS][LAB3_PER_ICRR][2][MAX_NUMBER_SAMPLES_LAB3] |
Array to hold the bin width calibration constants. | |
double | calTimeNums [MAX_NUMBER_SAMPLES_LAB3] |
temporary array | |
double | calVoltNums [MAX_NUMBER_SAMPLES_LAB3] |
calibrated time numbers | |
double | calwv [MAX_NUMBER_SAMPLES_LAB3] |
double | clockAlignVals [ICRR_NO_STATIONS][LAB3_PER_ICRR] |
double | epsilonVals [ICRR_NO_STATIONS][LAB3_PER_ICRR][2] |
Array to hold the wrap-around calibration constants. | |
Double_t | fAtriEpsilonTimes [DDA_PER_ATRI][RFCHAN_PER_DDA][2] |
The timing between blocks the capArray number is the number of the second block. | |
char | fAtriPedFile [FILENAME_MAX] |
UShort_t * | fAtriPeds |
for time sorting | |
Int_t | fAtriSampleIndex [DDA_PER_ATRI][RFCHAN_PER_DDA][2][SAMPLES_PER_BLOCK] |
The sample order. | |
Double_t | fAtriSampleTimes [DDA_PER_ATRI][RFCHAN_PER_DDA][2][SAMPLES_PER_BLOCK] |
The sample timings. | |
Int_t | fGotAtriPedFile |
int | gotPedFile [ICRR_NO_STATIONS] |
Flag to indicate whether a specific pedesal file has been selected. | |
int | indexNums [MAX_NUMBER_SAMPLES_LAB3] |
calibrated volt numbers | |
double | interleaveVals [ICRR_NO_STATIONS][8] |
There are only 8 interleaved channels. | |
float | pedestalData [ICRR_NO_STATIONS][LAB3_PER_ICRR][CHANNELS_PER_LAB3][MAX_NUMBER_SAMPLES_LAB3] |
Array to hold the pedestal data. | |
char | pedFile [ICRR_NO_STATIONS][FILENAME_MAX] |
Filename of the pedesal file. | |
double | pedsubadc [MAX_NUMBER_SAMPLES_LAB3] |
double | rawadc [MAX_NUMBER_SAMPLES_LAB3] |
double | sampNums [MAX_NUMBER_SAMPLES_LAB3] |
double | tempTimeNums [MAX_NUMBER_SAMPLES_LAB3] |
time numbers | |
double | timeNums [MAX_NUMBER_SAMPLES_LAB3] |
double | v [MAX_NUMBER_SAMPLES_LAB3] |
These are just utility arrays that are used in the calibration. | |
Protected Member Functions | |
ClassDef (AraEventCalibrator, 1) | |
Static Protected Attributes | |
static AraEventCalibrator * | fgInstance = 0 |
protect against multiple instances |
Detailed Description
AraEventCalibrator -- The Ara Event Calibrator.The Ara Event Calibrator
Definition at line 61 of file AraEventCalibrator.h.
Member Function Documentation
void AraEventCalibrator::calibrateEvent | ( | UsefulAtriStationEvent * | theEvent, | |
AraCalType::AraCalType_t | calType = AraCalType::kVoltageTime | |||
) |
Apply the calibration to a UsefulAtriStationEvent, called from UsefulAtriStationEvent constructor.
<Filling with ADC
<Filling with ADC-Pedestal
<Filling with time
Definition at line 814 of file AraEventCalibrator.cxx.
The documentation for this class was generated from the following files:
- AraEvent/AraEventCalibrator.h
- AraEvent/AraEventCalibrator.cxx
Generated on Wed Aug 8 16:20:08 2012 for ARA ROOT Test Bed Software by
