Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
G4VUserTrackInformation Class Reference

#include <G4VUserTrackInformation.hh>

Inheritance diagram for G4VUserTrackInformation:
CexmcTrackInfo F04UserTrackInformation G4IT LXeUserTrackInformation MCTruthTrackInformation RE01TrackInformation WLSUserTrackInformation CexmcIncidentParticleTrackInfo G4Molecule

Public Member Functions

 G4VUserTrackInformation ()
 
 G4VUserTrackInformation (const G4String &infoType)
 
 G4VUserTrackInformation (const G4VUserTrackInformation &)
 
G4VUserTrackInformationoperator= (const G4VUserTrackInformation &)
 
virtual ~G4VUserTrackInformation ()
 
virtual void Print () const
 
const G4StringGetType () const
 

Protected Attributes

G4StringpType
 

Detailed Description

Definition at line 60 of file G4VUserTrackInformation.hh.

Constructor & Destructor Documentation

G4VUserTrackInformation::G4VUserTrackInformation ( )

Definition at line 34 of file G4VUserTrackInformation.cc.

35  : pType(0)
36 {;}
G4VUserTrackInformation::G4VUserTrackInformation ( const G4String infoType)

Definition at line 38 of file G4VUserTrackInformation.cc.

References pType.

G4VUserTrackInformation::G4VUserTrackInformation ( const G4VUserTrackInformation right)

Definition at line 48 of file G4VUserTrackInformation.cc.

References pType.

G4VUserTrackInformation::~G4VUserTrackInformation ( )
virtual

Definition at line 43 of file G4VUserTrackInformation.cc.

References pType.

44 {
45  if (pType!=0) delete pType;
46 }

Member Function Documentation

const G4String & G4VUserTrackInformation::GetType ( ) const

Definition at line 66 of file G4VUserTrackInformation.cc.

References pType.

67 {
68  static const G4String NOTYPE="NONE";
69  if(pType!=0) return *pType;
70  else return NOTYPE;
71 }
G4VUserTrackInformation & G4VUserTrackInformation::operator= ( const G4VUserTrackInformation right)

Definition at line 55 of file G4VUserTrackInformation.cc.

References pType.

56 {
57  if (this != &right) {
58  if (pType !=0) delete pType;
59  if (right.pType) pType = new G4String(*(right.pType));
60  else pType=0;
61  }
62  return *this;
63 }
virtual void G4VUserTrackInformation::Print ( void  ) const
inlinevirtual

Field Documentation

G4String* G4VUserTrackInformation::pType
protected

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