/[PAMELA software]/PamCut/CollectionActions/TofDedxVsBetaHistoAction/TofDedxVsBetaHistoAction.h
ViewVC logotype

Diff of /PamCut/CollectionActions/TofDedxVsBetaHistoAction/TofDedxVsBetaHistoAction.h

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

revision 1.1 by pam-fi, Wed Aug 5 13:57:18 2009 UTC revision 1.2 by pam-fi, Fri Aug 14 10:34:02 2009 UTC
# Line 18  class TofDedxVsBetaHistoAction: public C Line 18  class TofDedxVsBetaHistoAction: public C
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.
# Line 33  public: Line 35  public:
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() {
# Line 65  private: Line 67  private:
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_ */

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

  ViewVC Help
Powered by ViewVC 1.1.23