| 28 |
* @param outText If true, the output file in text format will be produced. |
* @param outText If true, the output file in text format will be produced. |
| 29 |
* in ROOT's reference guide). |
* in ROOT's reference guide). |
| 30 |
* @param title The ROOT histogram title. |
* @param title The ROOT histogram title. |
| 31 |
|
* @param trackTof Pointer to an Int_t variable whic stores the number of the Tof Track to be used to compute |
| 32 |
|
* beta. If NULL the standalone track will be used. |
| 33 |
|
* @param resMax See documentation for ToFLevel2::CalcBeta. Default: 10. (equivalent to beta[12]) |
| 34 |
|
* @param qualCut See documentation for ToFLevel2::CalcBeta. Default: 10. (equivalent to beta[12]) |
| 35 |
|
* @param chi2Cut See documentation for ToFLevel2::CalcBeta. Default: 20. (equivalent to beta[12]) |
| 36 |
*/ |
*/ |
| 37 |
TofRigPHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE", bool outRoot = true, bool outText = true, TString title = "Rigidity modulus", Int_t *trackTof=NULL, Float_t resMax=10., Float_t qualCut=10., Float_t chi2Cut=20.): |
TofRigPHistoAction(const char *actionName, TString outFileBase = "", TString mode = "UPDATE", bool outRoot = true, |
| 38 |
Histo1DAction<Float_t> (actionName, title, outFileBase, mode, outRoot, outText), _trackTof(trackTof), _resMax(resMax), _qualCut(qualCut), _chi2Cut(chi2Cut) {} |
bool outText = true, TString title = "Rigidity modulus", Int_t *trackTof = NULL, Float_t resMax = 10., |
| 39 |
|
Float_t qualCut = 10., Float_t chi2Cut = 20.) : |
| 40 |
|
Histo1DAction<Float_t> (actionName, title, outFileBase, mode, outRoot, outText), _trackTof(trackTof), _resMax( |
| 41 |
|
resMax), _qualCut(qualCut), _chi2Cut(chi2Cut) { |
| 42 |
|
} |
| 43 |
|
|
| 44 |
/*! @brief Destructor */ |
/*! @brief Destructor */ |
| 45 |
~TofRigPHistoAction() { |
~TofRigPHistoAction() { |
| 46 |
} |
} |
| 55 |
|
|
| 56 |
Int_t *_trackTof; |
Int_t *_trackTof; |
| 57 |
Float_t _resMax, _qualCut, _chi2Cut; |
Float_t _resMax, _qualCut, _chi2Cut; |
| 58 |
|
|
| 59 |
}; |
}; |
| 60 |
|
|
| 61 |
#endif /* TOFRIGPHISTOACTION_H_ */ |
#endif /* TOFRIGPHISTOACTION_H_ */ |