Geant4-11
Public Member Functions | Private Member Functions
G4WLSTimeGeneratorProfileExponential Class Reference

#include <G4WLSTimeGeneratorProfileExponential.hh>

Inheritance diagram for G4WLSTimeGeneratorProfileExponential:
G4VWLSTimeGeneratorProfile

Public Member Functions

 G4WLSTimeGeneratorProfileExponential (const G4String &name)
 
virtual G4double GenerateTime (const G4double time_constant) override
 
virtual G4double GenerateTime (const G4MaterialPropertiesTable *) override
 
virtual ~G4WLSTimeGeneratorProfileExponential ()
 

Private Member Functions

 G4WLSTimeGeneratorProfileExponential (const G4WLSTimeGeneratorProfileExponential &)=delete
 
G4WLSTimeGeneratorProfileExponentialoperator= (const G4WLSTimeGeneratorProfileExponential &right)=delete
 

Detailed Description

Definition at line 51 of file G4WLSTimeGeneratorProfileExponential.hh.

Constructor & Destructor Documentation

◆ G4WLSTimeGeneratorProfileExponential() [1/2]

G4WLSTimeGeneratorProfileExponential::G4WLSTimeGeneratorProfileExponential ( const G4String name)
explicit

Definition at line 52 of file G4WLSTimeGeneratorProfileExponential.cc.

55{}
G4VWLSTimeGeneratorProfile(const G4String &name)
const char * name(G4int ptype)

◆ ~G4WLSTimeGeneratorProfileExponential()

G4WLSTimeGeneratorProfileExponential::~G4WLSTimeGeneratorProfileExponential ( )
virtual

Definition at line 59 of file G4WLSTimeGeneratorProfileExponential.cc.

59{}

◆ G4WLSTimeGeneratorProfileExponential() [2/2]

G4WLSTimeGeneratorProfileExponential::G4WLSTimeGeneratorProfileExponential ( const G4WLSTimeGeneratorProfileExponential )
privatedelete

Member Function Documentation

◆ GenerateTime() [1/2]

G4double G4WLSTimeGeneratorProfileExponential::GenerateTime ( const G4double  time_constant)
overridevirtual

Implements G4VWLSTimeGeneratorProfile.

Definition at line 63 of file G4WLSTimeGeneratorProfileExponential.cc.

65{
66 return -std::log(G4UniformRand()) * time_constant;
67}
#define G4UniformRand()
Definition: Randomize.hh:52

References G4UniformRand.

◆ GenerateTime() [2/2]

G4double G4WLSTimeGeneratorProfileExponential::GenerateTime ( const G4MaterialPropertiesTable )
overridevirtual

Implements G4VWLSTimeGeneratorProfile.

Definition at line 69 of file G4WLSTimeGeneratorProfileExponential.cc.

71{
72 // This method is not currently in use
73 return 0.;
74}

◆ operator=()

G4WLSTimeGeneratorProfileExponential & G4WLSTimeGeneratorProfileExponential::operator= ( const G4WLSTimeGeneratorProfileExponential right)
privatedelete

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