Geant4  10.02
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
 

Protected Member Functions

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

Protected Attributes

G4bool fStepLeader
 
G4Trajectory_LockfpTrajectory_Lock
 
G4TrackStateManager fTrackStateManager
 
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 80 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 257 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 236 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 241 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 246 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 216 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 138 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 148 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 91 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 229 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 95 of file G4TrackingInformation.hh.

References fStepLeader.

Referenced by G4ITLeadingTracks::PrepareLeadingTracks(), and G4ITLeadingTracks::Reset().

+ Here is the caller graph for this function:

void G4TrackingInformation::SetNavigatorState ( G4ITNavigatorState_Lock *  state)
inline

Definition at line 251 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 211 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 153 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 169 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 192 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 178 of file G4TrackingInformation.hh.

Referenced by GetPreStepPosition(), and RecordCurrentPositionNTime().

G4bool G4TrackingInformation::fStepLeader
protected

Definition at line 171 of file G4TrackingInformation.hh.

Referenced by IsLeadingStep(), and SetLeadingStep().

G4TrackStateManager G4TrackingInformation::fTrackStateManager
protected

Definition at line 175 of file G4TrackingInformation.hh.

Referenced by GetTrackStateManager().


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