18#ifndef BDSOUTPUTROOTEVENTCOLLIMATOR_H
19#define BDSOUTPUTROOTEVENTCOLLIMATOR_H
22#include "BDSOutputROOTEventCollimatorInfo.hh"
47 bool primaryInteracted;
51 std::vector<float> energyDeposited;
52 std::vector<float> xIn;
53 std::vector<float> yIn;
54 std::vector<float> zIn;
55 std::vector<float> xpIn;
56 std::vector<float> ypIn;
57 std::vector<float> zpIn;
59 std::vector<float> weight;
60 std::vector<int> partID;
61 std::vector<int> parentID;
62 std::vector<int> turn;
69 std::vector<float> impactParameterX;
70 std::vector<float> impactParameterY;
72 std::vector<bool> isIon;
73 std::vector<int> ionA;
74 std::vector<int> ionZ;
92 const std::pair<G4double, G4double>& differences,
94 void FillExtras(G4bool fillIonInfo,
105 virtual void Flush();
Snapshot of information for particle passing through a collimator.
Data stored for each collimator in the model.
Data stored for each collimator per event.
std::vector< float > energy
Total energy of particle for each hit.
std::set< int > turnSet
Different length set of turn number.
std::vector< int > charge
These are not filled by default.
std::vector< float > mass
These are not filled by default.
virtual void Flush()
Flush this instance.
void SetPrimaryStopped(G4bool primaryStoppedIn)
Setter for one off flag per event.
std::vector< float > kineticEnergy
These are not filled by default.
std::vector< bool > firstPrimaryHitThisTurn
BDSOutputROOTEventCollimator()
Default constructor for ROOT.
double totalEnergyDeposited
Sum of energy deposits including weights.
std::vector< float > rigidity
These are not filled by default.
Geant4 particle data for particles used in simulation.