Geant4  10.03
G4AdjointTrackingAction Class Reference

#include <G4AdjointTrackingAction.hh>

+ Inheritance diagram for G4AdjointTrackingAction:
+ Collaboration diagram for G4AdjointTrackingAction:

Public Member Functions

 G4AdjointTrackingAction (G4AdjointSteppingAction *anAction)
 
virtual ~G4AdjointTrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
void RegisterAtEndOfAdjointTrack ()
 
void ClearEndOfAdjointTrackInfoVectors ()
 
void SetUserForwardTrackingAction (G4UserTrackingAction *anAction)
 
G4ThreeVector GetPositionAtEndOfLastAdjointTrack (size_t i=0)
 
G4ThreeVector GetDirectionAtEndOfLastAdjointTrack (size_t i=0)
 
G4double GetEkinAtEndOfLastAdjointTrack (size_t i=0)
 
G4double GetEkinNucAtEndOfLastAdjointTrack (size_t i=0)
 
G4double GetWeightAtEndOfLastAdjointTrack (size_t i=0)
 
G4double GetCosthAtEndOfLastAdjointTrack (size_t i=0)
 
const G4StringGetFwdParticleNameAtEndOfLastAdjointTrack ()
 
G4int GetFwdParticlePDGEncodingAtEndOfLastAdjointTrack (size_t i=0)
 
G4bool GetIsAdjointTrackingMode ()
 
G4int GetLastFwdParticleIndex (size_t i=0)
 
size_t GetNbOfAdointTracksReachingTheExternalSurface ()
 
void SetListOfPrimaryFwdParticles (std::vector< G4ParticleDefinition * > *aListOfParticles)
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()
 
virtual void SetTrackingManagerPointer (G4TrackingManager *pValue)
 

Private Attributes

G4AdjointSteppingActiontheAdjointSteppingAction
 
G4UserTrackingActiontheUserFwdTrackingAction
 
G4bool is_adjoint_tracking_mode
 
G4ThreeVector last_pos
 
G4ThreeVector last_direction
 
G4double last_ekin
 
G4double last_ekin_nuc
 
G4double last_cos_th
 
G4String last_fwd_part_name
 
G4int last_fwd_part_PDGEncoding
 
G4double last_weight
 
G4int last_fwd_part_index
 
std::vector
< G4ParticleDefinition * > * 
pListOfPrimaryFwdParticles
 
std::vector< G4ThreeVectorlast_pos_vec
 
std::vector< G4ThreeVectorlast_direction_vec
 
std::vector< G4doublelast_ekin_vec
 
std::vector< G4doublelast_ekin_nuc_vec
 
std::vector< G4doublelast_cos_th_vec
 
std::vector< G4doublelast_weight_vec
 
std::vector< G4intlast_fwd_part_PDGEncoding_vec
 
std::vector< G4intlast_fwd_part_index_vec
 

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager
 

Detailed Description

Definition at line 52 of file G4AdjointTrackingAction.hh.

Constructor & Destructor Documentation

G4AdjointTrackingAction::G4AdjointTrackingAction ( G4AdjointSteppingAction anAction)

Definition at line 43 of file G4AdjointTrackingAction.cc.

G4AdjointTrackingAction::~G4AdjointTrackingAction ( )
virtual

Definition at line 48 of file G4AdjointTrackingAction.cc.

Member Function Documentation

void G4AdjointTrackingAction::ClearEndOfAdjointTrackInfoVectors ( )

Definition at line 119 of file G4AdjointTrackingAction.cc.

References last_cos_th_vec, last_direction_vec, last_ekin_nuc_vec, last_ekin_vec, last_fwd_part_index_vec, last_fwd_part_PDGEncoding_vec, last_pos_vec, and last_weight_vec.

Referenced by G4AdjointSimManager::ClearEndOfAdjointTrackInfoVectors().

+ Here is the caller graph for this function:

G4double G4AdjointTrackingAction::GetCosthAtEndOfLastAdjointTrack ( size_t  i = 0)
inline

Definition at line 78 of file G4AdjointTrackingAction.hh.

References last_cos_th_vec.

Referenced by G4AdjointSimManager::GetCosthAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

G4ThreeVector G4AdjointTrackingAction::GetDirectionAtEndOfLastAdjointTrack ( size_t  i = 0)
inline

Definition at line 74 of file G4AdjointTrackingAction.hh.

References last_direction_vec.

Referenced by G4AdjointSimManager::GetDirectionAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

G4double G4AdjointTrackingAction::GetEkinAtEndOfLastAdjointTrack ( size_t  i = 0)
inline

Definition at line 75 of file G4AdjointTrackingAction.hh.

References last_ekin_vec.

Referenced by G4AdjointSimManager::GetEkinAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

G4double G4AdjointTrackingAction::GetEkinNucAtEndOfLastAdjointTrack ( size_t  i = 0)
inline

Definition at line 76 of file G4AdjointTrackingAction.hh.

References last_ekin_nuc_vec.

Referenced by G4AdjointSimManager::GetEkinNucAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

const G4String& G4AdjointTrackingAction::GetFwdParticleNameAtEndOfLastAdjointTrack ( )
inline

