CLHEP/StdHep/ConversionMethods.hh

00001 // $Id: ConversionMethods.hh,v 1.5 2002/05/30 23:53:27 garren Exp $
00002 // ----------------------------------------------------------------------
00003 //
00004 // ConversionMethods.hh
00005 // L. Garren
00006 //
00007 //  defines various free functions:
00008 //           build StdEvent from HEPEVT, and vice-versa
00009 //  printVersion defined here
00010 //
00011 // user code:
00012 //   CBcm * tmp = CBcm::instance();
00013 //   tmp->stdcm1()->nhep;
00014 // ----------------------------------------------------------------------
00015 #ifndef CONVERSIONMETHODS_HH
00016 #define CONVERSIONMETHODS_HH
00017 
00018 #include "CLHEP/config/CLHEP.h"
00019 #include "CLHEP/config/iostream.h"
00020 
00021 #include "CLHEP/StdHep/StdRunInfoConvert.hh"
00022 #include "CLHEP/StdHep/StdEventConvert.hh"
00023 #include "CLHEP/StdHep/CBcm.hh"
00024 #include "CLHEP/StdHep/CBstdhep.hh"
00025 #include "CLHEP/HepMC/CBInterface.h"
00026 
00027 namespace StdHep {
00028 
00034 typedef  StdEventConvert<CBstdhep>    ConvertStdHep;
00035 typedef  HepMC::CBInterface<CBstdhep> FIstdhep;
00036 typedef  HepMC::CBInterface<CBcm>     FIcm;
00037 
00038 } // StdHep
00039 
00040 #endif // CONVERSIONMETHODS_HH

Class Library for High Energy Physics (version 1.8)