Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
WLSActionInitialization Class Reference

#include <WLSActionInitialization.hh>

Inheritance diagram for WLSActionInitialization:
Collaboration diagram for WLSActionInitialization:

Public Member Functions

 WLSActionInitialization (WLSDetectorConstruction *)
 
virtual ~WLSActionInitialization ()
 
virtual void BuildForMaster () const
 
virtual void Build () const
 
virtual G4VSteppingVerboseInitializeSteppingVerbose () const
 
- Public Member Functions inherited from G4VUserActionInitialization
 G4VUserActionInitialization ()
 
virtual ~G4VUserActionInitialization ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUserActionInitialization
void SetUserAction (G4VUserPrimaryGeneratorAction *) const
 
void SetUserAction (G4UserRunAction *) const
 
void SetUserAction (G4UserEventAction *) const
 
void SetUserAction (G4UserStackingAction *) const
 
void SetUserAction (G4UserTrackingAction *) const
 
void SetUserAction (G4UserSteppingAction *) const
 

Detailed Description

Action initialization class.

Definition at line 45 of file WLSActionInitialization.hh.

Constructor & Destructor Documentation

WLSActionInitialization::WLSActionInitialization ( WLSDetectorConstruction det)

Definition at line 46 of file WLSActionInitialization.cc.

47  : G4VUserActionInitialization(), fDetector(det)
48 {
49 }
WLSActionInitialization::~WLSActionInitialization ( )
virtual

Definition at line 53 of file WLSActionInitialization.cc.

54 {
55 }

Member Function Documentation

void WLSActionInitialization::Build ( void  ) const
virtual

Implements G4VUserActionInitialization.

Definition at line 66 of file WLSActionInitialization.cc.

67 {
69 
70  WLSRunAction* runAction = new WLSRunAction();
71  WLSEventAction* eventAction = new WLSEventAction(runAction);
72 
73  SetUserAction(runAction);
74  SetUserAction(eventAction);
76  SetUserAction(new WLSSteppingAction(fDetector));
78 }
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:

void WLSActionInitialization::BuildForMaster ( void  ) const
virtual

Reimplemented from G4VUserActionInitialization.

Definition at line 59 of file WLSActionInitialization.cc.

60 {
62 }
void SetUserAction(G4VUserPrimaryGeneratorAction *) const

Here is the call graph for this function:

G4VSteppingVerbose * WLSActionInitialization::InitializeSteppingVerbose ( ) const
virtual

Reimplemented from G4VUserActionInitialization.

Definition at line 82 of file WLSActionInitialization.cc.

83 {
84  return new WLSSteppingVerbose();
85 }

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