73#ifndef compTrackPerID__
74#define compTrackPerID__
178 fWatchedTimes.insert(time);
185 fMaxTimeStep = maxTimeStep;
226 G4bool fUseDefaultTimeSteps;
227 double fTimeTolerance;
229 double fTmpGlobalTime;
233 double fPreviousTimeStep;
235 int fMaxNZeroTimeStepsAllowed;
241 bool fUsePreDefinedTimeSteps;
242 double fDefaultMinTimeStep;
243 std::map<double, double>* fpUserTimeSteps;
245 mutable double fUserUpperTimeLimit;
246 double fDefinedMinTimeStep;
248 bool fReachedUserTimeLimit;
250 std::set<double> fWatchedTimes;
271 bool fInteractionStep;
289 return fpModelHandler;
294 fEndTime = __endtime;
300 fUsePreDefinedTimeSteps =
true;
301 fpUserTimeSteps = steps;
306 if (fpUserTimeSteps == 0)
308 fpUserTimeSteps =
new std::map<double, double>();
309 fUsePreDefinedTimeSteps =
true;
312 (*fpUserTimeSteps)[startingTime] = timeStep;
322 fMaxSteps = maxSteps;
347 fDefaultMinTimeStep = timeStep;
358 fpUserTimeStepAction = userITAction;
363 return fpUserTimeStepAction;
379 fMaxNZeroTimeStepsAllowed = maxTimeStepAllowed;
384 return fMaxNZeroTimeStepsAllowed;
389 fTimeTolerance = time;
394 return fTimeTolerance;
399 return fPreviousTimeStep;
404 return fITStepStatus;
414 return fpTrackingInteractivity;
429 fWhyDoYouStop =
true;
434 fUseDefaultTimeSteps = flag;
439 return (fUseDefaultTimeSteps ==
false && fUsePreDefinedTimeSteps ==
false);
void SetTimeSteps(std::map< double, double > *)
void SetTimeTolerance(double)
void AddWatchedTime(double time)
virtual void RegisterModel(G4VITStepModel *, double)
void SetEndTime(const double)
virtual G4bool Notify(G4ApplicationState requestedState)
void FindUserPreDefinedTimeStep()
void SetMaxZeroTimeAllowed(int)
void ForceReinitialization()
int GetMaxZeroTimeAllowed() const
void SetMaxNbSteps(G4int)
G4UserTimeStepAction * GetUserTimeStepAction() const
void SetInteractivity(G4ITTrackingInteractivity *)
void SetMaxTimeStep(double maxTimeStep)
void SetUserAction(G4UserTimeStepAction *)
double GetNextWatchedTime() const
G4int GetMaxNbSteps() const
double GetMaxTimeStep() const
static G4Scheduler * Instance()
G4ITModelHandler * GetModelHandler()
G4ITStepStatus GetStatus() const
G4double GetEndTime() const
G4bool AreDefaultTimeStepsUsed()
G4double GetPreviousTimeStep() const
virtual size_t GetNTracks()
G4double GetGlobalTime() const
double GetLimitingTimeStep() const
void SetDefaultTimeStep(double)
G4ITTrackingInteractivity * GetInteractivity()
void GetCollisionType(G4String &interactionType)
void AddTimeStep(double, double)
static void DeleteInstance()
G4double GetStartTime() const
virtual G4double GetTimeStep() const
double GetTimeTolerance() const
void UseDefaultTimeSteps(G4bool)
bool operator()(G4Track *rhs, G4Track *lhs) const