Monte Carlo LYSO
Geant4 simulation for the LYSO calorimeter prototype
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MySteppingAction Class Reference

User action concrete class of G4UserSteppingAction. It defines procedures to be executed for every step. More...

#include <stepping.hh>

Inheritance diagram for MySteppingAction:
Inheritance graph
[legend]
Collaboration diagram for MySteppingAction:
Collaboration graph
[legend]

Public Member Functions

 MySteppingAction (MyEventAction *eventAction)
 Constructor of the class. More...
 
 ~MySteppingAction () override=default
 Destructor of the class.
 
void UserSteppingAction (const G4Step *step) override
 For every step updates and stores quantities about the physics inside the crystal by calling the methods of MyEventAction. More...
 

Private Member Functions

void SteppingForLuDecayBulkSignature (const G4Step *step, G4LogicalVolume *volume, const MyDetectorConstruction *detectorConstruction)
 
void SteppingForCosmicRaysDetectors (const G4Step *step, G4LogicalVolume *volume, const MyDetectorConstruction *detectorConstruction)
 
void SetTimeOfDecay (const G4Step *step)
 

Private Attributes

MyEventActionfEventAction
 Pointer to the MyEventAction object.
 

Detailed Description

User action concrete class of G4UserSteppingAction. It defines procedures to be executed for every step.

Definition at line 18 of file stepping.hh.

Constructor & Destructor Documentation

◆ MySteppingAction()

MySteppingAction::MySteppingAction ( MyEventAction eventAction)

Constructor of the class.

Parameters
eventActionPointer to a MyEventAction object, necessary for updating and storing data of the event.

Definition at line 7 of file stepping.cc.

Member Function Documentation

◆ UserSteppingAction()

void MySteppingAction::UserSteppingAction ( const G4Step *  step)
override

For every step updates and stores quantities about the physics inside the crystal by calling the methods of MyEventAction.

Parameters
stepPointer to the G4Step object.

Definition at line 12 of file stepping.cc.


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