CLHEP/StdHep/CBcm.hh

00001 // $Id: CBcm.hh,v 1.1 2002/05/30 23:53:18 garren Exp $
00002 // ----------------------------------------------------------------------
00003 // CBcm.hh
00004 // ----------------------------------------------------------------------
00005 // Author:  Lynn Garren, Marc Paterno,
00006 // 
00007 // This is the Fortran interface to the stdcm1 common block
00008 // Do not attempt to use stdcm1_ directly.
00009 //
00010 // ----------------------------------------------------------------------
00011 #ifndef CBCM_HH
00012 #define CBCM_HH
00013 
00014 #include "CLHEP/StdHep/include/stdcm1.h"
00015 
00016 namespace StdHep  {
00017 
00022 class CBcm {
00023 
00024 public:
00025 
00026   CBcm() : cptr1( & stdcm1_ ), cptr2( & stdcm2_ ) { ; }
00027 
00028   stdcm1_t * stdcm1() { return cptr1; }
00029   stdcm2_t * stdcm2() { return cptr2; }
00030 
00031 private:
00032 
00033   stdcm1_t * cptr1;
00034   stdcm2_t * cptr2;
00035 
00036 };      // CBcm
00037 
00038 }       // StdHep
00039 
00040 #endif // CBCM_HH

Class Library for High Energy Physics (version 1.8)