Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ITTrackingInteractivity Class Reference

#include <G4ITTrackingInteractivity.hh>

Public Member Functions

 G4ITTrackingInteractivity ()
 
virtual ~G4ITTrackingInteractivity ()
 
virtual void StartTracking (G4Track *)
 
virtual void AppendStep (G4Track *, G4Step *)
 
virtual void EndTracking (G4Track *)
 
virtual void TrackBanner (G4Track *, const G4String &message="")
 
void SetVerbose (int)
 

Protected Attributes

int fVerboseLevel
 

Detailed Description

Definition at line 47 of file G4ITTrackingInteractivity.hh.

Constructor & Destructor Documentation

◆ G4ITTrackingInteractivity()

G4ITTrackingInteractivity::G4ITTrackingInteractivity ( )
inline

Definition at line 53 of file G4ITTrackingInteractivity.hh.

53{;}

◆ ~G4ITTrackingInteractivity()

virtual G4ITTrackingInteractivity::~G4ITTrackingInteractivity ( )
inlinevirtual

Definition at line 54 of file G4ITTrackingInteractivity.hh.

54{;}

Member Function Documentation

◆ AppendStep()

virtual void G4ITTrackingInteractivity::AppendStep ( G4Track ,
G4Step  
)
inlinevirtual

Definition at line 57 of file G4ITTrackingInteractivity.hh.

57{;}

Referenced by G4ITTrackingManager::AppendStep().

◆ EndTracking()

virtual void G4ITTrackingInteractivity::EndTracking ( G4Track )
inlinevirtual

Definition at line 58 of file G4ITTrackingInteractivity.hh.

58{;}

Referenced by G4ITTrackingManager::EndTracking().

◆ SetVerbose()

void G4ITTrackingInteractivity::SetVerbose ( int  flag)
inline

Definition at line 64 of file G4ITTrackingInteractivity.hh.

◆ StartTracking()

virtual void G4ITTrackingInteractivity::StartTracking ( G4Track )
inlinevirtual

Definition at line 56 of file G4ITTrackingInteractivity.hh.

56{;}

Referenced by G4ITTrackingManager::StartTracking().

◆ TrackBanner()

void G4ITTrackingInteractivity::TrackBanner ( G4Track track,
const G4String message = "" 
)
virtual

Definition at line 42 of file G4ITTrackingInteractivity.cc.

43{
44 G4cout << G4endl;
45 G4cout << "*******************************************************"
46 << "**************************************************"
47 << G4endl;
48 if(message != "")
49 G4cout << message ;
50 G4cout << " * G4Track Information: "
51 << " Particle : " << track->GetDefinition()->GetParticleName()
52 << ","
53 << " Track ID : " << track->GetTrackID()
54 << ","
55 << " Parent ID : " << track->GetParentID()
56 << G4endl;
57 G4cout << "*******************************************************"
58 << "**************************************************"
59 << G4endl;
60 G4cout << G4endl;
61}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
const G4String & GetParticleName() const
G4int GetTrackID() const
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const

Member Data Documentation

◆ fVerboseLevel

int G4ITTrackingInteractivity::fVerboseLevel
protected

Definition at line 50 of file G4ITTrackingInteractivity.hh.

Referenced by SetVerbose().


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