Geant4  10.02.p03
Track Class Reference

#include <Track.hh>

Collaboration diagram for Track:

Public Member Functions

 Track ()
 
 ~Track ()
 
const Step * GetStep () const
 
const Step * GetStep1 () const
 
const Step * GetStep2 () const
 
const Step * GetStep3 () const
 
const Step * GetStep4 () const
 

Private Attributes

Step * step
 

Detailed Description

Definition at line 43 of file Track.hh.

Constructor & Destructor Documentation

◆ Track()

Track::Track ( )

Definition at line 43 of file Track.cc.

45 {
46  std::cout << "Track is created. @"
47  << this << std::endl;
48  step= new Step();
49 }
Step * step
Definition: Track.hh:45
Definition: Step.hh:41

◆ ~Track()

Track::~Track ( )

Definition at line 52 of file Track.cc.

54 {
55  std::cout << "Track is deleted. @"
56  << this << std::endl;
57  delete step;
58 }
Step * step
Definition: Track.hh:45

Member Function Documentation

◆ GetStep()

const Step * Track::GetStep ( ) const

Definition at line 62 of file Track.cc.

64 {
65  return step;
66 }
Step * step
Definition: Track.hh:45
Here is the caller graph for this function:

◆ GetStep1()

const Step * Track::GetStep1 ( ) const

Definition at line 70 of file Track.cc.

72 {
73  return GetStep();
74 }
const Step * GetStep() const
Definition: Track.cc:62
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetStep2()

const Step * Track::GetStep2 ( ) const

Definition at line 77 of file Track.cc.

79 {
80  return GetStep();
81 }
const Step * GetStep() const
Definition: Track.cc:62
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetStep3()

const Step * Track::GetStep3 ( ) const

Definition at line 84 of file Track.cc.

86 {
87  return GetStep();
88 }
const Step * GetStep() const
Definition: Track.cc:62
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetStep4()

const Step * Track::GetStep4 ( ) const

Definition at line 91 of file Track.cc.

93 {
94  return GetStep();
95 }
const Step * GetStep() const
Definition: Track.cc:62
Here is the call graph for this function:

Member Data Documentation

◆ step

Step* Track::step
private

Definition at line 45 of file Track.hh.


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