74 #ifndef compTrackPerID__
75 #define compTrackPerID__
179 fWatchedTimes.insert(time);
186 fMaxTimeStep = maxTimeStep;
196 return fpTrackingManager;
232 G4bool fUseDefaultTimeSteps;
233 double fTimeTolerance;
235 double fTmpGlobalTime;
239 double fPreviousTimeStep;
241 int fMaxNZeroTimeStepsAllowed;
247 bool fUsePreDefinedTimeSteps;
248 double fDefaultMinTimeStep;
249 std::map<double, double>* fpUserTimeSteps;
251 mutable double fUserUpperTimeLimit;
252 double fDefinedMinTimeStep;
254 bool fReachedUserTimeLimit;
256 std::set<double> fWatchedTimes;
277 bool fInteractionStep;
295 return fpModelHandler;
300 fEndTime = __endtime;
306 fUsePreDefinedTimeSteps =
true;
307 fpUserTimeSteps = steps;
312 if (fpUserTimeSteps == 0)
314 fpUserTimeSteps =
new std::map<double, double>();
315 fUsePreDefinedTimeSteps =
true;
318 (*fpUserTimeSteps)[startingTime] = timeStep;
328 fMaxSteps = maxSteps;
353 fDefaultMinTimeStep = timeStep;
364 fpUserTimeStepAction = userITAction;
369 return fpUserTimeStepAction;
385 fMaxNZeroTimeStepsAllowed = maxTimeStepAllowed;
390 return fMaxNZeroTimeStepsAllowed;
395 fTimeTolerance = time;
400 return fTimeTolerance;
405 return fPreviousTimeStep;
410 return fITStepStatus;
420 return fpTrackingInteractivity;
435 fWhyDoYouStop =
true;
440 fUseDefaultTimeSteps = flag;
445 return (fUseDefaultTimeSteps ==
false && fUsePreDefinedTimeSteps ==
false);
G4UserTimeStepAction * GetUserTimeStepAction() const
virtual size_t GetNTracks()
void FindUserPreDefinedTimeStep()
double GetTimeTolerance() const
virtual G4bool Notify(G4ApplicationState requestedState)
double GetMaxTimeStep() const
G4double GetPreviousTimeStep() const
void AddWatchedTime(double time)
void SetEndTime(const double)
G4ITModelHandler * GetModelHandler()
void SetTimeTolerance(double)
G4double GetStartTime() const
static G4Scheduler * Instance()
G4bool AreDefaultTimeStepsUsed()
double GetLimitingTimeStep() const
void ForceReinitialization()
void SetUserAction(G4UserTimeStepAction *)
void SetDefaultTimeStep(double)
static void DeleteInstance()
void SetMaxNbSteps(G4int)
double GetNextWatchedTime() const
void SetMaxTimeStep(double maxTimeStep)
G4int GetMaxNbSteps() const
virtual void RegisterModel(G4VITStepModel *, double)
void SetTimeSteps(std::map< double, double > *)
G4double GetEndTime() const
G4double GetGlobalTime() const
virtual G4double GetTimeStep() const
void SetMaxZeroTimeAllowed(int)
int GetMaxZeroTimeAllowed() const
void SetInteractivity(G4ITTrackingInteractivity *)
void GetCollisionType(G4String &interactionType)
bool operator()(G4Track *rhs, G4Track *lhs) const
G4ITTrackingManager * GetTrackingManager() const
void UseDefaultTimeSteps(G4bool)
G4ITTrackingInteractivity * GetInteractivity()
void AddTimeStep(double, double)
G4ITStepStatus GetStatus() const