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

#include <G4ChannelingTrackData.hh>

+ Inheritance diagram for G4ChannelingTrackData:

Public Member Functions

 G4ChannelingTrackData ()
 
 ~G4ChannelingTrackData ()
 
void Print () const
 
void Reset ()
 
G4double GetDensity ()
 
void SetNuD (G4double aDouble)
 
G4double GetNuD ()
 
void SetElD (G4double aDouble)
 
G4double GetElD ()
 
void SetEFX (G4double aDouble)
 
G4double GetEFX ()
 
void SetEFY (G4double aDouble)
 
G4double GetEFY ()
 
G4ThreeVector GetMomCh ()
 
void SetMomCh (G4ThreeVector a3vec)
 
G4ThreeVector GetPosCh ()
 
void SetPosCh (G4ThreeVector a3vec)
 
- Public Member Functions inherited from G4VAuxiliaryTrackInformation
 G4VAuxiliaryTrackInformation ()
 
virtual ~G4VAuxiliaryTrackInformation ()
 
virtual void Print () const
 

Friends

class G4Channeling
 

Detailed Description

Definition at line 48 of file G4ChannelingTrackData.hh.

Constructor & Destructor Documentation

◆ G4ChannelingTrackData()

G4ChannelingTrackData::G4ChannelingTrackData ( )

Definition at line 30 of file G4ChannelingTrackData.cc.

32fChannelingProcess(0),
34fMomCh(fDBL),
35fPosCh(fDBL),
36fNuD(1.),
37fElD(1.),
38fEFX(0.),
39fEFY(0.){;}
CLHEP::Hep3Vector G4ThreeVector
#define DBL_MAX
Definition: templates.hh:62

◆ ~G4ChannelingTrackData()

G4ChannelingTrackData::~G4ChannelingTrackData ( )

Definition at line 43 of file G4ChannelingTrackData.cc.

43{;}

Member Function Documentation

◆ GetDensity()

G4double G4ChannelingTrackData::GetDensity ( )
inline

Definition at line 68 of file G4ChannelingTrackData.hh.

68{return (fNuD + fElD) * 0.5;}

◆ GetEFX()

G4double G4ChannelingTrackData::GetEFX ( )
inline

Definition at line 77 of file G4ChannelingTrackData.hh.

77{return fEFX;};

◆ GetEFY()

G4double G4ChannelingTrackData::GetEFY ( )
inline

Definition at line 80 of file G4ChannelingTrackData.hh.

80{return fEFY;};

◆ GetElD()

G4double G4ChannelingTrackData::GetElD ( )
inline

Definition at line 74 of file G4ChannelingTrackData.hh.

74{return fElD;};

◆ GetMomCh()

G4ThreeVector G4ChannelingTrackData::GetMomCh ( )
inline

Definition at line 82 of file G4ChannelingTrackData.hh.

82{return fMomCh;}

Referenced by G4Channeling::PostStepDoIt().

◆ GetNuD()

G4double G4ChannelingTrackData::GetNuD ( )
inline

Definition at line 71 of file G4ChannelingTrackData.hh.

71{return fNuD;};

◆ GetPosCh()

G4ThreeVector G4ChannelingTrackData::GetPosCh ( )
inline

Definition at line 85 of file G4ChannelingTrackData.hh.

85{return fPosCh;}

◆ Print()

void G4ChannelingTrackData::Print ( ) const
virtual

Reimplemented from G4VAuxiliaryTrackInformation.

Definition at line 47 of file G4ChannelingTrackData.cc.

47 {
48 G4cout << "Nuclei Density Ratio: " << fNuD << G4endl;
49 G4cout << "Electron Density Ratio: " << fElD << G4endl;
50 G4cout << "Channeling Momentum (GeV/c): " << fMomCh/CLHEP::GeV << G4endl;
51 G4cout << "Channeling Position (angstrom): " << fPosCh/CLHEP::angstrom << G4endl;
52}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ Reset()

void G4ChannelingTrackData::Reset ( )
inline

Definition at line 61 of file G4ChannelingTrackData.hh.

61 {
62 fChannelingProcess = nullptr;
63 fNuD = fElD = 1.;
64 fPosCh = fMomCh = fDBL;
65 }

Referenced by G4Channeling::GetMeanFreePath(), and G4Channeling::PostStepDoIt().

◆ SetEFX()

void G4ChannelingTrackData::SetEFX ( G4double  aDouble)
inline

Definition at line 76 of file G4ChannelingTrackData.hh.

76{fEFX = aDouble;};

◆ SetEFY()

void G4ChannelingTrackData::SetEFY ( G4double  aDouble)
inline

Definition at line 79 of file G4ChannelingTrackData.hh.

79{fEFY = aDouble;};

◆ SetElD()

void G4ChannelingTrackData::SetElD ( G4double  aDouble)
inline

Definition at line 73 of file G4ChannelingTrackData.hh.

73{fElD = aDouble;};

◆ SetMomCh()

void G4ChannelingTrackData::SetMomCh ( G4ThreeVector  a3vec)
inline

Definition at line 83 of file G4ChannelingTrackData.hh.

83{fMomCh = a3vec;}

◆ SetNuD()

void G4ChannelingTrackData::SetNuD ( G4double  aDouble)
inline

Definition at line 70 of file G4ChannelingTrackData.hh.

70{fNuD = aDouble;};

◆ SetPosCh()

void G4ChannelingTrackData::SetPosCh ( G4ThreeVector  a3vec)
inline

Definition at line 86 of file G4ChannelingTrackData.hh.

86{fPosCh = a3vec;}

Friends And Related Function Documentation

◆ G4Channeling

friend class G4Channeling
friend

Definition at line 49 of file G4ChannelingTrackData.hh.


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