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

#include <CexmcIncidentParticleTrackInfo.hh>

Inheritance diagram for CexmcIncidentParticleTrackInfo:
CexmcTrackInfo G4VUserTrackInformation

Public Member Functions

 CexmcIncidentParticleTrackInfo (CexmcTrackType trackType=CexmcInsipidTrack)
 
G4int GetTypeInfo (void) const
 
G4double GetCurrentTrackLengthInTarget (void) const
 
void AddTrackLengthInTarget (G4double value)
 
void SetNeedsTrackLengthResampling (G4bool on=true)
 
G4double GetFinalTrackLengthInTarget (void) const
 
void SetFinalTrackLengthInTarget (G4double value)
 
void ResetCurrentTrackLengthInTarget (void)
 
G4bool NeedsTrackLengthResampling (void) const
 
G4bool IsStudiedProcessActivated (void) const
 
void ActivateStudiedProcess (G4bool on=true)
 
- Public Member Functions inherited from CexmcTrackInfo
 CexmcTrackInfo (CexmcTrackType trackType=CexmcInsipidTrack, G4int copyNumber=0)
 
void Print (void) const
 
CexmcTrackType GetTrackType (void) const
 
void SetTrackType (CexmcTrackType value)
 
G4int GetCopyNumber (void) const
 
- Public Member Functions inherited from G4VUserTrackInformation
 G4VUserTrackInformation ()
 
 G4VUserTrackInformation (const G4String &infoType)
 
 G4VUserTrackInformation (const G4VUserTrackInformation &)
 
G4VUserTrackInformationoperator= (const G4VUserTrackInformation &)
 
virtual ~G4VUserTrackInformation ()
 
const G4StringGetType () const
 

Additional Inherited Members

- Protected Attributes inherited from G4VUserTrackInformation
G4StringpType
 

Detailed Description

Definition at line 50 of file CexmcIncidentParticleTrackInfo.hh.

Constructor & Destructor Documentation

CexmcIncidentParticleTrackInfo::CexmcIncidentParticleTrackInfo ( CexmcTrackType  trackType = CexmcInsipidTrack)
explicit

Definition at line 47 of file CexmcIncidentParticleTrackInfo.cc.

48  :
49  CexmcTrackInfo( trackType ), currentTrackLengthInTarget( 0. ),
50  finalTrackLengthInTarget( 0. ), isStudiedProcessActivated( false ),
51  needsTrackLengthResampling( false )
52 {
53 }
CexmcTrackInfo(CexmcTrackType trackType=CexmcInsipidTrack, G4int copyNumber=0)

Member Function Documentation

void CexmcIncidentParticleTrackInfo::ActivateStudiedProcess ( G4bool  on = true)
inline

Definition at line 145 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcSteppingAction::UserSteppingAction().

147 {
148  isStudiedProcessActivated = on;
149 }
void CexmcIncidentParticleTrackInfo::AddTrackLengthInTarget ( G4double  value)
inline

Definition at line 96 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcSteppingAction::UserSteppingAction().

98 {
99  currentTrackLengthInTarget += value;
100 }
const XML_Char int const XML_Char * value
G4double CexmcIncidentParticleTrackInfo::GetCurrentTrackLengthInTarget ( void  ) const
inline

Definition at line 89 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcStudiedProcess::PostStepGetPhysicalInteractionLength().

91 {
92  return currentTrackLengthInTarget;
93 }
G4double CexmcIncidentParticleTrackInfo::GetFinalTrackLengthInTarget ( void  ) const
inline

Definition at line 110 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcStudiedProcess::PostStepGetPhysicalInteractionLength().

112 {
113  return finalTrackLengthInTarget;
114 }
G4int CexmcIncidentParticleTrackInfo::GetTypeInfo ( void  ) const
virtual
G4bool CexmcIncidentParticleTrackInfo::IsStudiedProcessActivated ( void  ) const
inline

Definition at line 138 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcStudiedProcess::PostStepGetPhysicalInteractionLength(), and CexmcSteppingAction::UserSteppingAction().

140 {
141  return isStudiedProcessActivated;
142 }
G4bool CexmcIncidentParticleTrackInfo::NeedsTrackLengthResampling ( void  ) const
inline

Definition at line 131 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcSteppingAction::UserSteppingAction().

133 {
134  return needsTrackLengthResampling;
135 }
void CexmcIncidentParticleTrackInfo::ResetCurrentTrackLengthInTarget ( void  )
inline

Definition at line 124 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcPhysicsList< BasePhysics, StudiedPhysics, ProductionModel >::ResampleTrackLengthInTarget().

126 {
127  currentTrackLengthInTarget = 0.;
128 }
void CexmcIncidentParticleTrackInfo::SetFinalTrackLengthInTarget ( G4double  value)
inline

Definition at line 117 of file CexmcIncidentParticleTrackInfo.hh.

Referenced by CexmcPhysicsList< BasePhysics, StudiedPhysics, ProductionModel >::ResampleTrackLengthInTarget().

119 {
120  finalTrackLengthInTarget = value;
121 }
const XML_Char int const XML_Char * value
void CexmcIncidentParticleTrackInfo::SetNeedsTrackLengthResampling ( G4bool  on = true)
inline

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