/* * Histo2DAction.cpp * * Created on: 01/set/2009 * Author: Nicola Mori */ /*! @file Histo2DAction.cpp The Histo2DAction class implementation file. */ #include "Histo2DAction.h" template<> void Histo2DAction::_CreateHisto() { _rootHisto = new TH2I(); } template<> void Histo2DAction::_CreateHisto() { _rootHisto = new TH2F(); } template<> void Histo2DAction::_CreateHisto() { _rootHisto = new TH2D(); } template<> Histo2DAction::~Histo2DAction() { TH2I *dummy = (TH2I*)_rootHisto; delete dummy; _rootHisto = NULL; } template<> Histo2DAction::~Histo2DAction() { TH2F *dummy = (TH2F*)_rootHisto; delete dummy; _rootHisto = NULL; } template<> Histo2DAction::~Histo2DAction() { TH2D *dummy = (TH2D*)_rootHisto; delete dummy; _rootHisto = NULL; }