AraCanvasMaker Class Reference
The event display canvas maker. More...
#include <AraCanvasMaker.h>
Public Member Functions | |
AraCanvasMaker (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 (UsefulAtriStationEvent *evPtr, TPad *useCan=0, Int_t runNumber=0) |
The event info canvas getter. | |
TPad * | getEventViewerCanvas (UsefulAtriStationEvent *evPtr, TPad *useCan=0) |
The main event view canvas getter. | |
TH1D * | getFFTHisto (int ant) |
TPad * | quickGetEventViewerCanvasForWebPlottter (UsefulAtriStationEvent *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) |
Worker function to setup the surf view canvas. | |
void | setupElecPadWithFrames (TPad *plotPad) |
Worker function to setup the electronics view canvas. | |
void | setupRFChanPadWithFrames (TPad *plotPad) |
Worker function to setup the surf view canvas. | |
void | setWaveformFormat (AraDisplayFormatOption::AraDisplayFormatOption_t waveOption) |
Set the waveform format. | |
~AraCanvasMaker () | |
Destructor. | |
Static Public Member Functions | |
static AraCanvasMaker * | Instance () |
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)? | |
Double_t | fThisMaxTime |
The maximum time. | |
Double_t | fThisMinTime |
The minimum time. | |
AraDisplayFormatOption::AraDisplayFormatOption_t | fWaveformOption |
Are we viewing PSDs, waveforms or other stuff? | |
Static Protected Attributes | |
static AraCanvasMaker * | fgInstance = 0 |
To protect against multiple instances. |
Detailed Description
The event display 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 AraCanvasMaker.h.
Constructor & Destructor Documentation
AraCanvasMaker::AraCanvasMaker | ( | AraCalType::AraCalType_t | calType = AraCalType::kVoltageTime |
) |
The assignment constructor.
Creates an AraCanvasMaker object/ /param calType The calibration type used (only needed to set the time axis for ns vs samples).
Definition at line 73 of file AraCanvasMaker.cxx.
Member Function Documentation
TPad * AraCanvasMaker::getEventInfoCanvas | ( | UsefulAtriStationEvent * | 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 153 of file AraCanvasMaker.cxx.
TPad * AraCanvasMaker::getEventViewerCanvas | ( | UsefulAtriStationEvent * | evPtr, | |
TPad * | useCan = 0 | |||
) |
The main event view canvas getter.
Actually draws all the little squiggly lines. /param evPtr Pointer to the UsefulAtriStationEvent 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 442 of file AraCanvasMaker.cxx.
TPad * AraCanvasMaker::quickGetEventViewerCanvasForWebPlottter | ( | UsefulAtriStationEvent * | 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 UsefulAtriStationEvent 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 278 of file AraCanvasMaker.cxx.
The documentation for this class was generated from the following files:
- AraDisplay/AraCanvasMaker.h
- AraDisplay/AraCanvasMaker.cxx
Generated on Wed Aug 8 16:20:08 2012 for ARA ROOT Test Bed Software by
