/[PAMELA software]/PamCut/CollectionActions/CaloChi2HistoAction/CaloChi2HistoAction.h
ViewVC logotype

Diff of /PamCut/CollectionActions/CaloChi2HistoAction/CaloChi2HistoAction.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Wed Aug 5 13:57:17 2009 UTC revision 1.5 by pam-fi, Tue Jul 12 15:52:49 2011 UTC
# Line 7  Line 7 
7    
8  /*! @file CaloChi2HistoAction.h The CaloChi2HistoAction class declaration file. */  /*! @file CaloChi2HistoAction.h The CaloChi2HistoAction class declaration file. */
9    
10    #ifndef NO_CALOAXIS
11    
12  #ifndef CALOCHI2HISTOACTION_H_  #ifndef CALOCHI2HISTOACTION_H_
13  #define CALOCHI2HISTOACTION_H_  #define CALOCHI2HISTOACTION_H_
14    
15  #include "../CollectionAction/CollectionAction.h"  #include "../CollectionAction/CollectionAction.h"
16  #include "../../CaloAxis2.h"  #include <CaloAxis.h>
17  #include <TH1F.h>  #include <TH1F.h>
18  #include <TH2F.h>  #include <TH2F.h>
19    
# Line 31  public: Line 33  public:
33     * @param min The lower limit of the histogram's X axis.     * @param min The lower limit of the histogram's X axis.
34     * @param max The upper limit of the histogram's X axis.     * @param max The upper limit of the histogram's X axis.
35     * @param nBins The number of bins.     * @param nBins The number of bins.
36       * @param logBinning If true, logarithmically-spaced bins will be used.
37     * @param mode The mode of ROOT file creation (see documentation of TFile constructor     * @param mode The mode of ROOT file creation (see documentation of TFile constructor
38     *             in ROOT's reference guide).     *             in ROOT's reference guide).
39     */     */
40    CaloChi2HistoAction(const char *actionName, TString outFileName, CaloAxis *xAxis, CaloAxis *yAxis, float min = 0.,    CaloChi2HistoAction(const char *actionName, TString outFileName, CaloAxis *xAxis, CaloAxis *yAxis, float min = 0.,
41        float max = 1., unsigned int nBins = 100, TString mode = "UPDATE");        float max = 1., unsigned int nBins = 100, bool logBinning = false, TString mode = "UPDATE");
42    
43    /*! @brief Destructor. */    /*! @brief Destructor. */
44    ~CaloChi2HistoAction() {    ~CaloChi2HistoAction() {
# Line 59  private: Line 62  private:
62    TH2F _xyHisto;    TH2F _xyHisto;
63  };  };
64  #endif /* CALOCHI2HISTOACTION_H_ */  #endif /* CALOCHI2HISTOACTION_H_ */
65    #endif /* NO_CALOAXIS */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23