Public Member Functions | Private Attributes | List of all members
EDepSim::FixedCountGenerator Class Reference

#include <EDepSimFixedCountGenerator.hh>

Inheritance diagram for EDepSim::FixedCountGenerator:
EDepSim::VCountGenerator

Public Member Functions

 FixedCountGenerator (G4String name, int count, double intensity)
 
virtual ~FixedCountGenerator ()
 
int GetCount ()
 Return the number of events to generate. More...
 
- Public Member Functions inherited from EDepSim::VCountGenerator
 VCountGenerator (const G4String &name, double intensity)
 
virtual ~VCountGenerator ()
 
G4String GetName () const
 Return the name of the generator. More...
 
double GetIntensity () const
 

Private Attributes

int fCount
 The number of events to generate. More...
 

Detailed Description

Definition at line 7 of file EDepSimFixedCountGenerator.hh.

Constructor & Destructor Documentation

EDepSim::FixedCountGenerator::FixedCountGenerator ( G4String  name,
int  count,
double  intensity 
)

Definition at line 4 of file EDepSimFixedCountGenerator.cc.

EDepSim::FixedCountGenerator::~FixedCountGenerator ( )
virtual

Definition at line 9 of file EDepSimFixedCountGenerator.cc.

9 {}

Member Function Documentation

int EDepSim::FixedCountGenerator::GetCount ( )
virtual

Return the number of events to generate.

Implements EDepSim::VCountGenerator.

Definition at line 11 of file EDepSimFixedCountGenerator.cc.

11 {return fCount;}
int fCount
The number of events to generate.

Member Data Documentation

int EDepSim::FixedCountGenerator::fCount
private

The number of events to generate.

Definition at line 17 of file EDepSimFixedCountGenerator.hh.


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