ROOTANA
THistogramArrayBase.cxx
Go to the documentation of this file.
1 #include "THistogramArrayBase.h"
3 
4 
6  for(int i = size()-1; i >= 0 ; i--){
7  delete (*this)[i];
8  //delete tmp;
9  }
10 }
11 
12 
14  if(i >= size()){
15  std::cerr << "Invalid index (=" << i
16  << ") requested in THistogramArrayBase::GetHistogram(int i) " << std::endl;
17  return 0;
18  }
19  return (*this)[i];
20 }
21 
23  return new TFancyHistogramCanvas(this, fSubTabName);
24 }
25 
26 
27 
28 
virtual TCanvasHandleBase * CreateCanvas()
TH1 * GetHistogram(unsigned i)
A helper method for accessing each histogram. Does bounds checking.