--- PamCut/CollectionActions/FluxHistoAction/FluxHistoAction.h 2009/05/29 10:08:48 1.1 +++ PamCut/CollectionActions/FluxHistoAction/FluxHistoAction.h 2009/08/05 13:59:47 1.4 @@ -35,9 +35,12 @@ * * @param actionName The action's name. * @param outFileBase The output file base name. - * @param outOptions The file containing the rigidity bins + * @param rigBinsFile The file containing the rigidity bins. + * @param mode The mode of ROOT file creation (see documentation of TFile constructor + * in ROOT's reference guide). In current implementation the text file output + * does not support append. */ - FluxHistoAction(const char *actionName, TString outFileBase, TString rigBinsFile); + FluxHistoAction(const char *actionName, TString outFileBase, TString rigBinsFile, TString mode = "UPDATE"); /*! @brief Destructor */ ~FluxHistoAction() { @@ -52,7 +55,7 @@ /*! @brief Writes the histogram to the output files (ASCII and ROOT). * * The output consists of a text file and of a ROOT file where the 1-dimensional rigidity - * histogram (TH1F) is saved. The format of the text output is: (lower bin limit) (upper bin limit) (\# of events). + * histogram (TH1F) is saved. */ void Finalize(); @@ -62,6 +65,7 @@ vector _bins; TH1I _rootHisto; vector _textHisto; + TString _mode; #ifdef DEBUGPAMCUT int _outUp, _outDown;