Geant4  10.01.p03
G4ErrorFreeTrajState Class Reference

#include <G4ErrorFreeTrajState.hh>

+ Inheritance diagram for G4ErrorFreeTrajState:
+ Collaboration diagram for G4ErrorFreeTrajState:

Public Member Functions

 G4ErrorFreeTrajState ()
 
 G4ErrorFreeTrajState (const G4String &partName, const G4Point3D &pos, const G4Vector3D &mom, const G4ErrorTrajErr &errmat=G4ErrorTrajErr(5, 0))
 
 G4ErrorFreeTrajState (const G4ErrorSurfaceTrajState &tpOS)
 
 ~G4ErrorFreeTrajState ()
 
virtual G4int Update (const G4Track *aTrack)
 
virtual G4int PropagateError (const G4Track *aTrack)
 
virtual void Dump (std::ostream &out=G4cout) const
 
virtual void SetPosition (const G4Point3D pos)
 
virtual void SetMomentum (const G4Vector3D &mom)
 
void SetParameters (const G4Point3D &pos, const G4Vector3D &mom)
 
G4ErrorFreeTrajParam GetParameters () const
 
G4ErrorMatrix GetTransfMat () const
 
- Public Member Functions inherited from G4ErrorTrajState
 G4ErrorTrajState ()
 
 G4ErrorTrajState (const G4String &partType, const G4Point3D &pos, const G4Vector3D &mom, const G4ErrorTrajErr &errmat=G4ErrorTrajErr(5, 0))
 
virtual ~G4ErrorTrajState ()
 
void SetData (const G4String &partType, const G4Point3D &pos, const G4Vector3D &mom)
 
void BuildCharge ()
 
void UpdatePosMom (const G4Point3D &pos, const G4Vector3D &mom)
 
void DumpPosMomError (std::ostream &out=G4cout) const
 
const G4StringGetParticleType () const
 
void SetParticleType (const G4String &partType)
 
G4Point3D GetPosition () const
 
G4Vector3D GetMomentum () const
 
G4ErrorTrajErr GetError () const
 
virtual void SetError (G4ErrorTrajErr em)
 
G4TrackGetG4Track () const
 
void SetG4Track (G4Track *trk)
 
G4double GetCharge () const
 
void SetCharge (G4double ch)
 
virtual G4eTSType GetTSType () const
 

Private Member Functions

void Init ()
 
G4int PropagateErrorMSC (const G4Track *aTrack)
 
void CalculateEffectiveZandA (const G4Material *mate, double &effZ, double &effA)
 
G4int PropagateErrorIoni (const G4Track *aTrack)
 

Private Attributes

G4ErrorFreeTrajParam fTrajParam
 
G4ErrorMatrix theTransfMat
 
G4bool theFirstStep
 

Friends

std::ostream & operator<< (std::ostream &, const G4ErrorFreeTrajState &ts)
 

Additional Inherited Members

- Protected Attributes inherited from G4ErrorTrajState
G4String fParticleType
 
G4Point3D fPosition
 
G4Vector3D fMomentum
 
G4double fCharge
 
G4ErrorTrajErr fError
 
G4eTSType theTSType
 
G4TracktheG4Track
 
G4int iverbose
 

Detailed Description

Definition at line 65 of file G4ErrorFreeTrajState.hh.

Constructor & Destructor Documentation

G4ErrorFreeTrajState::G4ErrorFreeTrajState ( )
inline

Definition at line 69 of file G4ErrorFreeTrajState.hh.

G4ErrorFreeTrajState::G4ErrorFreeTrajState ( const G4String partName,
const G4Point3D pos,
const G4Vector3D mom,
const G4ErrorTrajErr errmat = G4ErrorTrajErr(5,0) 
)

Definition at line 49 of file G4ErrorFreeTrajState.cc.

References fTrajParam, and Init().

+ Here is the call graph for this function:

G4ErrorFreeTrajState::~G4ErrorFreeTrajState ( )
inline

Definition at line 79 of file G4ErrorFreeTrajState.hh.

Member Function Documentation

void G4ErrorFreeTrajState::CalculateEffectiveZandA ( const G4Material mate,
double &  effZ,
double &  effA 
)
private

Definition at line 653 of file G4ErrorFreeTrajState.cc.

References g, G4Element::GetA(), G4Material::GetElement(), G4Material::GetFractionVector(), G4Material::GetNumberOfElements(), G4Element::GetZ(), and mole.

Referenced by PropagateErrorIoni(), and PropagateErrorMSC().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ErrorFreeTrajState::Dump ( std::ostream &  out = G4cout) const
virtual

Implements G4ErrorTrajState.