Definition at line 79 of file G4AdjointTrackingAction.hh.

References last_fwd_part_name.

Referenced by G4AdjointSimManager::GetFwdParticleNameAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

G4int G4AdjointTrackingAction::GetFwdParticlePDGEncodingAtEndOfLastAdjointTrack ( size_t  i = 0)
inline

Definition at line 80 of file G4AdjointTrackingAction.hh.

References last_fwd_part_PDGEncoding_vec.

Referenced by G4AdjointSimManager::GetFwdParticlePDGEncodingAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

G4bool G4AdjointTrackingAction::GetIsAdjointTrackingMode ( )
inline

Definition at line 81 of file G4AdjointTrackingAction.hh.

References is_adjoint_tracking_mode.

Referenced by G4AdjointSimManager::GetAdjointTrackingMode().

+ Here is the caller graph for this function:

G4int G4AdjointTrackingAction::GetLastFwdParticleIndex ( size_t  i = 0)
inline

Definition at line 82 of file G4AdjointTrackingAction.hh.

References last_fwd_part_index_vec.

Referenced by G4AdjointSimManager::GetFwdParticleIndexAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

size_t G4AdjointTrackingAction::GetNbOfAdointTracksReachingTheExternalSurface ( )
inline

Definition at line 84 of file G4AdjointTrackingAction.hh.

References last_pos_vec.

Referenced by G4AdjointStackingAction::ClassifyNewTrack(), and G4AdjointSimManager::GetNbOfAdointTracksReachingTheExternalSurface().

+ Here is the caller graph for this function:

G4ThreeVector G4AdjointTrackingAction::GetPositionAtEndOfLastAdjointTrack ( size_t  i = 0)
inline

Definition at line 73 of file G4AdjointTrackingAction.hh.

References last_pos_vec.

Referenced by G4AdjointSimManager::GetPositionAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

G4double G4AdjointTrackingAction::GetWeightAtEndOfLastAdjointTrack ( size_t  i = 0)
inline

Definition at line 77 of file G4AdjointTrackingAction.hh.

References last_weight_vec.

Referenced by G4AdjointSimManager::GetWeightAtEndOfLastAdjointTrack().

+ Here is the caller graph for this function:

void G4AdjointTrackingAction::PreUserTrackingAction ( const G4Track aTrack)
virtual
void G4AdjointTrackingAction::RegisterAtEndOfAdjointTrack ( )
void G4AdjointTrackingAction::SetListOfPrimaryFwdParticles ( std::vector< G4ParticleDefinition * > *  aListOfParticles)
inline

Definition at line 85 of file G4AdjointTrackingAction.hh.

References pListOfPrimaryFwdParticles.

Referenced by G4AdjointSimManager::G4AdjointSimManager().

+ Here is the caller graph for this function:

void G4AdjointTrackingAction::SetUserForwardTrackingAction ( G4UserTrackingAction anAction)
inline

Definition at line 71 of file G4AdjointTrackingAction.hh.

References theUserFwdTrackingAction.

Referenced by G4AdjointSimManager::SetAdjointActions().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4AdjointTrackingAction::is_adjoint_tracking_mode
private
G4double G4AdjointTrackingAction::last_cos_th
private

Definition at line 100 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

std::vector<G4double> G4AdjointTrackingAction::last_cos_th_vec
private
G4ThreeVector G4AdjointTrackingAction::last_direction
private

Definition at line 98 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

std::vector<G4ThreeVector> G4AdjointTrackingAction::last_direction_vec
private
G4double G4AdjointTrackingAction::last_ekin
private

Definition at line 99 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

G4double G4AdjointTrackingAction::last_ekin_nuc
private

Definition at line 99 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

std::vector<G4double> G4AdjointTrackingAction::last_ekin_nuc_vec
private
std::vector<G4double> G4AdjointTrackingAction::last_ekin_vec
private
G4int G4AdjointTrackingAction::last_fwd_part_index
private

Definition at line 104 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

std::vector<G4int> G4AdjointTrackingAction::last_fwd_part_index_vec
private
G4String G4AdjointTrackingAction::last_fwd_part_name
private
G4int G4AdjointTrackingAction::last_fwd_part_PDGEncoding
private

Definition at line 102 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

std::vector<G4int> G4AdjointTrackingAction::last_fwd_part_PDGEncoding_vec
private
G4ThreeVector G4AdjointTrackingAction::last_pos
private

Definition at line 97 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

G4double G4AdjointTrackingAction::last_weight
private

Definition at line 103 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction().

std::vector<G4double> G4AdjointTrackingAction::last_weight_vec
private
std::vector<G4ParticleDefinition*>* G4AdjointTrackingAction::pListOfPrimaryFwdParticles
private
G4AdjointSteppingAction* G4AdjointTrackingAction::theAdjointSteppingAction
private

Definition at line 90 of file G4AdjointTrackingAction.hh.

Referenced by PostUserTrackingAction(), and PreUserTrackingAction().

G4UserTrackingAction* G4AdjointTrackingAction::theUserFwdTrackingAction
private

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