Belle II Software  release-05-02-19
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 27 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
posstep position
momstep momentum
electronsnumber of created electrons
timeglobal time the step occured

Definition at line 34 of file SensorTraversal.h.


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