Geant4  10.01.p03
G4TrackingInformation Class Reference

The class G4TrackingInformation (hold by G4IT) emcompasses processes informations computed at the PS/AS/AtRest/InteractionLength stage, and also, the selection of processes for the given step. More...

#include <G4TrackingInformation.hh>

+ Collaboration diagram for G4TrackingInformation:

Public Member Functions

 G4TrackingInformation ()
 
 ~G4TrackingInformation ()
 
bool IsLeadingStep ()
 If the track is the one having the minimum step time, then it "leads" the step. More...
 
void SetLeadingStep (bool value)
 
G4shared_ptr< G4ProcessState_LockGetProcessState (size_t index)
 Every process should store the information computed at the InteractionLegth stage in the track. More...
 
void RecordProcessState (G4shared_ptr< G4ProcessState_Lock >, size_t index)
 
void SetStepProcessorState (G4ITStepProcessorState_Lock *)
 
G4ITStepProcessorState_LockGetStepProcessorState ()
 
G4TrackStateManagerGetTrackStateManager ()
 
G4Trajectory_LockGetTrajectory_Lock ()
 
void SetTrajectory_Lock (G4Trajectory_Lock *trajLock)
 
void RecordCurrentPositionNTime (G4Track *)
 
const G4ThreeVectorGetPreStepPosition () const
 
G4double GetPreStepLocalTime () const
 
G4double GetPreStepGlobalTime () const
 
void SetNavigatorState (G4ITNavigatorState_Lock *)
 
G4ITNavigatorState_Lock * GetNavigatorState () const
 

Public Attributes

G4TrackStateManager fTrackStateManager
 

Protected Member Functions

 G4TrackingInformation (const G4TrackingInformation &other)
 Copy constructor. More...
 
G4TrackingInformationoperator= (const G4TrackingInformation &other)
 Assignment operator. More...
 

Protected Attributes

G4bool fStepLeader
 
G4Trajectory_LockfpTrajectory_Lock
 
G4ThreeVector fRecordedTrackPosition
 
G4double fRecordedTrackLocalTime
 
G4double fRecordedTrackGlobalTime
 
G4ITNavigatorState_Lock * fNavigatorState
 