Definition at line 170 of file G4ErrorFreeTrajState.cc.

G4ErrorFreeTrajParam G4ErrorFreeTrajState::GetParameters ( ) const
inline

Definition at line 108 of file G4ErrorFreeTrajState.hh.

References fTrajParam.

Referenced by G4ErrorSurfaceTrajState::BuildErrorMatrix(), and G4ErrorFreeTrajState().

+ Here is the caller graph for this function:

G4ErrorMatrix G4ErrorFreeTrajState::GetTransfMat ( ) const
inline

Definition at line 111 of file G4ErrorFreeTrajState.hh.

References theTransfMat.

void G4ErrorFreeTrajState::Init ( )
private

Definition at line 161 of file G4ErrorFreeTrajState.cc.

References G4ErrorTrajState::BuildCharge(), G4eTS_FREE, theFirstStep, theTransfMat, and G4ErrorTrajState::theTSType.

Referenced by G4ErrorFreeTrajState().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ErrorFreeTrajState::PropagateErrorIoni ( const G4Track aTrack)
private

Definition at line 668 of file G4ErrorFreeTrajState.cc.

References CalculateEffectiveZandA(), cm, effZ, Emax, G4ErrorTrajState::fError, G4cout, G4endl, G4Material::GetDensity(), G4Track::GetDynamicParticle(), G4VPhysicalVolume::GetLogicalVolume(), G4DynamicParticle::GetMass(), G4LogicalVolume::GetMaterial(), G4StepPoint::GetMomentum(), G4Track::GetMomentum(), G4Step::GetPreStepPoint(), G4Track::GetStep(), G4Step::GetStepLength(), G4Track::GetTotalEnergy(), G4Track::GetVolume(), GeV, G4ErrorTrajState::iverbose, mg, and mole.

Referenced by PropagateError().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ErrorFreeTrajState::PropagateErrorMSC ( const G4Track aTrack)
private

Definition at line 602 of file G4ErrorFreeTrajState.cc.

References CalculateEffectiveZandA(), cm, effZ, G4ErrorTrajState::fError, g, G4cout, G4endl, G4DynamicParticle::GetCharge(), G4Material::GetDensity(), G4Track::GetDynamicParticle(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), G4Track::GetMomentum(), G4Material::GetName(), G4Material::GetNuclearInterLength(), G4Material::GetRadlen(), G4Track::GetStep(), G4Step::GetStepLength(), G4Track::GetTotalEnergy(), G4Track::GetVolume(), GeV, G4ErrorTrajState::iverbose, and mole.

Referenced by PropagateError().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4ErrorFreeTrajState::SetMomentum ( const G4Vector3D mom)
inlinevirtual

Reimplemented from G4ErrorTrajState.

Definition at line 98 of file G4ErrorFreeTrajState.hh.

References G4ErrorTrajState::fPosition, and SetParameters().

+ Here is the call graph for this function:

void G4ErrorFreeTrajState::SetParameters ( const G4Point3D pos,
const G4Vector3D mom 
)
inline

Definition at line 101 of file G4ErrorFreeTrajState.hh.

References G4ErrorTrajState::fMomentum, G4ErrorTrajState::fPosition, fTrajParam, pos, and G4ErrorFreeTrajParam::SetParameters().

Referenced by SetMomentum(), and SetPosition().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4ErrorFreeTrajState::SetPosition ( const G4Point3D  pos)
inlinevirtual

Reimplemented from G4ErrorTrajState.

Definition at line 95 of file G4ErrorFreeTrajState.hh.

References G4ErrorTrajState::fMomentum, and SetParameters().

+ Here is the call graph for this function:

G4int G4ErrorFreeTrajState::Update ( const G4Track aTrack)
virtual

Reimplemented from G4ErrorTrajState.

Definition at line 176 of file G4ErrorFreeTrajState.cc.

References fTrajParam, G4Track::GetMomentum(), G4Track::GetPosition(), G4ErrorFreeTrajParam::Update(), and G4ErrorTrajState::UpdatePosMom().

Referenced by G4ErrorPropagator::MakeOneStep().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const G4ErrorFreeTrajState ts 
)
friend

Definition at line 186 of file G4ErrorFreeTrajState.cc.

Member Data Documentation

G4ErrorFreeTrajParam G4ErrorFreeTrajState::fTrajParam
private
G4bool G4ErrorFreeTrajState::theFirstStep
private

Definition at line 135 of file G4ErrorFreeTrajState.hh.

Referenced by Init().

G4ErrorMatrix G4ErrorFreeTrajState::theTransfMat
private

Definition at line 133 of file G4ErrorFreeTrajState.hh.

Referenced by GetTransfMat(), Init(), and PropagateError().


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