35 |
* |
* |
36 |
* @param actionName The action's name. |
* @param actionName The action's name. |
37 |
* @param outFileBase The output file base name. |
* @param outFileBase The output file base name. |
38 |
* @param rigBinsFile The file containing the rigidity bins |
* @param rigBinsFile The file containing the rigidity bins. |
39 |
|
* @param mode The mode of ROOT file creation (see documentation of TFile constructor |
40 |
|
* in ROOT's reference guide). In current implementation the text file output |
41 |
|
* does not support append. |
42 |
*/ |
*/ |
43 |
FluxHistoAction(const char *actionName, TString outFileBase, TString rigBinsFile); |
FluxHistoAction(const char *actionName, TString outFileBase, TString rigBinsFile, TString mode = "UPDATE"); |
44 |
|
|
45 |
/*! @brief Destructor */ |
/*! @brief Destructor */ |
46 |
~FluxHistoAction() { |
~FluxHistoAction() { |
65 |
vector<float> _bins; |
vector<float> _bins; |
66 |
TH1I _rootHisto; |
TH1I _rootHisto; |
67 |
vector<uint64_t> _textHisto; |
vector<uint64_t> _textHisto; |
68 |
|
TString _mode; |
69 |
|
|
70 |
#ifdef DEBUGPAMCUT |
#ifdef DEBUGPAMCUT |
71 |
int _outUp, _outDown; |
int _outUp, _outDown; |