Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

CalXtalRespRandom Class Reference

Gaudi Tool to flag that package uses CLHEP random numbers. More...

List of all members.

Public Member Functions

 CalXtalRespRandom (const std::string &type, const std::string &name, const IInterface *parent)


Detailed Description

Gaudi Tool to flag that package uses CLHEP random numbers.

This tool inherits from the RandomAccess tool in GlastSvc. It's purpose is to flag that shared libraries built by this package uses a private copy of the CLHEP random number generator. The GlastRandomSvc service looks for instances of tools that inherit from RandomAccess on startup. If it finds an instance it sets the the CLHEP random engine type and gets the address of the CLHEP random engine for that shared library. GlastRandomSvc uses the address to set the random seed for that engine (currently on a per event basis)

Authors:
Toby Burnett, Karl Young

Definition at line 29 of file CalXtalRespRandom.cxx.


Constructor & Destructor Documentation

CalXtalRespRandom::CalXtalRespRandom const std::string &  type,
const std::string &  name,
const IInterface *  parent
[inline]
 

Definition at line 31 of file CalXtalRespRandom.cxx.

00032                                         :RandomAccess(type,name,parent) {}


The documentation for this class was generated from the following file:
Generated on Mon Dec 1 13:29:52 2008 by doxygen 1.3.3