Geant4  10.00.p02
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)
 
G4::shared_ptr
< G4ProcessState_Lock
GetProcessState (size_t index)
 Every process should store the information computed at the InteractionLegth stage in the track. More...
 
void RecordProcessState (G4::shared_ptr< G4ProcessState_Lock >, size_t index)
 
void SetStepProcessorState (G4ITStepProcessorState_Lock *)
 
G4ITStepProcessorState_LockGetStepProcessorState ()
 
G4Trajectory_Lock * GetTrajectory_Lock ()
 
void SetTrajectory_Lock (G4Trajectory_Lock *trajLock)
 
void RecordCurrentPositionNTime (G4Track *)
 
const G4ThreeVectorGetPreStepPosition () const
 
G4double GetPreStepLocalTime () const
 
G4double GetPreStepGlobalTime () const
 
void SetNavigatorState (G4ITNavigatorState_Lock *)
 
G4ITNavigatorState_LockGetNavigatorState () const
 

Protected Member Functions

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

Protected Attributes

G4bool fStepLeader
 
G4Trajectory_Lock * fpTrajectory_Lock
 
G4ThreeVector fRecordedTrackPosition
 
G4double fRecordedTrackLocalTime
 
G4double fRecordedTrackGlobalTime
 
G4ITNavigatorState_LockfNavigatorState
 
std::vector< G4::shared_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 64 of file G4TrackingInformation.cc.

References fNavigatorState, fpTrajectory_Lock, fRecordedTrackGlobalTime, and fRecordedTrackLocalTime.

Member Function Documentation

G4ITNavigatorState_Lock * G4TrackingInformation::GetNavigatorState ( ) const
inline

Definition at line 204 of file G4TrackingInformation.hh.

References fNavigatorState.

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

+ Here is the caller graph for this function:

G4double G4TrackingInformation::GetPreStepGlobalTime ( ) const
inline

Definition at line 183 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 188 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 193 of file G4TrackingInformation.hh.

References fRecordedTrackPosition.

Referenced by G4IT::GetPreStepPosition().

+ Here is the caller graph for this function:

G4::shared_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 83 of file G4TrackingInformation.cc.

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

Referenced by G4ITStepProcessor::DoDefinePhysicalStepLength(), G4ITStepProcessor::FindTransportationStep(), G4ITStepProcessor::GetAtRestIL(), G4ITStepProcessor::InvokeAlongStepDoItProcs(), G4ITStepProcessor::InvokeAtRestDoItProcs(), and G4ITStepProcessor::InvokePSDIP().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ITStepProcessorState_Lock * G4TrackingInformation::GetStepProcessorState ( )
inline

Definition at line 171 of file G4TrackingInformation.hh.

References fpStepProcessorState.

Referenced by G4ITStepProcessor::SetupMembers().

+ Here is the caller graph for this function:

G4Trajectory_Lock* G4TrackingInformation::GetTrajectory_Lock ( )
inline

Definition at line 107 of file G4TrackingInformation.hh.

References fpTrajectory_Lock.

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.

Referenced by G4ITStepProcessor::DoStepping().

+ Here is the caller graph for this function:

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

Assignment operator.

Parameters
otherObject to assign from
Returns
A reference to this

Definition at line 76 of file G4TrackingInformation.cc.

void G4TrackingInformation::RecordCurrentPositionNTime ( G4Track track)

Definition at line 97 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 ( G4::shared_ptr< G4ProcessState_Lock state,
size_t  index 
)
inline

Definition at line 176 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 92 of file G4TrackingInformation.hh.

References fStepLeader.

void G4TrackingInformation::SetNavigatorState ( G4ITNavigatorState_Lock state)
inline

Definition at line 199 of file G4TrackingInformation.hh.

References fNavigatorState.

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

+ Here is the caller graph for this function:

void G4TrackingInformation::SetStepProcessorState ( G4ITStepProcessorState_Lock state)
inline

Definition at line 166 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 112 of file G4TrackingInformation.hh.

References fpTrajectory_Lock.

Friends And Related Function Documentation

friend class G4ITStepProcessor
friend

Definition at line 128 of file G4TrackingInformation.hh.

Member Data Documentation

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

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

G4ITStepProcessor header)

Definition at line 148 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 135 of file G4TrackingInformation.hh.

Referenced by GetPreStepPosition(), and RecordCurrentPositionNTime().

G4bool G4TrackingInformation::fStepLeader
protected

Definition at line 130 of file G4TrackingInformation.hh.

Referenced by IsLeadingStep(), and SetLeadingStep().


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