| # Gaudi Framework, version v21r6 |

Home |  | Generated: 11 Nov 2009

# RHistogramCnv.cpp

Go to the documentation of this file.

    00001 // $Id: RHistogramCnv.cpp,v 1.3 2007/07/16 13:37:52 hmd Exp $
    00002 #include "RHistogramCnv.h"
    00003 #include "GaudiKernel/CnvFactory.h"
    00004
    00005 #include "TProfile.h"
    00006 #include "AIDA/IProfile1D.h"
    00007 namespace RootHistCnv {
    00008   typedef RHistogramCnv<TProfile,TProfile,Gaudi::HistogramBase> RootHistCnvP1DCnv;
    00009   template<> const CLID& RootHistCnvP1DCnv::classID()     { return CLID_ProfileH;    }
    00010   DECLARE_CONVERTER_FACTORY(RootHistCnvP1DCnv);
    00011 }
    00012
    00013 #include "TProfile2D.h"
    00014 #include "AIDA/IProfile2D.h"
    00015 namespace RootHistCnv {
    00016   typedef RHistogramCnv<TProfile2D,TProfile2D,Gaudi::HistogramBase> RootHistCnvP2DCnv;
    00017   template<> const CLID& RootHistCnvP2DCnv::classID()     { return CLID_ProfileH2;    }
    00018   DECLARE_CONVERTER_FACTORY(RootHistCnvP2DCnv);
    00019 }
    00020
    00021 #include "TH1D.h"
    00022 #include "AIDA/IHistogram1D.h"
    00023 namespace RootHistCnv {
    00024   typedef RHistogramCnv<TH1D,TH1,Gaudi::HistogramBase> RootHistCnvH1DCnv;
    00025   template<> const CLID& RootHistCnvH1DCnv::classID()     { return CLID_H1D;         }
    00026   DECLARE_CONVERTER_FACTORY(RootHistCnvH1DCnv);
    00027 }
    00028
    00029 #include "TH2D.h"
    00030 #include "AIDA/IHistogram2D.h"
    00031 namespace RootHistCnv {
    00032   typedef RHistogramCnv<TH2D,TH2,Gaudi::HistogramBase> RootHistCnvH2DCnv;
    00033   template<> const CLID& RootHistCnvH2DCnv::classID()     { return CLID_H2D;         }
    00034   DECLARE_CONVERTER_FACTORY(RootHistCnvH2DCnv);
    00035 }
    00036
    00037 #include "TH3D.h"
    00038 #include "AIDA/IHistogram3D.h"
    00039 namespace RootHistCnv {
    00040   typedef RootHistCnv::RHistogramCnv<TH3D,TH3,Gaudi::HistogramBase> RootHistCnvH3DCnv;
    00041   template<> const CLID& RootHistCnvH3DCnv::classID()     { return CLID_H3D;         }
    00042   DECLARE_CONVERTER_FACTORY(RootHistCnvH3DCnv);
    00043 }