LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
evgb::RNGWrapper< T > Class Template Reference

#include "CRYHelper.h"

Static Public Member Functions

static void set (T *object, double(T::*func)(void))
 
static double rng (void)
 

Static Private Attributes

static T * m_obj
 
static double(T::* m_func )(void)
 

Detailed Description

template<class T>
class evgb::RNGWrapper< T >

Definition at line 71 of file CRYHelper.h.

Member Function Documentation

template<class T >
double evgb::RNGWrapper< T >::rng ( void  )
static

Definition at line 88 of file CRYHelper.h.

88 { return (m_obj->*m_func)(); }
static T * m_obj
Definition: CRYHelper.h:76
static double(T::* m_func)(void)
Definition: CRYHelper.h:77
template<class T >
void evgb::RNGWrapper< T >::set ( T *  object,
double(T::*)(void)  func 
)
static

Definition at line 84 of file CRYHelper.h.

Referenced by evgb::CRYHelper::CRYHelper().

84  {
85  m_obj = object; m_func = func;
86  }
static T * m_obj
Definition: CRYHelper.h:76
static double(T::* m_func)(void)
Definition: CRYHelper.h:77

Member Data Documentation

template<class T >
double(T::* evgb::RNGWrapper< T >::m_func) (void)
staticprivate

Definition at line 77 of file CRYHelper.h.

template<class T >
T * evgb::RNGWrapper< T >::m_obj
staticprivate

Definition at line 76 of file CRYHelper.h.


The documentation for this class was generated from the following file: