Geant4  10.00.p02
G4IT Class Referenceabstract

G4IT is a interface which allows the inheriting object : More...

#include <G4IT.hh>

+ Inheritance diagram for G4IT:
+ Collaboration diagram for G4IT:

Public Member Functions

 G4IT ()
 
 G4IT (G4Track *)
 
virtual ~G4IT ()
 
void * operator new (size_t)
 
void operator delete (void *aIT)
 
virtual void Print () const
 
virtual const G4StringGetName () const =0
 
virtual G4bool diff (const G4IT &right) const =0
 
virtual G4bool equal (const G4IT &right) const =0
 
G4bool operator< (const G4IT &right) const
 
G4bool operator== (const G4IT &right) const
 
G4bool operator!= (const G4IT &right) const
 
void SetTrack (G4Track *)
 
G4TrackGetTrack ()
 
const G4TrackGetTrack () const
 
void RecordCurrentPositionNTime ()
 
void SetPrevious (G4IT *)
 
void SetNext (G4IT *)
 
G4ITGetPrevious ()
 
G4ITGetNext ()
 
const G4ITGetPrevious () const
 
const G4ITGetNext () const
 
void SetITBox (G4ITBox *)
 
const G4ITBoxGetITBox () const
 
void TakeOutBox ()
 
void SetNode (G4KDNode *)
 
void SetParentID (int, int)
 
void GetParentID (int &, int &)
 
const G4ThreeVectorGetPreStepPosition () const
 
G4double GetPreStepLocalTime () const
 
G4double GetPreStepGlobalTime () const
 
G4KDNodeGetNode () const
 
G4TrackingInformationGetTrackingInfo ()
 
G4TrackListNodeGetTrackListNode ()
 
void SetTrackListNode (G4TrackListNode *node)
 
virtual const G4ITType GetITType () const =0
 
- Public Member Functions inherited from G4VUserTrackInformation
 G4VUserTrackInformation ()
 
 G4VUserTrackInformation (const G4String &infoType)
 
 G4VUserTrackInformation (const G4VUserTrackInformation &)
 
G4VUserTrackInformationoperator= (const G4VUserTrackInformation &)
 
virtual ~G4VUserTrackInformation ()
 
const G4StringGetType () const
 

Protected Member Functions

 G4IT (const G4IT &)
 
G4IToperator= (const G4IT &)
 

Protected Attributes

G4TrackfpTrack
 
- Protected Attributes inherited from G4VUserTrackInformation
G4StringpType
 

Private Attributes

G4ITBoxfpITBox
 
G4ITfpPreviousIT
 
G4ITfpNextIT
 
G4KDNodefpKDNode
 
int fParentID_A
 
int fParentID_B
 
G4TrackingInformation fTrackingInformation
 
G4TrackListNodefpTrackNode
 

Detailed Description

G4IT is a interface which allows the inheriting object :

  • to be included in ITManager for the search of nearest neighbour
  • to be tracked using G4ITStepManager The inheriting class must implement the operator < , == and != in order to enable the sorting out. also the concrete header of MyIT ("MyIt.hh") should contain : ITDef(MyIT) and the source of MyIT.cc : ITImp(MyIT)

Definition at line 82 of file G4IT.hh.

Constructor & Destructor Documentation

G4IT::G4IT ( )

Definition at line 61 of file G4IT.cc.

References aITAllocator, fParentID_A, fParentID_B, fpITBox, fpKDNode, and fpTrackNode.

G4IT::G4IT ( G4Track aTrack)

Definition at line 112 of file G4IT.cc.

References aITAllocator, fParentID_A, fParentID_B, fpITBox, fpKDNode, fpTrack, fpTrackNode, and RecordCurrentPositionNTime().

+ Here is the call graph for this function:

G4IT::~G4IT ( )
virtual

Definition at line 141 of file G4IT.cc.

References TakeOutBox().

+ Here is the call graph for this function:

G4IT::G4IT ( const G4IT )
protected

Definition at line 76 of file G4IT.cc.

References fParentID_A, fParentID_B, fpITBox, fpKDNode, and fpTrackNode.

Member Function Documentation

virtual G4bool G4IT::diff ( const G4IT right) const
pure virtual

Referenced by operator<().

+ Here is the caller graph for this function:

virtual G4bool G4IT::equal ( const G4IT right) const
pure virtual

Referenced by operator==().

+ Here is the caller graph for this function:

const G4ITBox * G4IT::GetITBox ( ) const
inline

Definition at line 173 of file G4IT.hh.

References fpITBox.

virtual const G4ITType G4IT::GetITType ( ) const
pure virtual

Referenced by G4ITModelProcessor::DoCalculateStep(), operator<(), operator==(), and G4AllITManager::Push().

+ Here is the caller graph for this function:

virtual const G4String& G4IT::GetName ( ) const
pure virtual

Implemented in G4Molecule.

Referenced by G4TrackList::CheckFlag(), G4DNABrownianTransportation::Diffusion(), G4TrackList::Flag(), and G4TrackList::Unflag().

+ Here is the caller graph for this function:

G4IT * G4IT::GetNext ( )
inline

Definition at line 198 of file G4IT.hh.

References fpNextIT.

Referenced by G4ITBox::Extract(), G4ITBox::TransferTo(), and G4ITBox::~G4ITBox().

+ Here is the caller graph for this function:

const G4IT * G4IT::GetNext ( ) const
inline

Definition at line 250 of file G4IT.hh.

References fpNextIT.

G4KDNode * G4IT::GetNode ( ) const
inline

Definition at line 260 of file G4IT.hh.

References fpKDNode.

void G4IT::GetParentID ( int &  p_a,
int &  p_b 
)
inline

Definition at line 224 of file G4IT.hh.

References fParentID_A, and fParentID_B.

G4double G4IT::GetPreStepGlobalTime ( ) const
inline

Definition at line 230 of file G4IT.hh.

References fTrackingInformation, and G4TrackingInformation::GetPreStepGlobalTime().

+ Here is the call graph for this function:

G4double G4IT::GetPreStepLocalTime ( ) const
inline

Definition at line 235 of file G4IT.hh.

References fTrackingInformation, and G4TrackingInformation::GetPreStepLocalTime().

+ Here is the call graph for this function:

const G4ThreeVector & G4IT::GetPreStepPosition ( ) const
inline

Definition at line 240 of file G4IT.hh.

References fTrackingInformation, and G4TrackingInformation::GetPreStepPosition().

+ Here is the call graph for this function:

G4IT * G4IT::GetPrevious ( )
inline

Definition at line 193 of file G4IT.hh.

References fpPreviousIT.

Referenced by G4ITBox::Extract(), and G4ITBox::FindIT().

+ Here is the caller graph for this function:

const G4IT * G4IT::GetPrevious ( ) const
inline

Definition at line 245 of file G4IT.hh.

References fpPreviousIT.

G4Track * G4IT::GetTrack ( )
inline

Definition at line 208 of file G4IT.hh.

References fpTrack.

Referenced by G4ITStepProcessor::FindTransportationStep(), and G4DNAMoleculeEncounterStepper::RetrieveResults().

+ Here is the caller graph for this function:

const G4Track * G4IT::GetTrack ( ) const
inline

Definition at line 213 of file G4IT.hh.

References fpTrack.

G4TrackingInformation* G4IT::GetTrackingInfo ( )
inline

Definition at line 134 of file G4IT.hh.

References fTrackingInformation.

Referenced by G4ITStepProcessor::DoDefinePhysicalStepLength(), G4ITStepProcessor::DoStepping(), G4ITStepProcessor::InitDefineStep(), G4ITStepProcessor::SetTrack(), G4ITStepProcessor::SetupMembers(), and G4VITProcess::StartTracking().

+ Here is the caller graph for this function:

G4TrackListNode* G4IT::GetTrackListNode ( )
inline

Definition at line 136 of file G4IT.hh.

References fpTrackNode.

Referenced by G4TrackList::Flag(), and G4TrackList::Unflag().

+ Here is the caller graph for this function:

void G4IT::operator delete ( void *  aIT)
inline

Definition at line 168 of file G4IT.hh.

References aITAllocator.

void * G4IT::operator new ( size_t  )
inline

Definition at line 162 of file G4IT.hh.

References aITAllocator.

G4bool G4IT::operator!= ( const G4IT right) const

