ARA ROOT v3.6 Software

AraIcrrCanvasMaker Class Reference

Part of AraDisplay library. This is the ICRR event canvas maker. More...

#include <AraIcrrCanvasMaker.h>

List of all members.


Public Member Functions

 AraIcrrCanvasMaker (AraCalType::AraCalType_t calType=AraCalType::kVoltageTime)
 The assignment constructor.
void deleteTGraphsFromElecPad (TPad *paddy, int chan)
 Worker fucntion to delete a specific graph from a pad.
void deleteTGraphsFromRFPad (TPad *paddy, int ant)
 Worker fucntion to delete specific graphs from a pad.
TPad * getEventInfoCanvas (UsefulIcrrStationEvent *evPtr, TPad *useCan=0, Int_t runNumber=0)
 The event info canvas getter.
TPad * getEventViewerCanvas (UsefulIcrrStationEvent *evPtr, TPad *useCan=0)
 The main event view canvas getter.
TH1D * getFFTHisto (int ant)
TPad * quickGetEventViewerCanvasForWebPlottter (UsefulIcrrStationEvent *evPtr, TPad *useCan=0)
 The main event view canvas getter used by QnDWBOM.
void resetAverage ()
 Resets the average for the FFT mode.
void setCanvasLayout (AraDisplayCanvasLayoutOption::AraDisplayCanvasLayoutOption_t canOption)
 Set the canvas layout mode.
void setCorrelatorType (AraCorrelatorType::AraCorrelatorType_t corType)
 Select the correlator type to use.
void setNotchBandLimits (Double_t low, Double_t high)
 Sets the limits of the notched band (235-500) in MHz.
void setNotchFilterFlag (int flag)
 Flags the notch filter on or off.
void setNumAntsInMap (int numAnts)
 set the number of antennas to use in the interferometric map
void setPassBandFilterFlag (int flag)
 Flags the pass band filter on or off.
void setPassBandLimits (Double_t low, Double_t high)
 Sets the limits of the pass band (200-1200) in MHz.
void setupAntPadWithFrames (TPad *plotPad, Int_t stationId)
 Worker function to setup the surf view canvas.
void setupElecPadWithFrames (TPad *plotPad)
 Worker function to setup the electronics view canvas.
void setupRFChanPadWithFrames (TPad *plotPad, Int_t stationId)
 Worker function to setup the surf view canvas.
void setWaveformFormat (AraDisplayFormatOption::AraDisplayFormatOption_t waveOption)
 Set the waveform format.
 ~AraIcrrCanvasMaker ()
 Destructor.

Static Public Member Functions

static AraIcrrCanvasMakerInstance ()
 The instance generator.

Public Attributes

Int_t fAutoScale
 Fixed or auto-scaling y-axis?
AraCalType::AraCalType_t fCalType
 The calibration type.
AraDisplayCanvasLayoutOption::AraDisplayCanvasLayoutOption_t fCanvasLayout
 Which canvas layout were we in.
AraCorrelatorType::AraCorrelatorType_t fCorType
 Which kind of correlation should we use.
AraDisplayCanvasLayoutOption::AraDisplayCanvasLayoutOption_t fLastCanvasView
 Which canvas layout were we in.
AraDisplayFormatOption::AraDisplayFormatOption_t fLastWaveformFormat
 What did we plot last time??
Double_t fMaxClockVoltLimit
 The maximum voltage in the clock channels.
Double_t fMaxFreqLimit
 The maximum frequency in the PSDs (typically 1200).
Double_t fMaxPowerLimit
 The maximum power in the PSDs.
Double_t fMaxTimeLimit
 The maximum time in the waveform (typically 100).
Double_t fMaxVoltLimit
 The maximum voltage.
Double_t fMinClockVoltLimit
 The minimum voltage in the clock channels.
Double_t fMinFreqLimit
 The minimum frequency in the PSDs (typically 0).
Double_t fMinPowerLimit
 The minimum power in the PSDs.
Double_t fMinTimeLimit
 The minimum time in the waveform (typically 0).
Double_t fMinVoltLimit
 The minimum voltage.
Int_t fNewEvent
 Is this a new event?
Int_t fNumAntsInMap
 The number of antennas to use in the interferometric map.
Int_t fRedoEventCanvas
 Do we neeed to redraw the event canvas (eg. switching from phi to SURF)?
AraDisplayFormatOption::AraDisplayFormatOption_t fWaveformOption
 Are we viewing PSDs, waveforms or other stuff?

Static Protected Attributes

static AraIcrrCanvasMakerfgInstance = 0
 To protect against multiple instances.

Detailed Description

Part of AraDisplay library. This is the ICRR event canvas maker.

This is where all the heavy lifting regarding the main event display canvas takes place. Lots of things are hard-coded and unchangeable in order to make the display look reasonable (on my computer at least).

Definition at line 30 of file AraIcrrCanvasMaker.h.


Constructor & Destructor Documentation

AraIcrrCanvasMaker::AraIcrrCanvasMaker ( AraCalType::AraCalType_t  calType = AraCalType::kVoltageTime  ) 

The assignment constructor.

Creates an AraIcrrCanvasMaker object/ /param calType The calibration type used (only needed to set the time axis for ns vs samples).

Definition at line 73 of file AraIcrrCanvasMaker.cxx.


Member Function Documentation

TPad * AraIcrrCanvasMaker::getEventInfoCanvas ( UsefulIcrrStationEvent evPtr,
TPad *  useCan = 0,
Int_t  runNumber = 0 
)

The event info canvas getter.

Fills in run number and times and all those good things. /param hdPtr Pointer to the header of the event we want to draw /param useCan Optional pointer to a canvas to draw all the TPaveText's (if zero a canvas will be created).

Definition at line 150 of file AraIcrrCanvasMaker.cxx.

TPad * AraIcrrCanvasMaker::getEventViewerCanvas ( UsefulIcrrStationEvent evPtr,
TPad *  useCan = 0 
)

The main event view canvas getter.

Actually draws all the little squiggly lines. /param evPtr Pointer to the UsefulIcrrStationEvent we want to draw. /param hdPtr Pointer to the header of the event we want to draw /param useCan Optional pointer to a canvas to draw the squiggly ines in (if zero a canvas will be created).

Definition at line 403 of file AraIcrrCanvasMaker.cxx.

TPad * AraIcrrCanvasMaker::quickGetEventViewerCanvasForWebPlottter ( UsefulIcrrStationEvent evPtr,
TPad *  useCan = 0 
)

The main event view canvas getter used by QnDWBOM.

Actually draws all the little squiggly lines. /param evPtr Pointer to the UsefulIcrrStationEvent we want to draw. /param hdPtr Pointer to the header of the event we want to draw /param useCan Optional pointer to a canvas to draw the squiggly ines in (if zero a canvas will be created).

Definition at line 258 of file AraIcrrCanvasMaker.cxx.


The documentation for this class was generated from the following files:
Generated on Mon Mar 18 16:04:47 2013 for ARA ROOT v3.6 Software by doxygen 1.4.7