--- PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.h 2009/12/08 17:37:25 1.4 +++ PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.h 2010/03/23 17:27:38 1.6 @@ -134,16 +134,20 @@ /*! @brief The ROOT histogram. */ TH1 *_rootHisto; -private: - - unsigned int _underflow, _overflow; - + /*! @brief Base name of the output file. */ TString _outFileBase; + /*! @brief Output file open mode (UPDATE or RECREATE, see documentation of TFile). */ TString _mode; - TString _title, _xLabel; + /*! @brief Title for the ROOT histogram. */ + TString _title; + /*! @brief Axis labels for the ROOT histogram. */ + TString _xLabel; + +private: + + HistoType _underflow, _overflow; bool _outRoot; bool _outText; - void _CreateHisto(); void _InitHistos(); }; @@ -204,7 +208,7 @@ Histo1DAction::Histo1DAction(const char *actionName, TString title, TString outFileBase, TString mode, bool outRoot, bool outText) : CollectionAction(actionName), _bins(0), _histo(0), _rootHisto(NULL), _outFileBase(outFileBase), _mode(mode), _title( - title), _xLabel(""), _outRoot(outRoot), _outText(outText) { + title), _xLabel(""), _underflow(0), _overflow(0), _outRoot(outRoot), _outText(outText) { }