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

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

+ Collaboration diagram for GMocrenDetector:

Classes

struct  Edge
 

Public Member Functions

 GMocrenDetector ()
 
 ~GMocrenDetector ()
 
int getNumberOfEdges ()
 
void addEdge (float _startx, float _starty, float _startz, float _endx, float _endy, float _endz)
 
void getEdge (float &_startx, float &_starty, float &_startz, float &_endx, float &_endy, float &_endz, int _num)
 
void setDetector (std::vector< struct Edge > &_aDetector)
 
void setColor (unsigned char _color[3])
 
void getColor (unsigned char _color[3])
 
void setName (std::string &_name)
 
std::string getName ()
 
void translate (std::vector< float > &_tranlate)
 

Protected Attributes

std::vector< struct EdgekDetector
 
unsigned char kColor [3]
 
std::string kName
 

Detailed Description

Definition at line 127 of file G4GMocrenIO.hh.

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

Constructor & Destructor Documentation

GMocrenDetector::GMocrenDetector ( )

Definition at line 300 of file G4GMocrenIO.cc.

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

References kColor, and kDetector.

GMocrenDetector::~GMocrenDetector ( )
inline

Definition at line 140 of file G4GMocrenIO.hh.

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

Member Function Documentation

void GMocrenDetector::addEdge ( float  _startx,
float  _starty,
float  _startz,
float  _endx,
float  _endy,
float  _endz 
)

Definition at line 305 of file G4GMocrenIO.cc.

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

References GMocrenDetector::Edge::endPoint, kDetector, and GMocrenDetector::Edge::startPoint.

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

Definition at line 153 of file G4GMocrenIO.hh.

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

References kColor.

void GMocrenDetector::getEdge ( float &  _startx,
float &  _starty,
float &  _startz,
float &  _endx,
float &  _endy,
float &  _endz,
int  _num 
)

Definition at line 316 of file G4GMocrenIO.cc.

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

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

+ Here is the call graph for this function:

std::string GMocrenDetector::getName ( void  )
inline

Definition at line 157 of file G4GMocrenIO.hh.

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

References kName.

int GMocrenDetector::getNumberOfEdges ( )
inline

Definition at line 143 of file G4GMocrenIO.hh.

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

References kDetector.

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

Definition at line 150 of file G4GMocrenIO.hh.

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

References kColor.

Referenced by G4GMocrenIO::addDetector().

+ Here is the caller graph for this function:

void GMocrenDetector::setDetector ( std::vector< struct Edge > &  _aDetector)
inline

Definition at line 149 of file G4GMocrenIO.hh.

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

References kDetector.

Referenced by G4GMocrenIO::addDetector().

+ Here is the caller graph for this function:

void GMocrenDetector::setName ( std::string &  _name)
inline

Definition at line 156 of file G4GMocrenIO.hh.

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

References kName.

Referenced by G4GMocrenIO::addDetector().

+ Here is the caller graph for this function:

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

Definition at line 333 of file G4GMocrenIO.cc.

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

References kDetector.

Member Data Documentation

unsigned char GMocrenDetector::kColor[3]
protected

Definition at line 135 of file G4GMocrenIO.hh.

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

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

std::vector<struct Edge> GMocrenDetector::kDetector
protected

Definition at line 134 of file G4GMocrenIO.hh.

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

Referenced by addEdge(), getEdge(), getNumberOfEdges(), GMocrenDetector(), setDetector(), and translate().

std::string GMocrenDetector::kName
protected

Definition at line 136 of file G4GMocrenIO.hh.

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

Referenced by getName(), and setName().


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