ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GMocrenTrack Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/gMocren/include/G4GMocrenIO.hh>

+ Collaboration diagram for GMocrenTrack:

Classes

struct  Step
 

Public Member Functions

 GMocrenTrack ()
 
 ~GMocrenTrack ()
 
int getNumberOfSteps ()
 
void addStep (float _startx, float _starty, float _startz, float _endx, float _endy, float _endz)
 
void getStep (float &_startx, float &_starty, float &_startz, float &_endx, float &_endy, float &_endz, int _num)
 
void setTrack (std::vector< struct Step > &_aTrack)
 
void setColor (unsigned char _color[3])
 
void getColor (unsigned char _color[3])
 
void translate (std::vector< float > &_tranlate)
 

Protected Attributes

std::vector< struct StepkTrack
 
unsigned char kColor [3]
 

Detailed Description

Definition at line 91 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 91 of file G4GMocrenIO.hh

Constructor & Destructor Documentation

GMocrenTrack::GMocrenTrack ( )

Definition at line 249 of file G4GMocrenIO.cc.

View newest version in sPHENIX GitHub at line 249 of file G4GMocrenIO.cc

References kColor, and kTrack.

GMocrenTrack::~GMocrenTrack ( )
inline

Definition at line 103 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 103 of file G4GMocrenIO.hh

Member Function Documentation

void GMocrenTrack::addStep ( float  _startx,
float  _starty,
float  _startz,
float  _endx,
float  _endy,
float  _endz 
)

Definition at line 254 of file G4GMocrenIO.cc.

View newest version in sPHENIX GitHub at line 254 of file G4GMocrenIO.cc

References GMocrenTrack::Step::endPoint, kTrack, and GMocrenTrack::Step::startPoint.

void GMocrenTrack::getColor ( unsigned char  _color[3])
inline

Definition at line 116 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 116 of file G4GMocrenIO.hh

References kColor.

int GMocrenTrack::getNumberOfSteps ( )
inline

Definition at line 106 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 106 of file G4GMocrenIO.hh

References kTrack.

void GMocrenTrack::getStep ( float &  _startx,
float &  _starty,
float &  _startz,
float &  _endx,
float &  _endy,
float &  _endz,
int  _num 
)

Definition at line 265 of file G4GMocrenIO.cc.

View newest version in sPHENIX GitHub at line 265 of file G4GMocrenIO.cc

References G4VisManager::errors, G4cout, G4endl, G4VisManager::GetVerbosity(), and kTrack.

+ Here is the call graph for this function:

void GMocrenTrack::setColor ( unsigned char  _color[3])
inline

Definition at line 113 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 113 of file G4GMocrenIO.hh

References kColor.

Referenced by G4GMocrenIO::addTrack().

+ Here is the caller graph for this function:

void GMocrenTrack::setTrack ( std::vector< struct Step > &  _aTrack)
inline

Definition at line 112 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 112 of file G4GMocrenIO.hh

References kTrack.

Referenced by G4GMocrenIO::addTrack().

+ Here is the caller graph for this function:

void GMocrenTrack::translate ( std::vector< float > &  _tranlate)

Definition at line 282 of file G4GMocrenIO.cc.

View newest version in sPHENIX GitHub at line 282 of file G4GMocrenIO.cc

References kTrack.

Member Data Documentation

unsigned char GMocrenTrack::kColor[3]
protected

Definition at line 99 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 99 of file G4GMocrenIO.hh

Referenced by getColor(), GMocrenTrack(), and setColor().

std::vector<struct Step> GMocrenTrack::kTrack
protected

Definition at line 98 of file G4GMocrenIO.hh.

View newest version in sPHENIX GitHub at line 98 of file G4GMocrenIO.hh

Referenced by addStep(), getNumberOfSteps(), getStep(), GMocrenTrack(), setTrack(), and translate().


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