/[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.4 by pam-fi, Tue Dec 8 17:37:25 2009 UTC revision 1.6 by pam-fi, Tue Mar 23 17:27:38 2010 UTC
# Line 134  protected: Line 134  protected:
134    /*! @brief The ROOT histogram. */    /*! @brief The ROOT histogram. */
135    TH1 *_rootHisto;    TH1 *_rootHisto;
136    
137  private:    /*! @brief Base name of the output file. */
   
   unsigned int _underflow, _overflow;  
   
138    TString _outFileBase;    TString _outFileBase;
139      /*! @brief Output file open mode (UPDATE or RECREATE, see documentation of TFile). */
140    TString _mode;    TString _mode;
141    TString _title, _xLabel;    /*! @brief Title for the ROOT histogram. */
142      TString _title;
143      /*! @brief Axis labels for the ROOT histogram. */
144      TString _xLabel;
145    
146    private:
147    
148      HistoType _underflow, _overflow;
149    bool _outRoot;    bool _outRoot;
150    bool _outText;    bool _outText;
   
151    void _CreateHisto();    void _CreateHisto();
152    void _InitHistos();    void _InitHistos();
153  };  };
# Line 204  template<class HistoType> Line 208  template<class HistoType>
208  Histo1DAction<HistoType>::Histo1DAction(const char *actionName, TString title, TString outFileBase, TString mode,  Histo1DAction<HistoType>::Histo1DAction(const char *actionName, TString title, TString outFileBase, TString mode,
209      bool outRoot, bool outText) :      bool outRoot, bool outText) :
210    CollectionAction(actionName), _bins(0), _histo(0), _rootHisto(NULL), _outFileBase(outFileBase), _mode(mode), _title(    CollectionAction(actionName), _bins(0), _histo(0), _rootHisto(NULL), _outFileBase(outFileBase), _mode(mode), _title(
211        title), _xLabel(""), _outRoot(outRoot), _outText(outText) {        title), _xLabel(""), _underflow(0), _overflow(0), _outRoot(outRoot), _outText(outText) {
212    
213  }  }
214    

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

  ViewVC Help
Powered by ViewVC 1.1.23