| 18 |
public: |
public: |
| 19 |
|
|
| 20 |
/*! @brief Constructor. |
/*! @brief Constructor. |
| 21 |
* * |
* |
| 22 |
* @param actionName The action's name. |
* @param actionName The action's name. |
| 23 |
* @param outFileName The output file name. |
* @param outFileName The output file name. |
| 24 |
* @param layer The layer from which dE/dx is measured. See #TOFLAYERS. If combinations like |
* @param layers The layers from which dE/dx is measured. See #TOFLAYERS. If combinations like |
| 25 |
* S11+S12 are used, the mean dE/dx will be used. |
* S11+S12 are used, the mean dE/dx will be used. |
| 26 |
* @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 |
| 27 |
* in ROOT's reference guide). |
* in ROOT's reference guide). |
| 28 |
|
* @param standAlone If true, the standalone TOF track will be used to compute beta; otherwise |
| 29 |
|
* the track associated to the physical track will be used. |
| 30 |
* @param minDedx The lower limit for dE/dx axis (in MIP). |
* @param minDedx The lower limit for dE/dx axis (in MIP). |
| 31 |
* @param maxDedx The upper limit for dE/dx axis (in MIP). |
* @param maxDedx The upper limit for dE/dx axis (in MIP). |
| 32 |
* @param nBinsDedx The number of dE/dx bins. |
* @param nBinsDedx The number of dE/dx bins. |
| 35 |
* @param nBinsBeta The number of beta bins. |
* @param nBinsBeta The number of beta bins. |
| 36 |
*/ |
*/ |
| 37 |
TofDedxVsBetaHistoAction(const char *actionName, TString outFileName, unsigned int layers, TString mode = "UPDATE", |
TofDedxVsBetaHistoAction(const char *actionName, TString outFileName, unsigned int layers, TString mode = "UPDATE", |
| 38 |
float minDedx = 0., float maxDedx = 50., unsigned int nBinsDedx = 100, float minBeta = 0., float maxBeta = 2., |
bool standAlone = true, float minDedx = 0., float maxDedx = 50., unsigned int nBinsDedx = 100, |
| 39 |
unsigned int nBinsBeta = 100); |
float minBeta = 0., float maxBeta = 2., unsigned int nBinsBeta = 100); |
| 40 |
|
|
| 41 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
| 42 |
~TofDedxVsBetaHistoAction() { |
~TofDedxVsBetaHistoAction() { |
| 67 |
unsigned int _badEvents; |
unsigned int _badEvents; |
| 68 |
TH2F _histo; |
TH2F _histo; |
| 69 |
TString _mode; |
TString _mode; |
| 70 |
|
bool _standAlone; |
| 71 |
|
|
| 72 |
}; |
}; |
| 73 |
#endif /* TOFDEDXVSBETAHISTOACTION_H_ */ |
#endif /* TOFDEDXVSBETAHISTOACTION_H_ */ |