Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19245082
EvtRanf.cpp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
783 B
Referenced Files
None
Subscribers
None
EvtRanf.cpp
View Options
//--------------------------------------------------------------------------
// 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
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 4:48 AM (8 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6492640
Default Alt Text
EvtRanf.cpp (783 B)
Attached To
Mode
rEVTGEN evtgen
Attached
Detach File
Event Timeline
Log In to Comment