70 fpUserTrackingAction = 0;
71 fpUserSteppingAction = 0;
96 if(fpUserTrackingAction != std_trackAct && fpUserTrackingAction)
97 delete fpUserTrackingAction;
101 if(fpUserSteppingAction != std_stepAct && fpUserSteppingAction)
102 delete fpUserSteppingAction;
106 if(fpUserSteppingAction)
108 delete fpUserSteppingAction;
111 if(fpUserTrackingAction)
113 delete fpUserTrackingAction;
135 TrackBanner(track,
"G4ITTrackingManager::StartTracking : ");
143 if( fpUserTrackingAction != 0 ) {
152 if(fStoreTrajectory&&(!trajectory_lock))
158 switch (fStoreTrajectory) {
164 trajectory_lock->fpTrajectory = trajectory;
193 if(fpUserSteppingAction)
213 trajectory_lock->fpTrajectory->
AppendStep(step);
224 TrackBanner(track,
"G4ITTrackingManager::EndTracking : ");
228 if( fpUserTrackingAction != 0 ) {
242 if(fStoreTrajectory && trajectory)
260 if (!trajectoryContainer)
265 trajectoryContainer->
insert(trajectory);
269 fTrajectories.push_back(trajectory);
274 else if( (!fStoreTrajectory)&&trajectory ) {
278 delete trajectory_lock;
286 for (std::vector<G4VTrajectory*>::iterator it = fTrajectories.begin();
287 it != fTrajectories.end(); it++)
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
Definition of the ITTrackingInteractivity class.
static G4VVisManager * GetConcreteInstance()
G4TrackStatus GetTrackStatus() const
virtual void UserSteppingAction(const G4Step *)
virtual void EndTracking(G4Track *)
G4TrajectoryContainer * GetTrajectoryContainer() const
G4Event * GetNonconstCurrentEvent()
G4IT * GetIT(const G4Track *track)
G4TrackingManager * GetTrackingManager() const
G4UserSteppingAction * GetUserSteppingAction()
virtual void StartTracking(G4Track *)
virtual void TrackBanner(G4Track *, const G4String &message="")
ITTrackingInteractivity()
G4bool insert(G4VTrajectory *p)
G4TrackingInformation * GetTrackingInfo()
virtual void AppendStep(G4Track *track, G4Step *step)
virtual void AppendStep(const G4Step *aStep)=0
virtual void Initialize()
G4UserTrackingAction * GetUserTrackingAction()
virtual void PostUserTrackingAction(const G4Track *)
static G4EventManager * GetEventManager()
G4int GetStoreTrajectory() const
virtual ~ITTrackingInteractivity()
G4int GetVerboseLevel() const
void SetTrajectoryContainer(G4TrajectoryContainer *value)
virtual void ShowTrajectory(std::ostream &os=G4cout) const
virtual void PreUserTrackingAction(const G4Track *)