--- PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.h 2009/10/27 10:17:46 1.2 +++ PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.h 2009/10/29 17:49:07 1.3 @@ -154,6 +154,15 @@ // No ROOT histogram for generic type; see template specializations in .cpp file. _rootHisto = NULL; } +// Specializations for _CreateHistos(). See Histo1DAction.cpp +template<> +void Histo1DAction::_CreateHisto(); + +template<> +void Histo1DAction::_CreateHisto(); + +template<> +void Histo1DAction::_CreateHisto(); template void Histo1DAction::_InitHistos() { @@ -183,6 +192,10 @@ template Histo1DAction::~Histo1DAction() { + + delete _rootHisto; + _rootHisto = NULL; + } template