CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
FUShmClient.cc File Reference
#include "EventFilter/ShmBuffer/bin/FUShmClient.h"
#include <iostream>
#include <cstdlib>
#include <unistd.h>

Go to the source code of this file.

Functions

double get_rnd ()
 

Function Documentation

double get_rnd ( )

Definition at line 89 of file FUShmClient.cc.

References rand(), and query::result.

Referenced by evf::FUShmClient::readNext().

90 {
91  double result=rand()/(double)RAND_MAX;
92  return result;
93 }
tuple result
Definition: query.py:137
Signal rand(Signal arg)
Definition: vlib.cc:442