#include "TFancyHistogramCanvas.hxx"
#include "TMesytecData.hxx"
Go to the source code of this file.
Functions | |
ClassImp (TFancyHistogramCanvas) TFancyHistogramCanvas |
ClassImp | ( | TFancyHistogramCanvas | ) |
Definition at line 5 of file TFancyHistogramCanvas.cxx.
00009 : 00010 TCanvasHandleBase(name), 00011 fHistoArray(histoArray){ 00012 00013 if(histoArray->GetNumberChannelsInGroup() != -1){ 00014 fNumberChannelsInGroups = histoArray->GetNumberChannelsInGroup(); 00015 }else if(numberChannelsInGroups > 1) 00016 fNumberChannelsInGroups = numberChannelsInGroups; 00017 else 00018 fNumberChannelsInGroups = -1; 00019 00020 fLabelframe = 0; 00021 fChannelCounterButton = 0; 00022 fLabelChannels = 0; 00023 fChannelName = "Histogram"; 00024 if(histoArray->GetChannelName().compare("")!=0) 00025 fChannelName = histoArray->GetChannelName(); 00026 00027 fGroupCounterButton = 0; 00028 fLabelGroup = 0; 00029 fGroupName = "Group"; 00030 if(histoArray->GetGroupName().compare("")!=0) 00031 fGroupName = histoArray->GetGroupName(); 00032 00033 fMultiCanvasButton = 0; 00034 fNCanvasButtonGroup =0; 00035 fNCanvasButtons[0]=0; 00036 fNCanvasButtons[1]=0; 00037 fNCanvasButtons[2]=0; 00038 fNCanvasButtons[3]=0; 00039 fOverlayHistoButton = 0; 00040 fNHistoButton = 0; 00041 labelNHisto = 0; 00042 00043 // Construct the legend here, so that user can modify position immediately. 00044 fNHistoLegend = new TLegend(0.6,0.6,0.89,0.8); 00045 fNHistoLegend->SetFillColor(10); 00046 00047 fDisableAutoUpdate = disableAutoUpdate; 00048 if(histoArray->HasAutoUpdate()) 00049 fDisableAutoUpdate = histoArray->GetDisableAutoUpdate(); 00050 00051 }