std::vector< G4shared_ptr
< G4ProcessState_Lock > > 
fProcessState
 Holds the information related to processes Indexed on GetPhysIntVector (cf. More...
 
G4ITStepProcessorState_LockfpStepProcessorState
 

Friends

class G4ITStepProcessor
 

Detailed Description

The class G4TrackingInformation (hold by G4IT) emcompasses processes informations computed at the PS/AS/AtRest/InteractionLength stage, and also, the selection of processes for the given step.

Definition at line 89 of file G4TrackingInformation.hh.

Constructor & Destructor Documentation

G4TrackingInformation::G4TrackingInformation ( )
G4TrackingInformation::~G4TrackingInformation ( )

Definition at line 53 of file G4TrackingInformation.cc.

References fNavigatorState, fProcessState, and fpStepProcessorState.

G4TrackingInformation::G4TrackingInformation ( const G4TrackingInformation other)
protected

Copy constructor.

Parameters
otherObject to copy from

Definition at line 74 of file G4TrackingInformation.cc.

References fNavigatorState, fpTrajectory_Lock, fRecordedTrackGlobalTime, and fRecordedTrackLocalTime.

Member Function Documentation

G4ITNavigatorState_Lock * G4TrackingInformation::GetNavigatorState ( ) const
inline

Definition at line 266 of file G4TrackingInformation.hh.

References fNavigatorState.

Referenced by G4ITStepProcessor::InitDefineStep(), and G4ITStepProcessor::SetInitialStep().

+ Here is the caller graph for this function:

G4double G4TrackingInformation::GetPreStepGlobalTime ( ) const
inline

Definition at line 245 of file G4TrackingInformation.hh.

References fRecordedTrackGlobalTime.

Referenced by G4IT::GetPreStepGlobalTime().

+ Here is the caller graph for this function:

G4double G4TrackingInformation::GetPreStepLocalTime ( ) const
inline

Definition at line 250 of file G4TrackingInformation.hh.

References fRecordedTrackLocalTime.

Referenced by G4IT::GetPreStepLocalTime().

+ Here is the caller graph for this function:

const G4ThreeVector & G4TrackingInformation::GetPreStepPosition ( ) const
inline

Definition at line 255 of file G4TrackingInformation.hh.

References fRecordedTrackPosition.

Referenced by G4IT::GetPreStepPosition().

+ Here is the caller graph for this function:

G4shared_ptr< G4ProcessState_Lock > G4TrackingInformation::GetProcessState ( size_t  index)

Every process should store the information computed at the InteractionLegth stage in the track.

Definition at line 107 of file G4TrackingInformation.cc.

References FatalErrorInArgument, fProcessState, G4Exception(), and G4VITProcess::GetMaxProcessIndex().

Referenced by G4ITStepProcessor::DoDefinePhysicalStepLength(), and G4ITStepProcessor::GetAtRestIL().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ITStepProcessorState_Lock * G4TrackingInformation::GetStepProcessorState ( )
inline

Definition at line 225 of file G4TrackingInformation.hh.

References fpStepProcessorState.

Referenced by G4ITStepProcessor::SetupMembers().

+ Here is the caller graph for this function:

G4TrackStateManager& G4TrackingInformation::GetTrackStateManager ( )
inline

Definition at line 149 of file G4TrackingInformation.hh.

References fTrackStateManager.

Referenced by G4ITTransportation::AlongStepGetPhysicalInteractionLength(), and G4DNABrownianTransportation::ComputeGeomLimit().

+ Here is the caller graph for this function:

G4Trajectory_Lock* G4TrackingInformation::GetTrajectory_Lock ( )
inline

Definition at line 159 of file G4TrackingInformation.hh.

References fpTrajectory_Lock.

Referenced by ITTrackingInteractivity::AppendStep(), ITTrackingInteractivity::EndTracking(), and ITTrackingInteractivity::StartTracking().

+ Here is the caller graph for this function:

bool G4TrackingInformation::IsLeadingStep ( )
inline

If the track is the one having the minimum step time, then it "leads" the step.

It will interact will all the other tracks will be transported.

Definition at line 100 of file G4TrackingInformation.hh.

References fStepLeader.

G4TrackingInformation & G4TrackingInformation::operator= ( const G4TrackingInformation other)
protected

Assignment operator.

Parameters
otherObject to assign from
Returns
A reference to this

Definition at line 86 of file G4TrackingInformation.cc.

void G4TrackingInformation::RecordCurrentPositionNTime ( G4Track track)

Definition at line 121 of file G4TrackingInformation.cc.

References fRecordedTrackGlobalTime, fRecordedTrackLocalTime, fRecordedTrackPosition, G4Track::GetGlobalTime(), G4Track::GetLocalTime(), and G4Track::GetPosition().

Referenced by G4IT::RecordCurrentPositionNTime().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TrackingInformation::RecordProcessState ( G4shared_ptr< G4ProcessState_Lock state,
size_t  index 
)
inline

Definition at line 238 of file G4TrackingInformation.hh.

References fProcessState.

Referenced by G4VITProcess::StartTracking().

+ Here is the caller graph for this function:

void G4TrackingInformation::SetLeadingStep ( bool  value)
inline

Definition at line 104 of file G4TrackingInformation.hh.

References fStepLeader.

Referenced by G4Scheduler::ExtractILData(), and G4Scheduler::ResetLeadingTracks().

+ Here is the caller graph for this function:

void G4TrackingInformation::SetNavigatorState ( G4ITNavigatorState_Lock *  state)
inline

Definition at line 260 of file G4TrackingInformation.hh.

References fNavigatorState.

Referenced by G4ITStepProcessor::DoDefinePhysicalStepLength(), and G4ITStepProcessor::SetInitialStep().

+ Here is the caller graph for this function:

void G4TrackingInformation::SetStepProcessorState ( G4ITStepProcessorState_Lock state)
inline

Definition at line 220 of file G4TrackingInformation.hh.

References fpStepProcessorState.

Referenced by G4ITStepProcessor::InitDefineStep().

+ Here is the caller graph for this function:

void G4TrackingInformation::SetTrajectory_Lock ( G4Trajectory_Lock trajLock)
inline

Definition at line 164 of file G4TrackingInformation.hh.

References fpTrajectory_Lock.

Referenced by ITTrackingInteractivity::EndTracking(), and ITTrackingInteractivity::StartTracking().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4ITStepProcessor
friend

Definition at line 180 of file G4TrackingInformation.hh.

Member Data Documentation

G4ITNavigatorState_Lock* G4TrackingInformation::fNavigatorState
protected
std::vector<G4shared_ptr<G4ProcessState_Lock> > G4TrackingInformation::fProcessState
protected

Holds the information related to processes Indexed on GetPhysIntVector (cf.

G4ITStepProcessor header)

Definition at line 201 of file G4TrackingInformation.hh.

Referenced by GetProcessState(), RecordProcessState(), and ~G4TrackingInformation().

G4ITStepProcessorState_Lock* G4TrackingInformation::fpStepProcessorState
protected
G4Trajectory_Lock* G4TrackingInformation::fpTrajectory_Lock
protected
G4double G4TrackingInformation::fRecordedTrackGlobalTime
protected
G4double G4TrackingInformation::fRecordedTrackLocalTime
protected
G4ThreeVector G4TrackingInformation::fRecordedTrackPosition
protected

Definition at line 187 of file G4TrackingInformation.hh.

Referenced by GetPreStepPosition(), and RecordCurrentPositionNTime().

G4bool G4TrackingInformation::fStepLeader
protected

Definition at line 182 of file G4TrackingInformation.hh.

Referenced by IsLeadingStep(), and SetLeadingStep().

G4TrackStateManager G4TrackingInformation::fTrackStateManager

Definition at line 147 of file G4TrackingInformation.hh.

Referenced by GetTrackStateManager().


The documentation for this class was generated from the following files: