@@ -128,10 +128,10 @@ class TRestGeant4Metadata : public TRestMetadata {
128
128
Long64_t fNRequestedEntries = 0 ;
129
129
130
130
// / \brief Time before simulation is ended and saved
131
- Int_t fSimulationMaxTimeSeconds = 0 ;
131
+ Double_t fSimulationMaxTimeSeconds = 0 ;
132
132
133
133
// / \brief The time, in seconds, that the simulation took to complete.
134
- Long64_t fSimulationTime = 0 ;
134
+ Double_t fSimulationTime = 0 ;
135
135
136
136
// / \brief The seed value used for Geant4 random event generator.
137
137
// / If it is zero its value will be assigned using the system timestamp.
@@ -260,7 +260,7 @@ class TRestGeant4Metadata : public TRestMetadata {
260
260
261
261
inline Int_t GetSimulationMaxTimeSeconds () const { return fSimulationMaxTimeSeconds ; }
262
262
263
- inline Long64_t GetSimulationTime () const { return fSimulationTime ; }
263
+ inline Double_t GetSimulationTime () const { return fSimulationTime ; }
264
264
265
265
// Direct access to sources definition in primary generator
266
266
// /////////////////////////////////////////////////////////
@@ -301,7 +301,7 @@ class TRestGeant4Metadata : public TRestMetadata {
301
301
302
302
inline void SetNumberOfRequestedEntries (Long64_t n) { fNRequestedEntries = n; }
303
303
304
- inline void SetSimulationMaxTimeSeconds (Int_t seconds) { fSimulationMaxTimeSeconds = seconds; }
304
+ inline void SetSimulationMaxTimeSeconds (Double_t seconds) { fSimulationMaxTimeSeconds = seconds; }
305
305
306
306
// / Sets the name of the sensitive volume
307
307
inline void InsertSensitiveVolume (const TString& volume) {
@@ -384,7 +384,7 @@ class TRestGeant4Metadata : public TRestMetadata {
384
384
385
385
void SetActiveVolume (const TString& name, Double_t chance, Double_t maxStep = 0 );
386
386
387
- void SetSimulationTime (Long64_t time) { fSimulationTime = time; }
387
+ void SetSimulationTime (Double_t time) { fSimulationTime = time; }
388
388
389
389
void PrintMetadata () override ;
390
390
@@ -398,7 +398,7 @@ class TRestGeant4Metadata : public TRestMetadata {
398
398
TRestGeant4Metadata (const TRestGeant4Metadata& metadata);
399
399
TRestGeant4Metadata& operator =(const TRestGeant4Metadata& metadata);
400
400
401
- ClassDefOverride (TRestGeant4Metadata, 16 );
401
+ ClassDefOverride (TRestGeant4Metadata, 17 );
402
402
403
403
// Allow modification of otherwise inaccessible / immutable members that shouldn't be modified by the user
404
404
friend class SteppingAction ;
0 commit comments