ARA ROOT v3.3 Software

UsefulIcrrStationEvent Class Reference

Part of AraEvent library. ICRR specific Useful event class. 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 - the returned TGraph is from FFTtools::makePowerSpectrumMilliVoltsNanoSecondsdB().
TH1D * getFFTHistForClock (int clock_number)
 Utility function for webplotter.
TH1D * getFFTHistForRFChan (int chan)
 Utility function for webplotter -- produces a TH1D form of getFFTForRFChan(int chan).
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 getNumElecChannels ()
 Returns the number of electronics channels.
Int_t getNumRFChannels ()
 Returns the number of Antennae - this may not be the same as the number of electronics channels (interleaving / di-plexing).
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.
bool shortWaveform (Int_t labChip)
 Returns whether (true) or not (false) the event has the short waveform problem on Int_t labChip as identified in <http://ara.physics.wisc.edu/docs/0005/000517/001/9_7_2012_AraRoot_ShortWaveForm_Issue.pdf>.
bool shortWaveform ()
 Returns whether (true) or not (false) the event has the short waveform problem as identified in <http://ara.physics.wisc.edu/docs/0005/000517/001/9_7_2012_AraRoot_ShortWaveForm_Issue.pdf>.
 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

Part of AraEvent library. ICRR specific Useful event class.

The raw ADC values from a RawAtriStationEvent 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.

Both ATRI and ICRR specific useful events inherit from a common bas class (UsefulAraStationEvent). It is intended that analysis code process objects of the type UsefulAraStationEvent, using the provided overloaded functions (getGraphFromRFChannel etc.). Code will then be able to process both ICRR and ATRI type events instead of being station specific.

Definition at line 29 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 146 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 127 of file UsefulIcrrStationEvent.cxx.


The documentation for this class was generated from the following files:
Generated on Tue Sep 11 19:51:12 2012 for ARA ROOT v3.3 Software by doxygen 1.4.7