19#ifndef BDSOUTPUTROOTEVENTCOLLIMATOR_H
20#define BDSOUTPUTROOTEVENTCOLLIMATOR_H
23#include "BDSOutputROOTEventCollimatorInfo.hh"
48 bool primaryInteracted;
52 std::vector<float> energyDeposited;
53 std::vector<float> xIn;
54 std::vector<float> yIn;
55 std::vector<float> zIn;
56 std::vector<float> xpIn;
57 std::vector<float> ypIn;
58 std::vector<float> zpIn;
60 std::vector<float> weight;
61 std::vector<int> partID;
62 std::vector<int> parentID;
63 std::vector<int> turn;
70 std::vector<float> impactParameterX;
71 std::vector<float> impactParameterY;
73 std::vector<bool> isIon;
74 std::vector<int> ionA;
75 std::vector<int> ionZ;
93 const std::pair<G4double, G4double>& differences,
95 void FillExtras(G4bool fillIonInfo,
106 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.