Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Par02EventInformation Class Reference

Event information. More...

#include <Doxymodules_parameterisations.h>

Inheritance diagram for Par02EventInformation:
G4VUserEventInformation

Public Member Functions

 Par02EventInformation ()
 A default constructor. Sets flag fDoSmearing to true.
 
 Par02EventInformation (G4bool aSmear)
 A constructor.
 
virtual ~Par02EventInformation ()
 
virtual void Print () const
 Prints event information.
 
void SetDoSmearing (G4bool aSmear)
 Sets the flag indicating if smearing should be done.
 
G4bool GetDoSmearing ()
 Gets the flag indicating if smearing should be done.
 

Private Attributes

G4bool fDoSmearing
 A flag indicating if smearing should be performed.
 

Detailed Description

Event information.

Describes the information that can be associated with a G4Event class object.

Author
Anna Zaborowska

Definition at line 40 of file Doxymodules_parameterisations.h.

Constructor & Destructor Documentation

◆ Par02EventInformation() [1/2]

Par02EventInformation::Par02EventInformation ( )

A default constructor. Sets flag fDoSmearing to true.

Definition at line 34 of file Par02EventInformation.cc.

34: fDoSmearing( true ) {}
G4bool fDoSmearing
A flag indicating if smearing should be performed.

◆ Par02EventInformation() [2/2]

Par02EventInformation::Par02EventInformation ( G4bool  aSmear)

A constructor.

Parameters
aSmearThe flag indicating if smearing should be done.

Definition at line 38 of file Par02EventInformation.cc.

38: fDoSmearing( aSmear ) {}

◆ ~Par02EventInformation()

Par02EventInformation::~Par02EventInformation ( )
virtualdefault

Member Function Documentation

◆ Print()

void Par02EventInformation::Print ( ) const
virtual

Prints event information.

Definition at line 58 of file Par02EventInformation.cc.

58 {
59 G4cout << "Par02EventInformation: " << G4endl
60 << "do smearing: " << fDoSmearing << G4endl;
61}

◆ SetDoSmearing()

void Par02EventInformation::SetDoSmearing ( G4bool  aSmear)

Sets the flag indicating if smearing should be done.

Parameters
aSmearA boolean flag.

Definition at line 46 of file Par02EventInformation.cc.

46 {
47 fDoSmearing = aSmear;
48}

◆ GetDoSmearing()

G4bool Par02EventInformation::GetDoSmearing ( )

Gets the flag indicating if smearing should be done.

Definition at line 52 of file Par02EventInformation.cc.

52 {
53 return fDoSmearing;
54}

Member Data Documentation

◆ fDoSmearing

G4bool Par02EventInformation::fDoSmearing
private

A flag indicating if smearing should be performed.

It is read by implementations of G4VFastSimulationModel.

Definition at line 67 of file Par02EventInformation.hh.


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

Applications | User Support | Publications | Collaboration