| 11 |
#define LIVETIMEACTION_H_ |
#define LIVETIMEACTION_H_ |
| 12 |
|
|
| 13 |
#include "../CollectionAction/CollectionAction.h" |
#include "../CollectionAction/CollectionAction.h" |
| 14 |
#include <TH1F.h> |
#include <TH1D.h> |
| 15 |
#include <stdint.h> |
#include <stdint.h> |
| 16 |
|
|
| 17 |
/*! @brief An action that fills a live time histogram. |
/*! @brief An action that fills a live time histogram. |
| 29 |
public: |
public: |
| 30 |
/*! @brief Constructor. |
/*! @brief Constructor. |
| 31 |
* |
* |
| 32 |
* outFileBase is the base name for output file: #Finalize will add .txt for ASCII output |
* outFileBase is the base name for output file: #Finalize will add #GetName() + ".txt" for ASCII output |
| 33 |
* and .root for ROOT output. "-report" will be also added for the report file (in which |
* and #GetName() + ".root" for ROOT output. #GetName + "-report.txt" will be also added for the report file (in which |
| 34 |
* the content of the inferior bin will be saved). outFileBase has to contain the path (otherwise, |
* the content of the inferior bin will be saved). outFileBase has to contain the path (otherwise, |
| 35 |
* files will be saved in the current directory). |
* files will be saved in the current directory). |
| 36 |
* The file containing the rigidity bins must be a text file. It must contain both the |
* The file containing the rigidity bins must be a text file. It must contain both the |
| 119 |
|
|
| 120 |
TString _outFileBase; |
TString _outFileBase; |
| 121 |
vector<float> _bins; |
vector<float> _bins; |
| 122 |
TH1F _rootHisto; |
TH1D _rootHisto; |
| 123 |
vector<double> _textHisto; |
vector<double> _textHisto; |
| 124 |
float _thresholdCoeff; |
float _thresholdCoeff; |
| 125 |
|
|