ARA ROOT Test BEd Software

UsefulAraEvent Class Reference

UsefulAraEvent -- The Useful ARA Event Data. More...

#include <UsefulAraEvent.h>

Inheritance diagram for UsefulAraEvent:

RawAraEvent List of all members.

Public Member Functions

 ClassDef (UsefulAraEvent, 1)
int fillFFTHistoForClock (int clock_number, TH1D *histFFT)
 Utility function for webplotter.
int fillFFTHistoForRFChan (int chan, TH1D *histFFT)
 Utility function for webplotter.
TGraph * getFFTForClock (int clock_number)
 Returns the FFT for the clock channel on lab A, B, or C for clock_number 0 ,1 , or 2 respectively.
TGraph * getFFTForRFChan (int chan)
 Utility function for webplotter, all channels are interpolated to 0.5 ns.
TH1D * getFFTHistForClock (int clock_number)
 Utility function for webplotter.
TH1D * getFFTHistForRFChan (int chan)
 Utility function for webplotter.
TGraph * getGraphFromElecChan (int chan)
 Returns the voltages-time graph for the appropriate electronics channel.
TGraph * getGraphFromRFChan (int chan)
 Returns the voltage-time graph for the appropriate rf channel.
Int_t getRawRCO (Int_t chanIndex)
 Returns the RCO phase.
int getRCO (int chanIndex)
 Note that this function now calls guessRCO rather than relying on the predetermined RCO phase.
int guessRCO (int chanIndex)
 Looks at clock channel to try and guess which RCO phase we are in.
bool isCalPulserEvent ()
 Returns whether (true) or not (false) the event is a calpulser event based on a cut applied to the Rb clock counter.
 UsefulAraEvent (RawAraEvent *rawEvent, AraCalType::AraCalType_t calType=AraCalType::kVoltageTime)
 Assignment constructor.
 UsefulAraEvent ()
 Default constructor.
 ~UsefulAraEvent ()
 Destructor.

Public Attributes

AraEventCalibratorfCalibrator
 Pointer to the AraEventCalibrator.
Int_t fNumPoints [NUM_DIGITIZED_CHANNELS]
 Array of the number of valid samples.
Int_t fNumPointsRF [RFCHANS_PER_STATION]
 Number of valid samples for thecalibrated, interleaved waveforms from the RF input channels.
Double_t fTimes [NUM_DIGITIZED_CHANNELS][MAX_NUMBER_SAMPLES]
 Array of the times.
Double_t fTimesRF [RFCHANS_PER_STATION][2 *MAX_NUMBER_SAMPLES]
 Array of the calibrated, interleaved times for the RF input channels.
Double_t fVolts [NUM_DIGITIZED_CHANNELS][MAX_NUMBER_SAMPLES]
 Array of the calibrated voltages.
Double_t fVoltsRF [RFCHANS_PER_STATION][2 *MAX_NUMBER_SAMPLES]
 Array of the calibrated, interleaved voltages for the RF input channels.

Detailed Description

UsefulAraEvent -- The Useful ARA Event Data.

The ROOT implementation of the useful ARA event data

This is the most useful class for analysing the ARA data. The raw ADC values from a RawAraEvent object are converted into calibrated voltage-time arrays using one of the calibration types defined in AraEventCalibrator. Utility functions are provided to access these arrays as TGraphs, or in the frequency domain.

Definition at line 29 of file UsefulAraEvent.h.


Member Function Documentation

TGraph * UsefulAraEvent::getFFTForClock ( int  clock_number  ) 

Returns the FFT for the clock channel on lab A, B, or C for clock_number 0 ,1 , or 2 respectively.

change from +(1.);

Definition at line 142 of file UsefulAraEvent.cxx.

int UsefulAraEvent::guessRCO ( int  chanIndex  ) 

Looks at clock channel to try and guess which RCO phase we are in.

< Looks at clock channel to try and guess which RCO phase we are in.

Definition at line 123 of file UsefulAraEvent.cxx.


The documentation for this class was generated from the following files:
Generated on Wed Aug 8 16:18:57 2012 for ARA ROOT Test Bed Software by doxygen 1.4.7