Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LXeUserTrackInformation Class Reference

#include <LXeUserTrackInformation.hh>

Inheritance diagram for LXeUserTrackInformation:
Collaboration diagram for LXeUserTrackInformation:

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.

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
Definition: expat.h:262

Here is the caller graph for this function:

G4bool LXeUserTrackInformation::GetForceDrawTrajectory ( )
inline

Definition at line 70 of file LXeUserTrackInformation.hh.

70 {return fForcedraw;}

Here is the caller graph for this function:

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.

64 {return fStatus;}

Here is the caller graph for this function:

void LXeUserTrackInformation::IncReflections ( )
inline

Definition at line 66 of file LXeUserTrackInformation.hh.

66 {fReflections++;}

Here is the caller graph for this function:

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.

69 {fForcedraw=b;}
tuple b
Definition: test.py:12

Here is the caller graph for this function:

void LXeUserTrackInformation::SetTrackStatusFlags ( int  s)
inline

Definition at line 59 of file LXeUserTrackInformation.hh.

59 {fStatus=s;}
const XML_Char * s
Definition: expat.h:262

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