Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
LXeUserTrackInformation Class Reference

#include <Doxymodules_optical.h>

Inheritance diagram for LXeUserTrackInformation:
G4VUserTrackInformation

Public Member Functions

 LXeUserTrackInformation ()=default
 
 ~LXeUserTrackInformation () override=default
 
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 override
 

Private Attributes

int fStatus = active
 
G4int fReflections = 0
 
G4bool fForcedraw = false
 

Detailed Description

Definition at line 71 of file Doxymodules_optical.h.

Constructor & Destructor Documentation

◆ LXeUserTrackInformation()

LXeUserTrackInformation::LXeUserTrackInformation ( )
default

◆ ~LXeUserTrackInformation()

LXeUserTrackInformation::~LXeUserTrackInformation ( )
overridedefault

Member Function Documentation

◆ SetTrackStatusFlags()

void LXeUserTrackInformation::SetTrackStatusFlags ( int  s)
inline

Definition at line 64 of file LXeUserTrackInformation.hh.

◆ AddTrackStatusFlag()

void LXeUserTrackInformation::AddTrackStatusFlag ( int  s)

Definition at line 35 of file LXeUserTrackInformation.cc.

36{
37 if(s & active) // track is now active
38 fStatus &= ~inactive; // remove any flags indicating it is inactive
39 else if(s & inactive) // track is now inactive
40 fStatus &= ~active; // remove any flags indicating it is active
41 fStatus |= s; // add new flags
42}

◆ GetTrackStatus()

int LXeUserTrackInformation::GetTrackStatus ( ) const
inline

Definition at line 69 of file LXeUserTrackInformation.hh.

69{ return fStatus; }

◆ IncReflections()

void LXeUserTrackInformation::IncReflections ( )
inline

Definition at line 71 of file LXeUserTrackInformation.hh.

◆ GetReflectionCount()

G4int LXeUserTrackInformation::GetReflectionCount ( ) const
inline

Definition at line 72 of file LXeUserTrackInformation.hh.

72{ return fReflections; }

◆ SetForceDrawTrajectory()

void LXeUserTrackInformation::SetForceDrawTrajectory ( G4bool  b)
inline

Definition at line 74 of file LXeUserTrackInformation.hh.

◆ GetForceDrawTrajectory()

G4bool LXeUserTrackInformation::GetForceDrawTrajectory ( )
inline

Definition at line 75 of file LXeUserTrackInformation.hh.

75{ return fForcedraw; }

◆ Print()

virtual void LXeUserTrackInformation::Print ( ) const
inlineoverridevirtual

Definition at line 77 of file LXeUserTrackInformation.hh.

77{};

Member Data Documentation

◆ fStatus

int LXeUserTrackInformation::fStatus = active
private

Definition at line 80 of file LXeUserTrackInformation.hh.

◆ fReflections

G4int LXeUserTrackInformation::fReflections = 0
private

Definition at line 81 of file LXeUserTrackInformation.hh.

◆ fForcedraw

G4bool LXeUserTrackInformation::fForcedraw = false
private

Definition at line 82 of file LXeUserTrackInformation.hh.


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

Applications | User Support | Publications | Collaboration