Definition at line 189 of file G4IT.cc.

References operator==().

+ Here is the call graph for this function:

G4bool G4IT::operator< ( const G4IT right) const

Definition at line 167 of file G4IT.cc.

References diff(), and GetITType().

+ Here is the call graph for this function:

G4IT & G4IT::operator= ( const G4IT right)
protected

Definition at line 90 of file G4IT.cc.

References FatalException, fParentID_A, fParentID_B, fpITBox, fpKDNode, fpNextIT, fpPreviousIT, fpTrack, fpTrackNode, and G4Exception().

+ Here is the call graph for this function:

G4bool G4IT::operator== ( const G4IT right) const

Definition at line 180 of file G4IT.cc.

References equal(), and GetITType().

Referenced by operator!=().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4IT::Print ( void  ) const
inlinevirtual

Reimplemented from G4VUserTrackInformation.

Definition at line 92 of file G4IT.hh.

void G4IT::RecordCurrentPositionNTime ( )

Definition at line 159 of file G4IT.cc.

References fpTrack, fTrackingInformation, and G4TrackingInformation::RecordCurrentPositionNTime().

Referenced by G4IT().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4IT::SetITBox ( G4ITBox aITBox)
inline

Definition at line 178 of file G4IT.hh.

References fpITBox.

Referenced by G4ITBox::Extract(), and G4ITBox::Push().

+ Here is the caller graph for this function:

void G4IT::SetNext ( G4IT aIT)
inline

Definition at line 188 of file G4IT.hh.

References fpNextIT.

Referenced by G4ITBox::Extract(), and G4ITBox::Push().

+ Here is the caller graph for this function:

void G4IT::SetNode ( G4KDNode aNode)
inline

Definition at line 255 of file G4IT.hh.

References fpKDNode.

void G4IT::SetParentID ( int  p_a,
int  p_b 
)
inline

Definition at line 218 of file G4IT.hh.

References fParentID_A, and fParentID_B.

void G4IT::SetPrevious ( G4IT aIT)
inline

Definition at line 183 of file G4IT.hh.

References fpPreviousIT.

Referenced by G4ITBox::Extract(), and G4ITBox::Push().

+ Here is the caller graph for this function:

void G4IT::SetTrack ( G4Track track)
inline

Definition at line 203 of file G4IT.hh.

References fpTrack.

void G4IT::SetTrackListNode ( G4TrackListNode node)
inline

Definition at line 137 of file G4IT.hh.

References fpTrackNode.

Referenced by G4TrackList::EraseTrackListNode(), and G4TrackList::Flag().

+ Here is the caller graph for this function:

void G4IT::TakeOutBox ( )

Definition at line 127 of file G4IT.cc.

References G4ITBox::Extract(), fpITBox, fpKDNode, and InactiveNode().

Referenced by ~G4IT().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

int G4IT::fParentID_A
private

Definition at line 152 of file G4IT.hh.

Referenced by G4IT(), GetParentID(), operator=(), and SetParentID().

int G4IT::fParentID_B
private

Definition at line 153 of file G4IT.hh.

Referenced by G4IT(), GetParentID(), operator=(), and SetParentID().

G4ITBox* G4IT::fpITBox
private

Definition at line 147 of file G4IT.hh.

Referenced by G4IT(), GetITBox(), operator=(), SetITBox(), and TakeOutBox().

G4KDNode* G4IT::fpKDNode
private

Definition at line 150 of file G4IT.hh.

Referenced by G4IT(), GetNode(), operator=(), SetNode(), and TakeOutBox().

G4IT* G4IT::fpNextIT
private

Definition at line 149 of file G4IT.hh.

Referenced by GetNext(), operator=(), and SetNext().

G4IT* G4IT::fpPreviousIT
private

Definition at line 148 of file G4IT.hh.

Referenced by GetPrevious(), operator=(), and SetPrevious().

G4Track* G4IT::fpTrack
protected
G4TrackListNode* G4IT::fpTrackNode
private

Definition at line 156 of file G4IT.hh.

Referenced by G4IT(), GetTrackListNode(), operator=(), and SetTrackListNode().

G4TrackingInformation G4IT::fTrackingInformation
private

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