ANITA-II Event Reader

AnitaEventCalibrator Class Reference
[The ROOT Classes]

AnitaEventCalibrator -- The ANITA Event Calibrator. More...

#include <AnitaEventCalibrator.h>

List of all members.

Public Member Functions

void applyClockPhiCorrection (UsefulAnitaEvent *eventPtr)
 Worker fucntion if we are dealing with CalibratedAnitaEvent.
int calibrateUsefulEvent (UsefulAnitaEvent *eventPtr, WaveCalType::WaveCalType_t calType)
 Calibration Routine The routine that is used to calibrate the voltage time waveforms in a UsefulAnitaEvent.
Double_t convertRfPowToKelvin (int surf, int chan, int adc)
Double_t convertRfPowToKelvinMeasured (int surf, int chan, int adc)
Int_t getClockUpSampleFactor ()
 Returns the factor by which the clock is upsampled in the correlation calibration.
Double_t getEpsilonTempScale ()
 Returns the factor by which we multiply the temperature scale for the epsilon part.
int justBinByBinTimebase (UsefulAnitaEvent *eventPtr)
void processClockJitter (UsefulAnitaEvent *eventPtr)
 Worker function for applying the inter-SURF clock based trigger jitter calibration.
void processClockJitterCorrelation (UsefulAnitaEvent *eventPtr)
 Worker function for applying the inter-SURF clock based trigger jitter calibration -- using cross-correlation.
void processClockJitterFast (UsefulAnitaEvent *eventPtr)
 Worker function for applying the inter-SURF clock based trigger jitter calibration -- fast method.
void processEventAG (UsefulAnitaEvent *eventPtr)
void processEventJW (UsefulAnitaEvent *eventPtr)
 Worker function for the JW calibrations.
void processEventRG (UsefulAnitaEvent *eventPtr)
 Worker function for the RG (defunct) calibrations.
void setClockUpSampleFactor (Int_t factor)
 Sets the factor by which the clock is upsampled in the correlation calibration.
void setEpsilonTempScale (Double_t scale)
 Sets the factor by which we multiply the temperature scale for the epsilon part.
void zeroMean ()
 Worker function for zero meaning the waveform.

Static Public Member Functions

int getChanIndex (int surf, int chan)
 Generally useful function.
AnitaEventCalibratorInstance ()

Public Attributes

Double_t chipByChipDeltats [NUM_SURF][NUM_CHAN][NUM_CHIP]
 Cable + chip-to-chip delays.
Double_t clockCrossCorr [NUM_SURF][NUM_CHIP]
Double_t clockJitterOffset [NUM_SURF][NUM_CHIP]
Double_t clockPhiArray [NUM_SURF]
Double_t epsilonCalib [NUM_SURF][NUM_CHIP][NUM_RCO]
Double_t epsilonFromAbby [NUM_SURF][NUM_CHIP][NUM_RCO]
 Note the rco here is the rco which the event reports (ie. 1-->0 goes in [0] and 0-->1 goes in [1].
Double_t fancyClockJitterOffset [NUM_SURF][NUM_CHIP]
Int_t fApplyClockFudge
Double_t fastClockPeakOffset [NUM_SURF][NUM_CHIP]
TF1 * fFakeTemp
int fLabChip [NUM_SURF][NUM_CHAN]
TF1 * fSquareWave
Double_t garysRfPowSlope [NUM_SURF][NUM_CHAN]
Double_t garysRfPowT300K [NUM_SURF][NUM_CHAN]
Double_t garysRfPowTSys [NUM_SURF][NUM_CHAN]
TGraph * grCorClock [NUM_SURF-1]
Double_t groupDelayCalib [NUM_SURF][NUM_CHAN]
Double_t justBinByBin [NUM_SURF][NUM_CHIP][NUM_RCO][NUM_SAMP]
Double_t mvArray [NUM_SURF][NUM_CHAN][NUM_SAMP]
Double_t mvCalibVals [NUM_SURF][NUM_CHAN][NUM_CHIP]
int numPointsArray [NUM_SURF][NUM_CHAN]
int rawArray [NUM_SURF][NUM_CHAN][NUM_SAMP]
int rcobit [NUM_SURF][NUM_CHAN][NUM_SAMP]
int rcoLatchCalib [NUM_SURF][NUM_CHIP]
Double_t rfPowPed [NUM_SURF][NUM_CHAN]
int scaArray [NUM_SURF][NUM_CHAN][NUM_SAMP]
Double_t simonsDeltaT [NUM_SURF][NUM_CHAN]
Double_t surfTimeArray [NUM_SURF][NUM_SAMP]
Double_t tcalEpsilon [NUM_SURF][NUM_CHIP][NUM_RCO]
Double_t tcalFudgeFactor [NUM_SURF][NUM_CHIP][NUM_RCO]
Double_t tcalRcoDelayBin [NUM_SURF][NUM_CHIP][NUM_RCO]
Double_t tcalTBin [NUM_SURF][NUM_CHIP][NUM_RCO][NUM_SAMP]
Double_t timeArray [NUM_SURF][NUM_CHAN][NUM_SAMP]
Double_t timeBaseCalib [NUM_SURF][NUM_CHIP][NUM_RCO]
int unwrappedArray [NUM_SURF][NUM_CHAN][NUM_SAMP]

Static Protected Attributes

AnitaEventCalibratorfgInstance = 0


Detailed Description

AnitaEventCalibrator -- The ANITA Event Calibrator.

Used to calibrate the raw ANITA data into voltage-time waveforms

Definition at line 26 of file AnitaEventCalibrator.h.


Member Function Documentation

int AnitaEventCalibrator::calibrateUsefulEvent UsefulAnitaEvent eventPtr,
WaveCalType::WaveCalType_t  calType
 

Calibration Routine The routine that is used to calibrate the voltage time waveforms in a UsefulAnitaEvent.

The routines to calibrate a RawAnitaEvent into an UsefulAnitaEvent. The exact type of calibration applied depends on the WaveCalType::WaveCalType_t selected.

Definition at line 160 of file AnitaEventCalibrator.cxx.

Int_t AnitaEventCalibrator::justBinByBinTimebase UsefulAnitaEvent eventPtr  ) 
 

< Is this the right thing to do??

Definition at line 771 of file AnitaEventCalibrator.cxx.

void AnitaEventCalibrator::processEventAG UsefulAnitaEvent eventPtr  ) 
 

<This is the time of the first capacitor.

This is Andres's 220ps minimum sample separation

Definition at line 614 of file AnitaEventCalibrator.cxx.

void AnitaEventCalibrator::processEventJW UsefulAnitaEvent eventPtr  ) 
 

Worker function for the JW calibrations.

Check how many points we say we have. Don't let it be more than the clock channel - that can cause problems. SH *

Make certain that time is monotonically increasing in this surf! *

Definition at line 914 of file AnitaEventCalibrator.cxx.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 23:02:12 2010 for ANITA-II Event Reader by doxygen 1.3.9.1