Geant4  10.00.p01
WLSTrajectory Class Reference

#include <WLSTrajectory.hh>

+ Inheritance diagram for WLSTrajectory:
+ Collaboration diagram for WLSTrajectory:

Public Member Functions

 WLSTrajectory ()
 
 WLSTrajectory (const G4Track *)
 
 WLSTrajectory (WLSTrajectory &)
 
virtual ~WLSTrajectory ()
 
void * operator new (size_t)
 
void operator delete (void *)
 
int operator== (const WLSTrajectory &right) const
 
virtual G4int GetTrackID () const
 
virtual G4int GetParentID () const
 
virtual G4String GetParticleName () const
 
virtual G4double GetCharge () const
 
virtual G4int GetPDGEncoding () const
 
virtual G4ThreeVector GetInitialMomentum () const
 
virtual void ShowTrajectory (std::ostream &os=G4cout) const
 
virtual void DrawTrajectory () const
 
virtual void AppendStep (const G4Step *aStep)
 
virtual void MergeTrajectory (G4VTrajectory *secondTrajectory)
 
G4ParticleDefinitionGetParticleDefinition ()
 
virtual int GetPointEntries () const
 
virtual G4VTrajectoryPointGetPoint (G4int i) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 
void SetDrawTrajectory (G4bool b)
 
void WLS ()
 
void SetForceDrawTrajectory (G4bool b)
 
void SetForceNoDrawTrajectory (G4bool b)
 
- Public Member Functions inherited from G4VTrajectory
 G4VTrajectory ()
 
virtual ~G4VTrajectory ()
 
G4bool operator== (const G4VTrajectory &right) const
 

Private Attributes

WLSTrajectoryPointContainerfpPointsContainer
 
G4int fTrackID
 
G4int fParentID
 
G4double fPDGCharge
 
G4int fPDGEncoding
 
G4String fParticleName
 
G4ThreeVector fInitialMomentum
 
G4bool fWLS
 
G4bool fDrawIt
 
G4bool fForceNoDraw
 
G4bool fForceDraw
 
G4ParticleDefinitionfParticleDefinition
 

Detailed Description

Definition at line 53 of file WLSTrajectory.hh.

Constructor & Destructor Documentation

WLSTrajectory::WLSTrajectory ( )

Definition at line 59 of file WLSTrajectory.cc.

References fDrawIt, fForceDraw, fForceNoDraw, fParticleDefinition, and fWLS.

WLSTrajectory::WLSTrajectory ( const G4Track aTrack)
WLSTrajectory::WLSTrajectory ( WLSTrajectory right)
WLSTrajectory::~WLSTrajectory ( )
virtual

Definition at line 120 of file WLSTrajectory.cc.

References fpPointsContainer.

Member Function Documentation

void WLSTrajectory::AppendStep ( const G4Step aStep)
virtual

Implements G4VTrajectory.

Definition at line 234 of file WLSTrajectory.cc.

References fpPointsContainer.

std::vector< G4AttValue > * WLSTrajectory::CreateAttValues ( ) const
virtual

Reimplemented from G4VTrajectory.

Definition at line 306 of file WLSTrajectory.cc.

References G4UIcommand::ConvertToString(), fInitialMomentum, fParentID, fParticleName, fPDGCharge, fPDGEncoding, fTrackID, G4BestUnit, G4cout, GetAttDefs(), and GetPointEntries().

+ Here is the call graph for this function:

void WLSTrajectory::DrawTrajectory ( ) const
virtual

Reimplemented from G4VTrajectory.

Definition at line 141 of file WLSTrajectory.cc.

References G4Polymarker::circles, G4VVisManager::Draw(), fDrawIt, fForceDraw, fForceNoDraw, G4VMarker::filled, fParticleDefinition, fWLS, G4VTrajectoryPoint::GetAuxiliaryPoints(), G4VVisManager::GetConcreteInstance(), GetPoint(), GetPointEntries(), G4VTrajectoryPoint::GetPosition(), G4OpticalPhoton::OpticalPhotonDefinition(), pos, G4VMarker::SetFillStyle(), G4Polymarker::SetMarkerType(), G4VMarker::SetScreenSize(), G4Visible::SetVisAttributes(), and G4Polymarker::squares.

Referenced by WLSEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::map< G4String, G4AttDef > * WLSTrajectory::GetAttDefs ( ) const
virtual

Reimplemented from G4VTrajectory.

Definition at line 264 of file WLSTrajectory.cc.

References G4AttDefStore::GetInstance().

Referenced by CreateAttValues().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual G4double WLSTrajectory::GetCharge ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 79 of file WLSTrajectory.hh.

References fPDGCharge.

Referenced by WLSEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

virtual G4ThreeVector WLSTrajectory::GetInitialMomentum ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 81 of file WLSTrajectory.hh.

References fInitialMomentum.

virtual G4int WLSTrajectory::GetParentID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 77 of file WLSTrajectory.hh.

References fParentID.

G4ParticleDefinition * WLSTrajectory::GetParticleDefinition ( )

Definition at line 241 of file WLSTrajectory.cc.

