/[PAMELA software]/PamCut/CollectionActions/Histo1DActions/TofRigPHistoAction/TofRigPHistoAction.h
ViewVC logotype

Diff of /PamCut/CollectionActions/Histo1DActions/TofRigPHistoAction/TofRigPHistoAction.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Mon Jan 18 16:28:28 2010 UTC revision 1.2 by pam-fi, Tue Mar 23 17:27:31 2010 UTC
# Line 28  public: Line 28  public:
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    }    }
# Line 46  private: Line 55  private:
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_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23