• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

/Users/jmonk/Physics/ForIA/src/IHistogrammer.cxx

Go to the documentation of this file.
00001 #include "ForIA/IHistogrammer.hh"
00002 
00003 namespace ForIA {
00004   
00005   void IHistogrammer::bookHistogram1D(const string &name, const string &title, 
00006                                       int nBins, double xMin, double xMax){
00007     this->bookHistogram1D("/", name, title, nBins, xMin, xMax, true);
00008     return;
00009   }
00010   
00011   void IHistogrammer::bookHistogram1D(const string &name, const string &title, 
00012                                       int nBins, double xMin, double xMax,
00013                                       bool divideBinWidths){
00014     this->bookHistogram1D("/", name, title, nBins, xMin, xMax, divideBinWidths);
00015     return;
00016   }
00017   
00018   void IHistogrammer::bookHistogram1D(const string &path, const string &name, const string &title, 
00019                                       int nBins, double xMin, double xMax){
00020     this->bookHistogram1D(path, name, title, nBins, xMin, xMax, true);
00021     return;
00022   }
00023   
00025   void IHistogrammer::bookHistogram1D(const string &name, const string &title, 
00026                                       const vector<double> &bins){
00027     this->bookHistogram1D("/", name, title, bins, true);
00028     return;
00029   }
00030   
00031   void IHistogrammer::bookHistogram1D(const string &name, const string &title, 
00032                                       const vector<double> &bins, bool divideBinWidths){
00033     this->bookHistogram1D("/", name, title, bins, divideBinWidths);
00034     return;
00035   }
00036   
00037   void IHistogrammer::bookHistogram1D(const string &path, const string &name, const string &title, 
00038                                       const vector<double> &bins){
00039     this->bookHistogram1D(path, name, title, bins, true);
00040     return;
00041   } 
00042   
00044   void IHistogrammer::bookProfile1D(const string &name, const string &title,
00045                                     int nBins, double xMin, double xMax){
00046     this->bookProfile1D("/", name, title, nBins, xMin, xMax);
00047     return;
00048   }
00049  
00051   void IHistogrammer::fillHistogram1D(const string &name, double value, double weight){
00052     this->fillHistogram1D("/", name, value, weight);
00053     return;
00054   }
00056   void IHistogrammer::fillProfile1D(const string &name, double xVal, double yVal, double weight){
00057     this->fillProfile1D("/", name, xVal, yVal, weight);
00058     return;
00059   }
00061   void IHistogrammer::bookHistogram2D(const string &name, const string &title, 
00062                                       int nBinsX, double xMin, double xMax,
00063                                       int nBinsY, double yMin, double yMax){
00064     this->bookHistogram2D("/", name, title,
00065                           nBinsX, xMin, xMax,
00066                           nBinsY, yMin , yMax, 
00067                           true);
00068     return;
00069   }
00070   
00071   void IHistogrammer::bookHistogram2D(const string &name, const string &title, 
00072                                       int nBinsX, double xMin, double xMax,
00073                                       int nBinsY, double yMin, double yMax,
00074                                       bool divideBinWidths){
00075     this->bookHistogram2D("/", name, title,
00076                           nBinsX, xMin, xMax,
00077                           nBinsY, yMin , yMax, 
00078                           divideBinWidths);
00079     return;
00080   }
00081   
00082   void IHistogrammer::bookHistogram2D(const string &path, const string &name, const string &title, 
00083                                       int nBinsX, double xMin, double xMax,
00084                                       int nBinsY, double yMin, double yMax){
00085     this->bookHistogram2D(path, name, title,
00086                           nBinsX, xMin, xMax,
00087                           nBinsY, yMin , yMax,
00088                           true);
00089     return;
00090   }
00091   
00093 
00094   void IHistogrammer::bookHistogram2D(const string &name, const string &title, 
00095                                       const vector<double> &xbins, const vector<double> &ybins,
00096                                       bool divideBinWidths){
00097     this->bookHistogram2D("/", name, title, xbins, ybins, divideBinWidths);
00098     return;
00099   }
00100   
00101   void IHistogrammer::fillHistogram2D(const string &name, double xVal, double yVal, double weight){
00102     this->fillHistogram2D("/", name, xVal, yVal, weight);
00103     return;
00104   }
00105   
00106   void IHistogrammer::normaliseHistogram1D(const string &name, double norm){
00107     this->normaliseHistogram1D("/", name, norm);
00108     return;
00109   }
00110   
00111   void IHistogrammer::scaleHistogram1D(const string &name, double scale){
00112     this->scaleHistogram1D("/", name, scale);
00113     return;
00114   }
00115   
00116   void IHistogrammer::normaliseHistogram2D(const string &name, double norm){
00117     this->normaliseHistogram2D("/", name, norm);
00118     return;
00119   }
00120   
00121   void IHistogrammer::scaleHistogram2D(const string &name, double scale){
00122     this->scaleHistogram2D("/", name, scale);
00123     return;
00124   }
00126   
00127   void IHistogrammer::bookHistogram3D(const string &name, const string &title,
00128                                       int nBinsX, double xMin, double xMax,
00129                                       int nBinsY, double yMin, double yMax,
00130                                       int nBinsZ, double zMin, double zMax){
00131     this->bookHistogram3D("/", name, title,
00132                           nBinsX, xMin, xMax,
00133                           nBinsY, yMin, yMax,
00134                           nBinsZ, zMin, zMax,
00135                           true);
00136     return;
00137   }
00138   
00139   void IHistogrammer::bookHistogram3D(const string &name, const string &title,
00140                                       int nBinsX, double xMin, double xMax,
00141                                       int nBinsY, double yMin, double yMax,
00142                                       int nBinsZ, double zMin, double zMax,
00143                                       bool divideBinWidths){
00144     this->bookHistogram3D("/", name, title,
00145                           nBinsX, xMin, xMax,
00146                           nBinsY, yMin, yMax,
00147                           nBinsZ, zMin, zMax,
00148                           divideBinWidths);
00149     return;
00150   }
00151   
00152   void IHistogrammer::bookHistogram3D(const string &path, const string &name, const string &title,
00153                                       int nBinsX, double xMin, double xMax,
00154                                       int nBinsY, double yMin, double yMax,
00155                                       int nBinsZ, double zMin, double zMax){
00156     this->bookHistogram3D(path, name, title,
00157                           nBinsX, xMin, xMax,
00158                           nBinsY, yMin, yMax,
00159                           nBinsZ, zMin, zMax,
00160                           true);
00161     
00162     return;
00163   }
00164   
00166 
00167   void IHistogrammer::fillHistogram3D(const string &name, 
00168                                       double xVal, double yVal, double zVal, 
00169                                       double weight){
00170     this->fillHistogram3D("/", name, xVal, yVal, zVal, weight);
00171     return;
00172   }
00173   
00174 }

Generated on Mon Jul 30 2012 16:56:35 for ForIA by  doxygen 1.7.2