AraAtriCanvasMaker Class Reference
Part of AraDisplay library. The ATRI event canvas maker. More...
#include <AraAtriCanvasMaker.h>
Public Member Functions | |
| AraAtriCanvasMaker (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. | |
| ~AraAtriCanvasMaker () | |
| Destructor. | |
Static Public Member Functions | |
| static AraAtriCanvasMaker * | 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 | fMaxVoltLimitAnt [ANT_ROWS] |
| The maximum voltage. | |
| Double_t | fMaxVoltLimitElec [RFCHAN_PER_DDA] |
| The maximum voltage. | |
| Double_t | fMaxVoltLimitRf [RF_ROWS] |
| 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 | fMinVoltLimitAnt [ANT_ROWS] |
| The minimum voltage. | |
| Double_t | fMinVoltLimitElec [RFCHAN_PER_DDA] |
| The minimum voltage. | |
| Double_t | fMinVoltLimitRf [RF_ROWS] |
| 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 AraAtriCanvasMaker * | fgInstance = 0 |
| To protect against multiple instances. | |
Detailed Description
Part of AraDisplay library. The ATRI 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 40 of file AraAtriCanvasMaker.h.
Constructor & Destructor Documentation
| AraAtriCanvasMaker::AraAtriCanvasMaker | ( | AraCalType::AraCalType_t | calType = AraCalType::kVoltageTime |
) |
The assignment constructor.
Creates an AraAtriCanvasMaker object/ /param calType The calibration type used (only needed to set the time axis for ns vs samples).
Definition at line 99 of file AraAtriCanvasMaker.cxx.
Member Function Documentation
| TPad * AraAtriCanvasMaker::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 198 of file AraAtriCanvasMaker.cxx.
| TPad * AraAtriCanvasMaker::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 501 of file AraAtriCanvasMaker.cxx.
| TPad * AraAtriCanvasMaker::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 332 of file AraAtriCanvasMaker.cxx.
The documentation for this class was generated from the following files:
- AraDisplay/AraAtriCanvasMaker.h
- AraDisplay/AraAtriCanvasMaker.cxx
Generated on Fri Jul 26 15:27:37 2013 for ARA ROOT v3.11 Software by
1.4.7