/[PAMELA software]/PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.h
ViewVC logotype

Diff of /PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.h

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

revision 1.2 by pam-fi, Tue Oct 27 10:17:48 2009 UTC revision 1.4 by pam-fi, Thu Oct 29 17:49:07 2009 UTC
# Line 145  public: Line 145  public:
145    
146    /*! Fills the ROOT and the vector histogram.    /*! Fills the ROOT and the vector histogram.
147     *     *
148     * @param value The value of the X coordinate associated to the event.     * @param xValue The value of the X coordinate associated to the event.
149     * @param value The value of the Y coordinate associated to the event.     * @param yValue The value of the Y coordinate associated to the event.
150     * @param weight The weight which will be applied to the event.     * @param weight The weight which will be applied to the event.
151     */     */
152    void Fill(double xValue, double yValue, double weight = 1.);    void Fill(double xValue, double yValue, double weight = 1.);
# Line 273  void Histo2DAction<HistoType>::_CreateHi Line 273  void Histo2DAction<HistoType>::_CreateHi
273    _rootHisto = NULL;    _rootHisto = NULL;
274  }  }
275    
276    // Specializations for _CreateHistos(). See Histo2DAction.cpp
277    template<>
278    void Histo2DAction<Int_t>::_CreateHisto();
279    
280    template<>
281    void Histo2DAction<Float_t>::_CreateHisto();
282    
283    template<>
284    void Histo2DAction<Double_t>::_CreateHisto();
285    
286  template<class HistoType>  template<class HistoType>
287  void Histo2DAction<HistoType>::_InitHistos() {  void Histo2DAction<HistoType>::_InitHistos() {
288    
# Line 325  void Histo2DAction<HistoType>::_InitHist Line 335  void Histo2DAction<HistoType>::_InitHist
335    
336  template<class HistoType>  template<class HistoType>
337  Histo2DAction<HistoType>::~Histo2DAction() {  Histo2DAction<HistoType>::~Histo2DAction() {
338    
339      delete _rootHisto;
340      _rootHisto = NULL;
341  }  }
342    
343  template<class HistoType>  template<class HistoType>

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

  ViewVC Help
Powered by ViewVC 1.1.23