Page MenuHomeHEPForge

EvtRanf.cpp
No OneTemporary

Size
783 B
Referenced Files
None
Subscribers
None

EvtRanf.cpp

//--------------------------------------------------------------------------
// File and Version Information:
// $Id: EvtRanf.cpp,v 1.5 2009-03-16 15:44:04 robbep Exp $
//
// Description:
// subroutine evtranf_.
// Provides FORTRAN calable interface to EvtRandom::Flat()
// Can be used as EVTRANF instead of RANF in FORTRAN programs
// or as evtranf_ instead of ranf_ in C/C++ programs.
// No header file is provided, as C++ programs should use EvtRandom
//
//
//------------------------------------------------------------------------
#include "EvtGenBase/EvtRandom.hh"
#ifdef WIN32
extern "C" {
double __stdcall EVTRANF( )
{
return EvtRandom::Flat() ;
}
}
#else
extern "C" {
double evtranf_( )
{
return EvtRandom::Flat() ;
}
}
#endif

File Metadata

Mime Type
text/x-c
Expires
Tue, Sep 30, 4:48 AM (11 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6492640
Default Alt Text
EvtRanf.cpp (783 B)

Event Timeline