HROOT-0.5.0.0: csrc/addon.cpp
#include "HROOT.h"
#include "addon.h"
#include "TF1.h"
#include "TCanvas.h"
#include "TH1F.h"
using namespace std;
template<class ToType, class FromType>
const ToType* to_const(const FromType* x) {
return reinterpret_cast<const ToType*>(x);
}
template<class ToType, class FromType>
ToType* to_nonconst(FromType* x) {
return reinterpret_cast<ToType*>(x);
}
// New Functions : I will automate them later .