| 13 |
#ifndef TRKDEDXVSRIGHISTOACTION_H_ |
#ifndef TRKDEDXVSRIGHISTOACTION_H_ |
| 14 |
#define TRKDEDXVSRIGHISTOACTION_H_ |
#define TRKDEDXVSRIGHISTOACTION_H_ |
| 15 |
|
|
| 16 |
|
/*! @brief An action that fills a TRK dE/dx Vs rigidity histogram. */ |
| 17 |
class TrkDedxVsRigHistoAction: public CollectionAction { |
class TrkDedxVsRigHistoAction: public CollectionAction { |
| 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 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 |
| 25 |
* in ROOT's reference guide). |
* in ROOT's reference guide). |
| 26 |
|
* @param logBinningR If true, the rigidity axis will be binned logarithmically. |
| 27 |
* @param minDedx The lower limit for dE/dx axis (in MIP). |
* @param minDedx The lower limit for dE/dx axis (in MIP). |
| 28 |
* @param maxdEdx The upper limit for dE/dx axis (in MIP). |
* @param maxDedx The upper limit for dE/dx axis (in MIP). |
| 29 |
* @param nBinsDedx The number of dE/dx bins. |
* @param nBinsDedx The number of dE/dx bins. |
| 30 |
* @param minR The lower limit for rigidity axis (in GV). |
* @param minR The lower limit for rigidity axis (in GV). |
| 31 |
* @param maxR The upper limit for rigidity axis (in GV). |
* @param maxR The upper limit for rigidity axis (in GV). |
| 32 |
* @param nBinsR The number of rigidity bins. |
* @param nBinsR The number of rigidity bins. |
| 33 |
*/ |
*/ |
| 34 |
TrkDedxVsRigHistoAction(const char *actionName, TString outFileName, TString mode = "UPDATE", float minDedx = 0., |
TrkDedxVsRigHistoAction(const char *actionName, TString outFileName, TString mode = "UPDATE", bool logBinningR = |
| 35 |
float maxDedx = 50., unsigned int nBinsDedx = 100, float minR = -100., float maxR = 100., unsigned int nBinsR = 100); |
false, float minDedx = 0., float maxDedx = 50., unsigned int nBinsDedx = 100, float minR = -100., float maxR = |
| 36 |
|
100., unsigned int nBinsR = 100); |
| 37 |
|
|
| 38 |
/*! @brief Destructor. */ |
/*! @brief Destructor. */ |
| 39 |
~TrkDedxVsRigHistoAction() { |
~TrkDedxVsRigHistoAction() { |