/* * Histo1DAction.cpp * * Created on: 25/ago/2009 * Author: Nicola Mori */ /*! @file Histo1DAction.cpp The Histo1DAction class implementation file. */ #include "Histo1DAction.h" template<> void Histo1DAction::_CreateHisto() { _rootHisto = new TH1I(); } template<> void Histo1DAction::_CreateHisto() { _rootHisto = new TH1F(); } template<> void Histo1DAction::_CreateHisto() { _rootHisto = new TH1D(); } template<> Histo1DAction::~Histo1DAction() { TH1I *dummy = (TH1I*)_rootHisto; delete dummy; _rootHisto = NULL; } template<> Histo1DAction::~Histo1DAction() { TH1F *dummy = (TH1F*)_rootHisto; delete dummy; _rootHisto = NULL; } template<> Histo1DAction::~Histo1DAction() { TH1D *dummy = (TH1D*)_rootHisto; delete dummy; _rootHisto = NULL; }