--- PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.h 2009/10/27 10:17:48 1.2 +++ PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.h 2009/10/29 17:49:07 1.4 @@ -145,8 +145,8 @@ /*! Fills the ROOT and the vector histogram. * - * @param value The value of the X coordinate associated to the event. - * @param value The value of the Y coordinate associated to the event. + * @param xValue The value of the X coordinate associated to the event. + * @param yValue The value of the Y coordinate associated to the event. * @param weight The weight which will be applied to the event. */ void Fill(double xValue, double yValue, double weight = 1.); @@ -273,6 +273,16 @@ _rootHisto = NULL; } +// Specializations for _CreateHistos(). See Histo2DAction.cpp +template<> +void Histo2DAction::_CreateHisto(); + +template<> +void Histo2DAction::_CreateHisto(); + +template<> +void Histo2DAction::_CreateHisto(); + template void Histo2DAction::_InitHistos() { @@ -325,6 +335,9 @@ template Histo2DAction::~Histo2DAction() { + + delete _rootHisto; + _rootHisto = NULL; } template