Belle II Software development
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.
 

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

Member Data Documentation

◆ electrons

double electrons

Number of deposited electrons.

Definition at line 41 of file SensorTraversal.h.

◆ length

double length {0}

length of the track

Definition at line 45 of file SensorTraversal.h.

◆ momentum

G4ThreeVector momentum

Step momentum.

Definition at line 39 of file SensorTraversal.h.

◆ position

G4ThreeVector position

Step position.

Definition at line 37 of file SensorTraversal.h.

◆ time

double time {0}

timestamp of the step

Definition at line 43 of file SensorTraversal.h.


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