#include <DetDesc/Surface.h>
Inheritance diagram for Surface:
Public Types | |
typedef SmartRefVector< TabulatedProperty > | Tables |
Public Member Functions | |
Surface (const std::string &Name="") | |
constructor | |
virtual | ~Surface () |
virtual const CLID & | clID () const |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the output stream (ASCII). | |
virtual MsgStream & | fillStream (MsgStream &s) const |
Fill the output stream (ASCII). | |
unsigned int | model () const |
accessors: (naming from Geant4, except for last) "model" | |
Surface & | setModel (const unsigned int) |
unsigned int | finish () const |
"finish" | |
Surface & | setFinish (const unsigned int) |
unsigned int | type () const |
"type" | |
Surface & | setType (const unsigned int) |
double | value () const |
"value" - (NB: ugly name!) | |
Surface & | setValue (const double) |
const std::string & | firstVol () const |
name of first physical volume | |
Surface & | setFirstVol (const std::string &) |
const std::string & | secondVol () const |
name of second physical volume | |
Surface & | setSecondVol (const std::string &) |
const Tables & | tabulatedProperties () const |
tables of optical prorties | |
Tables & | tabulatedProperties () |
void | setRegistry (IRegistry *pRegistry) |
IRegistry * | registry () const |
LinkManager * | linkMgr () const |
unsigned char | version () const |
void | setVersion (unsigned char vsn) |
unsigned long | refCount () const |
virtual unsigned long | addRef () |
virtual unsigned long | release () |
const std::string & | name () const |
virtual StreamBuffer & | serialize (StreamBuffer &s) |
virtual StreamBuffer & | serialize (StreamBuffer &s) const |
Static Public Member Functions | |
static const CLID & | classID () |
Private Attributes | |
unsigned int | m_model |
unsigned int | m_finish |
unsigned int | m_type |
double | m_value |
std::string | m_firstVol |
std::string | m_secondVol |
Tables | m_props |
Friends | |
friend std::ostream & | operator<< (std::ostream &s, const DataObject &obj) |
Class is later converted into combination of Geant4 classes: G4OpticalSurface, G4LogicalSkinSurface G4LogicalBorderSurface
Definition at line 29 of file Surface.h.
Surface::Surface | ( | const std::string & | Name = "" |
) |
constructor
virtual Surface::~Surface | ( | ) | [virtual] |
virtual const CLID& Surface::clID | ( | ) | const [inline, virtual] |
Reimplemented from DataObject.
Definition at line 42 of file Surface.h.
00042 { return Surface::classID() ; }
static const CLID& Surface::classID | ( | ) | [inline, static] |
Reimplemented from DataObject.
Definition at line 43 of file Surface.h.
00043 { return CLID_Surface ; }
virtual std::ostream& Surface::fillStream | ( | std::ostream & | s | ) | const [virtual] |
Fill the output stream (ASCII).
unsigned int Surface::model | ( | ) | const [inline] |
accessors: (naming from Geant4, except for last) "model"
Surface& Surface::setModel | ( | const unsigned | int | ) | [inline] |
unsigned int Surface::finish | ( | ) | const [inline] |
"finish"
Surface& Surface::setFinish | ( | const unsigned | int | ) | [inline] |
unsigned int Surface::type | ( | ) | const [inline] |
"type"
Surface& Surface::setType | ( | const unsigned | int | ) | [inline] |
double Surface::value | ( | ) | const [inline] |
"value" - (NB: ugly name!)
Surface& Surface::setValue | ( | const | double | ) | [inline] |
const std::string& Surface::firstVol | ( | ) | const [inline] |
name of first physical volume
Surface& Surface::setFirstVol | ( | const std::string & | ) | [inline] |
const std::string& Surface::secondVol | ( | ) | const [inline] |
name of second physical volume
Surface& Surface::setSecondVol | ( | const std::string & | ) | [inline] |
const Tables& Surface::tabulatedProperties | ( | ) | const [inline] |
tables of optical prorties
Tables& Surface::tabulatedProperties | ( | ) | [inline] |
unsigned int Surface::m_model [private] |
unsigned int Surface::m_finish [private] |
unsigned int Surface::m_type [private] |
double Surface::m_value [private] |
std::string Surface::m_firstVol [private] |
std::string Surface::m_secondVol [private] |
Tables Surface::m_props [private] |