| 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 |
|
|
| 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() { |
| 62 |
TH2F _xyHisto; |
TH2F _xyHisto; |
| 63 |
}; |
}; |
| 64 |
#endif /* CALOCHI2HISTOACTION_H_ */ |
#endif /* CALOCHI2HISTOACTION_H_ */ |
| 65 |
|
#endif /* NO_CALOAXIS */ |