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

#include <LXeUserTrackInformation.hh>

Inheritance diagram for LXeUserTrackInformation:
G4VUserTrackInformation

Public Member Functions

 LXeUserTrackInformation ()
 
virtual ~LXeUserTrackInformation ()
 
void SetTrackStatusFlags (int s)
 
void AddTrackStatusFlag (int s)
 
int GetTrackStatus () const
 
void IncReflections ()
 
G4int GetReflectionCount () const
 
void SetForceDrawTrajectory (G4bool b)
 
G4bool GetForceDrawTrajectory ()
 
virtual void Print () 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 51 of file LXeUserTrackInformation.hh.

Constructor & Destructor Documentation

LXeUserTrackInformation::LXeUserTrackInformation ( )

Definition at line 36 of file LXeUserTrackInformation.cc.

37  : fStatus(active),fReflections(0),fForcedraw(false) {}
LXeUserTrackInformation::~LXeUserTrackInformation ( )
virtual

Definition at line 41 of file LXeUserTrackInformation.cc.

41 {}

Member Function Documentation

void LXeUserTrackInformation::AddTrackStatusFlag ( int  s)

Definition at line 45 of file LXeUserTrackInformation.cc.

References active, and inactive.

Referenced by LXeSteppingAction::UserSteppingAction().

46 {
47  if(s&active) //track is now active
48  fStatus&=~inactive; //remove any flags indicating it is inactive
49  else if(s&inactive) //track is now inactive
50  fStatus&=~active; //remove any flags indicating it is active
51  fStatus|=s; //add new flags
52 }
const XML_Char * s
G4bool LXeUserTrackInformation::GetForceDrawTrajectory ( )
inline

Definition at line 70 of file LXeUserTrackInformation.hh.

Referenced by LXeTrackingAction::PostUserTrackingAction().

70 {return fForcedraw;}
G4int LXeUserTrackInformation::GetReflectionCount ( ) const
inline

Definition at line 67 of file LXeUserTrackInformation.hh.

67 {return fReflections;}
int LXeUserTrackInformation::GetTrackStatus ( ) const
inline

Definition at line 64 of file LXeUserTrackInformation.hh.

Referenced by LXeTrackingAction::PostUserTrackingAction(), and LXePMTSD::ProcessHits_constStep().

64 {return fStatus;}
void LXeUserTrackInformation::IncReflections ( )
inline

Definition at line 66 of file LXeUserTrackInformation.hh.

Referenced by LXeSteppingAction::UserSteppingAction().

66 {fReflections++;}
virtual void LXeUserTrackInformation::Print ( void  ) const
inlinevirtual

Reimplemented from G4VUserTrackInformation.

Definition at line 72 of file LXeUserTrackInformation.hh.

72 {};
void LXeUserTrackInformation::SetForceDrawTrajectory ( G4bool  b)
inline

Definition at line 69 of file LXeUserTrackInformation.hh.

References test::b.

Referenced by LXeSteppingAction::UserSteppingAction().

69 {fForcedraw=b;}
void LXeUserTrackInformation::SetTrackStatusFlags ( int  s)
inline

Definition at line 59 of file LXeUserTrackInformation.hh.

59 {fStatus=s;}
const XML_Char * s

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