ARA ROOT Test BEd Software

UsefulIcrrStationEvent Class Reference

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

#include <UsefulIcrrStationEvent.h>

Inheritance diagram for UsefulIcrrStationEvent:

RawIcrrStationEvent UsefulAraStationEvent RawAraStationEvent RawAraGenericHeader List of all members.

Public Member Functions

 ClassDef (UsefulIcrrStationEvent, 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 //jpd This will need to change to pull out extra 4 channels, need to do in frequency domain.
Int_t getNumElecChannels ()
 Or may not be the same.
Int_t getNumRFChannels ()
 May be the same.
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.
 UsefulIcrrStationEvent (RawIcrrStationEvent *rawEvent, AraCalType::AraCalType_t calType=AraCalType::kVoltageTime)
 Assignment constructor.
 UsefulIcrrStationEvent ()
 Default constructor.
 ~UsefulIcrrStationEvent ()
 Destructor.

Public Attributes

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

Detailed Description

UsefulIcrrStationEvent -- 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 RawIcrrStationEvent 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 30 of file UsefulIcrrStationEvent.h.


Member Function Documentation

TGraph * UsefulIcrrStationEvent::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 145 of file UsefulIcrrStationEvent.cxx.

int UsefulIcrrStationEvent::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 126 of file UsefulIcrrStationEvent.cxx.


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