9 #ifndef ANITACANVASMAKER_H 10 #define ANITACANVASMAKER_H 17 #include "AnitaConventions.h" 18 #include "MagicDisplayConventions.h" 19 #include "AnalysisReco.h" 92 TPad *getUCorrelatorCanvas(
const RawAnitaHeader *hdPtr,TPad *useCan=NULL);
142 { fLowPassEdge=low; fHighPassEdge=high;}
144 { fLowNotchEdge=low; fHighNotchEdge=high;}
159 TFile *fAnitaGeomFile;
160 TGeoManager *fAnitaGeomManager;
161 Int_t fPassBandFilter;
163 Double_t fLowPassEdge;
164 Double_t fHighPassEdge;
165 Double_t fLowNotchEdge;
166 Double_t fHighNotchEdge;
172 TPad *getHorizontalCanvas(
const RawAnitaHeader *hdPtr, TPad *useCan=0);
178 TPad *getVerticalCanvas(
const RawAnitaHeader *hdPtr, TPad *useCan=0);
184 TPad *getCombinedCanvas(
const RawAnitaHeader *hdPtr, TPad *useCan=0);
190 TPad *getSurfChanCanvas(
const RawAnitaHeader *hdPtr, TPad *useCan=0);
196 TPad *getVerticalCanvasForWebPlotter(
const RawAnitaHeader *hdPtr, TPad *useCan=0);
201 TPad *getCombinedCanvasForWebPlotter(
const RawAnitaHeader *hdPtr, TPad *useCan=0);
208 TPad *getPayloadCanvas(
const RawAnitaHeader *hdPtr, TPad *useCan=0);
209 void loadPayloadViewSutff();
213 #endif //ANITACANVASMAKER_H Double_t fMaxInterfLimit
The maximum interferometry.
enum MagicDisplayCanvasLayoutOption::EMagicDisplayCanvasLayoutOption MagicDisplayCanvasLayoutOption_t
Enumeration for canvas layout.
static AnitaCanvasMaker * Instance()
The instance generator.
Double_t fMinTimeLimit
The minimum time in the waveform (typically 0).
MagicDisplayCanvasLayoutOption::MagicDisplayCanvasLayoutOption_t fLastCanvasView
What was the last view (phi or SURF)?
Double_t fMinVoltLimit
The minimum voltage.
Double_t fMaxFreqLimit
The maximum frequency in the PSDs (typically 1200).
Double_t fMaxTimeLimit
The maximum time in the waveform (typically 100).
Int_t fRedoEventCanvas
Do we neeed to redraw the event canvas (eg. switching from phi to SURF)?
void setPassBandLimits(Double_t low, Double_t high)
Sets the limits of the pass band (200-1200) in MHz.
Adu5Pat – The ADU5 Position and Attitude Data.
Double_t fMinVertVoltLimit
The minimum voltage in vertical channels.
WaveCalType::WaveCalType_t fCalType
The calibration type.
Does the event reconstruction, and produces a summary of it.
enum WaveCalType::EWaveCalType WaveCalType_t
The calibration enumeration type.
Double_t fMaxPowerLimit
The maximum power in the PSDs.
void deleteTGraphsFromPad(TPad *paddy, int surf, int chan)
Worker fucntion to delete a specific graph from a pad.
Double_t fMinFreqLimit
The minimum frequency in the PSDs (typically 0).
void setupPayloadViewWithFrames(TPad *plotPad)
Worker function to setup the payload view canvas.
Double_t fMaxVoltLimit
The maximum voltage.
Double_t fMinClockVoltLimit
The minimum voltage in the clock channels.
void setupInterfPadWithFrames(TPad *plotPad)
Worker function to setup the phi view canvas.
MagicDisplayFormatOption::MagicDisplayFormatOption_t fWaveformOption
Are we viewing PSDs, waveforms or other stuff?
~AnitaCanvasMaker()
Destructor.
TPad * getInterferometryCanvas(const RawAnitaHeader *hdPtr, TPad *useCan=NULL)
The interferometry canvas getter.
Double_t fMinPowerLimit
The minimum power in the PSDs.
MagicDisplayCanvasLayoutOption::MagicDisplayCanvasLayoutOption_t fCanvasView
Which canvas layout do we want?
UsefulAnitaEvent – The Calibrated Useful Anita Event object.
void setNotchBandLimits(Double_t low, Double_t high)
Sets the limits of the notched band (235-500) in MHz.
static AnitaCanvasMaker * fgInstance
To protect against multiple instances.
AnitaCanvasMaker(WaveCalType::WaveCalType_t calType=WaveCalType::kVoltageTime)
The assignment constructor.
Int_t fNewEvent
Is this a new event?
MagicDisplayFormatOption::MagicDisplayFormatOption_t fLastWaveformFormat
What did we plot last time??
Double_t fMaxClockVoltLimit
The maximum voltage in the clock channels.
TPad * quickGetEventViewerCanvasForWebPlottter(const UsefulAnitaEvent *evPtr, const RawAnitaHeader *hdPtr, TPad *useCan=0)
The main event view canvas getter used by QnDWBOM.
void setPassBandFilterFlag(int flag)
Flags the pass band filter on or off.
void setupSurfPadWithFrames(TPad *plotPad)
Worker function to setup the surf view canvas.
Acclaim::AnalysisReco & getAnalysisReco()
get command line access with a reference
Double_t fMaxVertVoltLimit
The maximum voltage in vertical channels.
Double_t fMinInterfLimit
The minimum interferometry.
TPad * getEventViewerCanvas(FilteredAnitaEvent *fEv, TPad *useCan=0, bool forceRedo=false)
The main event view canvas getter.
void setNotchFilterFlag(int flag)
Flags the notch filter on or off.
TPad * getEventInfoCanvas(const UsefulAnitaEvent *evPtr, const RawAnitaHeader *hdPtr, const Adu5Pat *pat, TPad *useCan=0)
The event info canvas getter.
void setupPhiPadWithFrames(TPad *plotPad)
Worker function to setup the phi view canvas.
Int_t fAutoScaleNeg
Fixed or auto-scaling y-axis?
Int_t fAutoScale
Fixed or auto-scaling y-axis?
This class is intended to store all the necessary data about an ANITA event for filtering and analysi...
The event display canvas maker.