References fParticleName, and G4ParticleTable::GetParticleTable().

+ Here is the call graph for this function:

virtual G4String WLSTrajectory::GetParticleName ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 78 of file WLSTrajectory.hh.

References fParticleName.

Referenced by WLSEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

virtual G4int WLSTrajectory::GetPDGEncoding ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 80 of file WLSTrajectory.hh.

References fPDGEncoding.

virtual G4VTrajectoryPoint* WLSTrajectory::GetPoint ( G4int  i) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 95 of file WLSTrajectory.hh.

References fpPointsContainer.

Referenced by DrawTrajectory().

+ Here is the caller graph for this function:

virtual int WLSTrajectory::GetPointEntries ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 93 of file WLSTrajectory.hh.

References fpPointsContainer.

Referenced by CreateAttValues(), DrawTrajectory(), and MergeTrajectory().

+ Here is the caller graph for this function:

virtual G4int WLSTrajectory::GetTrackID ( ) const
inlinevirtual

Implements G4VTrajectory.

Definition at line 76 of file WLSTrajectory.hh.

References fTrackID.

void WLSTrajectory::MergeTrajectory ( G4VTrajectory secondTrajectory)
virtual

Implements G4VTrajectory.

Definition at line 248 of file WLSTrajectory.cc.

References fpPointsContainer, GetPointEntries(), and second.

+ Here is the call graph for this function:

void WLSTrajectory::operator delete ( void *  aTrajectory)
inline

Definition at line 138 of file WLSTrajectory.hh.

References WLSTrajectoryAllocator.

void * WLSTrajectory::operator new ( size_t  )
inline

Definition at line 132 of file WLSTrajectory.hh.

References WLSTrajectoryAllocator.

int WLSTrajectory::operator== ( const WLSTrajectory right) const
inline

Definition at line 71 of file WLSTrajectory.hh.

void WLSTrajectory::SetDrawTrajectory ( G4bool  b)
inline

Definition at line 101 of file WLSTrajectory.hh.

References fDrawIt.

Referenced by WLSTrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

void WLSTrajectory::SetForceDrawTrajectory ( G4bool  b)
inline

Definition at line 103 of file WLSTrajectory.hh.

References fForceDraw.

Referenced by WLSEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void WLSTrajectory::SetForceNoDrawTrajectory ( G4bool  b)
inline

Definition at line 104 of file WLSTrajectory.hh.

References fForceNoDraw.

Referenced by WLSEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void WLSTrajectory::ShowTrajectory ( std::ostream &  os = G4cout) const
virtual

Reimplemented from G4VTrajectory.

Definition at line 132 of file WLSTrajectory.cc.

References G4VTrajectory::ShowTrajectory().

+ Here is the call graph for this function:

void WLSTrajectory::WLS ( )
inline

Definition at line 102 of file WLSTrajectory.hh.

References fWLS.

Referenced by WLSTrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool WLSTrajectory::fDrawIt
private

Definition at line 122 of file WLSTrajectory.hh.

Referenced by DrawTrajectory(), SetDrawTrajectory(), and WLSTrajectory().

G4bool WLSTrajectory::fForceDraw
private

Definition at line 124 of file WLSTrajectory.hh.

Referenced by DrawTrajectory(), SetForceDrawTrajectory(), and WLSTrajectory().

G4bool WLSTrajectory::fForceNoDraw
private

Definition at line 123 of file WLSTrajectory.hh.

Referenced by DrawTrajectory(), SetForceNoDrawTrajectory(), and WLSTrajectory().

G4ThreeVector WLSTrajectory::fInitialMomentum
private

Definition at line 119 of file WLSTrajectory.hh.

Referenced by CreateAttValues(), GetInitialMomentum(), and WLSTrajectory().

G4int WLSTrajectory::fParentID
private

Definition at line 115 of file WLSTrajectory.hh.

Referenced by CreateAttValues(), GetParentID(), and WLSTrajectory().

G4ParticleDefinition* WLSTrajectory::fParticleDefinition
private

Definition at line 126 of file WLSTrajectory.hh.

Referenced by DrawTrajectory(), and WLSTrajectory().

G4String WLSTrajectory::fParticleName
private
G4double WLSTrajectory::fPDGCharge
private

Definition at line 116 of file WLSTrajectory.hh.

Referenced by CreateAttValues(), GetCharge(), and WLSTrajectory().

G4int WLSTrajectory::fPDGEncoding
private

Definition at line 117 of file WLSTrajectory.hh.

Referenced by CreateAttValues(), GetPDGEncoding(), and WLSTrajectory().

WLSTrajectoryPointContainer* WLSTrajectory::fpPointsContainer
private
G4int WLSTrajectory::fTrackID
private

Definition at line 114 of file WLSTrajectory.hh.

Referenced by CreateAttValues(), GetTrackID(), and WLSTrajectory().

G4bool WLSTrajectory::fWLS
private

Definition at line 121 of file WLSTrajectory.hh.

Referenced by DrawTrajectory(), WLS(), and WLSTrajectory().


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