Belle II Software  release-08-01-10
StepInformation Struct Reference

Simple struct to keep information about steps in the sensitive detector. More...

#include <SensorTraversal.h>

Public Member Functions

 StepInformation (const G4ThreeVector &stepPosition, const G4ThreeVector &stepMomentum, double stepElectrons, double stepTime, double stepLength)
 Construct a new instance. More...
 

Public Attributes

G4ThreeVector position
 Step position.
 
G4ThreeVector momentum
 Step momentum.
 
double electrons
 Number of deposited electrons.
 
double time {0}
 timestamp of the step
 
double length {0}
 length of the track
 

Detailed Description

Simple struct to keep information about steps in the sensitive detector.

We use this to keep the step position and energy information to produce consolidated SimHits

Definition at line 25 of file SensorTraversal.h.

Constructor & Destructor Documentation

◆ StepInformation()

StepInformation ( const G4ThreeVector &  stepPosition,
const G4ThreeVector &  stepMomentum,
double  stepElectrons,
double  stepTime,
double  stepLength 
)
inline

Construct a new instance.

Parameters
stepPositionstep position
stepMomentumstep momentum
stepElectronsnumber of created electrons
stepTimeglobal time the step occured
stepLengthstep length

Definition at line 33 of file SensorTraversal.h.

34  :
35  position(stepPosition), momentum(stepMomentum), electrons(stepElectrons), time(stepTime), length(stepLength) {}
G4ThreeVector momentum
Step momentum.
double electrons
Number of deposited electrons.
G4ThreeVector position
Step position.
double length
length of the track
double time
timestamp of the step

The documentation for this struct was generated from the following file: