--- PamCut/CollectionActions/ChargeHistosAction/ChargeHistosAction.h 2009/05/29 10:08:44 1.1 +++ PamCut/CollectionActions/ChargeHistosAction/ChargeHistosAction.h 2009/06/08 10:37:22 1.2 @@ -47,8 +47,10 @@ * * @param actionName The action's name. * @param outFileName The output ROOT file name. + * @param mode The mode of file creation (see documentation of TFile constructor + * in ROOT's reference guide) */ - ChargeHistosAction(const char *actionName, TString outFileName); + ChargeHistosAction(const char *actionName, TString outFileName, TString mode = "UPDATE"); /*! @brief Destructor. */ ~ChargeHistosAction(); @@ -103,6 +105,7 @@ #endif TString _outFileName; + TString _mode; };