Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ITTrackingInteractivity Class Reference

#include <G4ITTrackingInteractivity.hh>

Public Member Functions

 G4ITTrackingInteractivity (G4VITSteppingVerbose *verbose=0)
 
virtual ~G4ITTrackingInteractivity ()
 
virtual void Initialize ()
 
virtual void StartTracking (G4Track *)
 
virtual void AppendStep (G4Track *, G4Step *)
 
virtual void EndTracking (G4Track *)
 
virtual void Finalize ()
 
virtual void TrackBanner (G4Track *, const G4String &message="")
 
void SetVerbose (int flag)
 
G4int GetVerboseLevel () const
 
void SetSteppingVerboseLevel (G4int level)
 
G4int GetSteppingVerboseLevel () const
 
G4VITSteppingVerboseGetSteppingVerbose ()
 
void SetSteppingVerbose (G4VITSteppingVerbose *verbose)
 

Protected Attributes

int fVerboseLevel
 

Detailed Description

Definition at line 58 of file G4ITTrackingInteractivity.hh.

Constructor & Destructor Documentation

G4ITTrackingInteractivity::G4ITTrackingInteractivity ( G4VITSteppingVerbose verbose = 0)

Definition at line 64 of file G4ITTrackingInteractivity.cc.

65 {
66  fVerboseLevel = 0;
67  if(verbose)
68  {
69  fpVerbose = verbose;
70  }
71  else
72  {
73  fpVerbose = new G4ITSteppingVerbose();
74  }
75 }
virtual G4ITTrackingInteractivity::~G4ITTrackingInteractivity ( )
inlinevirtual

Definition at line 66 of file G4ITTrackingInteractivity.hh.

67  {
68  ;
69  }

Member Function Documentation

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

Definition at line 81 of file G4ITTrackingInteractivity.hh.

83  {
84  ;
85  }

Here is the caller graph for this function:

virtual void G4ITTrackingInteractivity::EndTracking ( G4Track )
inlinevirtual

Definition at line 87 of file G4ITTrackingInteractivity.hh.

88  {
89 
90  }

Here is the caller graph for this function:

virtual void G4ITTrackingInteractivity::Finalize ( )
inlinevirtual

Definition at line 92 of file G4ITTrackingInteractivity.hh.

93  {
94  ;
95  }

Here is the caller graph for this function:

G4VITSteppingVerbose* G4ITTrackingInteractivity::GetSteppingVerbose ( )
inline

Definition at line 113 of file G4ITTrackingInteractivity.hh.

114  {
115  return fpVerbose;
116  }

Here is the caller graph for this function:

G4int G4ITTrackingInteractivity::GetSteppingVerboseLevel ( ) const

Definition at line 92 of file G4ITTrackingInteractivity.cc.

93 {
94  return fpVerbose->GetVerbose();
95 }

Here is the call graph for this function:

G4int G4ITTrackingInteractivity::GetVerboseLevel ( ) const
inline

Definition at line 105 of file G4ITTrackingInteractivity.hh.

106  {
107  return fVerboseLevel;
108  }
virtual void G4ITTrackingInteractivity::Initialize ( )
inlinevirtual

Definition at line 71 of file G4ITTrackingInteractivity.hh.

72  {
73  ;
74  }

Here is the caller graph for this function:

void G4ITTrackingInteractivity::SetSteppingVerbose ( G4VITSteppingVerbose verbose)
inline

Definition at line 118 of file G4ITTrackingInteractivity.hh.

119  {
120  fpVerbose = verbose;
121  }
void G4ITTrackingInteractivity::SetSteppingVerboseLevel ( G4int  level)

Definition at line 77 of file G4ITTrackingInteractivity.cc.

78 {
79  fpVerbose->SetVerbose(level);
80 }

Here is the call graph for this function:

void G4ITTrackingInteractivity::SetVerbose ( int  flag)
inline

Definition at line 100 of file G4ITTrackingInteractivity.hh.

101  {
102  fVerboseLevel = flag;
103  }
virtual void G4ITTrackingInteractivity::StartTracking ( G4Track )
inlinevirtual

Definition at line 76 of file G4ITTrackingInteractivity.hh.

77  {
78 
79  }

Here is the caller graph for this function:

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

Definition at line 43 of file G4ITTrackingInteractivity.cc.

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

Here is the call graph for this function:

Member Data Documentation

int G4ITTrackingInteractivity::fVerboseLevel
protected

Definition at line 61 of file G4ITTrackingInteractivity.hh.


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