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

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

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

revision 1.1 by pam-fi, Fri Sep 25 15:36:36 2009 UTC revision 1.2 by pam-fi, Tue Oct 27 10:17:46 2009 UTC
# Line 85  public: Line 85  public:
85    
86    /*! @brief Sets up the histogram    /*! @brief Sets up the histogram
87     *     *
88     * This routine effectively prepares the histogram, after the desired parameters has been set by #SetXAxis() and #SetYAxis().     * This routine effectively prepares the histogram, after the desired parameters has been set by #SetXAxis().
89     *     *
90     * @param events Pointer to PamLevel2 events (unused).     * @param events Pointer to PamLevel2 events (unused).
91     */     */
# Line 108  public: Line 108  public:
108      return _histo;      return _histo;
109    }    }
110    
111    /*! Fills the ROOT and the vector histogram. */    /*! Fills the ROOT and the vector histogram.
112       *
113       * @param value The value of the X coordinate associated to the event.
114       * @param weight The weight which will be applied to the event.
115       */
116    void Fill(double value, double weight = 1.);    void Fill(double value, double weight = 1.);
117    
118    /*! @brief The number of events which fell below the lower histogram limit. */    /*! @brief The number of events which fell below the lower histogram limit. */
# Line 123  public: Line 127  public:
127    
128  protected:  protected:
129    
130      /*! @brief The vector containing the limits of the bins(from lower to higher). */
131    std::vector<float> _bins;    std::vector<float> _bins;
132      /*! @brief A vector containing the value of the histogram for each bin. */
133    vector<HistoType> _histo;    vector<HistoType> _histo;
134      /*! @brief The ROOT histogram. */
135    TH1 *_rootHisto;    TH1 *_rootHisto;
136    
137  private:  private:

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

  ViewVC Help
Powered by ViewVC 1.1.23