DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class to support the handling of optical surfaces. More...
#include <OpticalSurfaces.h>
Public Types | |
typedef TGeoSkinSurface | Object |
typedef const TGDMLMatrix * | Property |
Public Types inherited from dd4hep::Handle< TGeoSkinSurface > | |
typedef TGeoSkinSurface | Object |
Extern accessible definition of the contained element type. More... | |
typedef Handle< TGeoSkinSurface > | Base |
Self type: used by sub-classes. More... | |
Public Member Functions | |
SkinSurface ()=default | |
Default constructor. More... | |
SkinSurface (const SkinSurface &e)=default | |
Copy constructor. More... | |
SkinSurface (Object *obj) | |
Constructor taking object pointer. More... | |
SkinSurface (const Handle< Object > &e) | |
Constructor from same-type handle. More... | |
template<typename Q > | |
SkinSurface (const Handle< Q > &e) | |
Constructor from arbitrary handle. More... | |
SkinSurface (Detector &detector, DetElement de, const std::string &nam, OpticalSurface surf, Volume vol) | |
Initializing constructor. More... | |
SkinSurface & | operator= (const SkinSurface &m)=default |
Assignment operator. More... | |
OpticalSurface | surface () const |
Access surface data. More... | |
Volume | volume () const |
Access the node of the skin surface. More... | |
Property | property (const char *name) const |
Access to tabular properties of the optical surface. More... | |
Property | property (const std::string &name) const |
Access to tabular properties of the optical surface. More... | |
Public Member Functions inherited from dd4hep::Handle< TGeoSkinSurface > | |
Handle ()=default | |
Default constructor. More... | |
Handle (Handle< TGeoSkinSurface > &&element)=default | |
Copy constructor. More... | |
Handle (const Handle< TGeoSkinSurface > &element)=default | |
Copy constructor. More... | |
Handle (TGeoSkinSurface *element) | |
Initializing constructor from pointer. More... | |
Handle (Q *element) | |
Initializing constructor from unrelated pointer with type checking. More... | |
Handle (const Handle< Q > &element) | |
Initializing constructor from unrelated handle with type checking. More... | |
Handle< TGeoSkinSurface > & | operator= (Handle< TGeoSkinSurface > &&element)=default |
Assignment move operator. More... | |
Handle< TGeoSkinSurface > & | operator= (const Handle< TGeoSkinSurface > &element)=default |
Assignment copy operator. More... | |
bool | operator== (const Handle< TGeoSkinSurface > &element) const |
Boolean operator == used for RB tree insertions. More... | |
bool | operator< (const Handle< TGeoSkinSurface > &element) const |
Boolean operator < used for RB tree insertions. More... | |
bool | operator> (const Handle< TGeoSkinSurface > &element) const |
Boolean operator > used for RB tree insertions. More... | |
bool | isValid () const |
Check the validity of the object held by the handle. More... | |
bool | operator! () const |
Check the validity of the object held by the handle. More... | |
Handle< TGeoSkinSurface > & | clear () |
Release the object held by the handle. More... | |
TGeoSkinSurface * | operator-> () const |
Access the held object using the -> operator. More... | |
operator TGeoSkinSurface & () const | |
Automatic type conversion to an object references. More... | |
TGeoSkinSurface & | operator* () const |
Access the held object using the * operator. More... | |
TGeoSkinSurface * | ptr () const |
Access to the held object. More... | |
Q * | _ptr () const |
Access to an unrelated object type. More... | |
Q * | data () const |
Access to an unrelated object type. More... | |
Q & | object () const |
Access to an unrelated object type. More... | |
TGeoSkinSurface * | access () const |
Checked object access. Throws invalid handle runtime exception if invalid handle. More... | |
const char * | name () const |
Access the object name (or "" if not supported by the object) More... | |
const char * | name () const |
const char * | name () const |
void | assign (Object *n, const std::string &nam, const std::string &title) |
Assign a new named object. Note: object references must be managed by the user. More... | |
void | assign (_Segmentation *s, const std::string &n, const std::string &) |
void | assign (NamedObject *p, const std::string &n, const std::string &t) |
void | destroy () |
Destroy the underlying object (be careful here: things are not reference counted)! More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from dd4hep::Handle< TGeoSkinSurface > | |
static void | bad_assignment (const std::type_info &from, const std::type_info &to) |
Helper routine called when unrelated types are assigned. More... | |
Public Attributes inherited from dd4hep::Handle< TGeoSkinSurface > | |
TGeoSkinSurface * | m_element |
Single and only data member: Reference to the actual element. More... | |
Class to support the handling of optical surfaces.
Definition at line 111 of file OpticalSurfaces.h.
typedef TGeoSkinSurface dd4hep::SkinSurface::Object |
Definition at line 113 of file OpticalSurfaces.h.
typedef const TGDMLMatrix* dd4hep::SkinSurface::Property |
Definition at line 114 of file OpticalSurfaces.h.
|
default |
Default constructor.
|
default |
Copy constructor.
|
inline |
Constructor taking object pointer.
Definition at line 122 of file OpticalSurfaces.h.
Constructor from same-type handle.
Definition at line 124 of file OpticalSurfaces.h.
|
inline |
Constructor from arbitrary handle.
Definition at line 127 of file OpticalSurfaces.h.
SkinSurface::SkinSurface | ( | Detector & | detector, |
DetElement | de, | ||
const std::string & | nam, | ||
OpticalSurface | surf, | ||
Volume | vol | ||
) |
Initializing constructor.
Initializing constructor: Creates the object and registers it to the manager.
Definition at line 56 of file OpticalSurfaces.cpp.
|
default |
Assignment operator.
BorderSurface::Property SkinSurface::property | ( | const char * | name | ) | const |
Access to tabular properties of the optical surface.
Definition at line 79 of file OpticalSurfaces.cpp.
BorderSurface::Property SkinSurface::property | ( | const std::string & | name | ) | const |
Access to tabular properties of the optical surface.
Definition at line 85 of file OpticalSurfaces.cpp.
OpticalSurface SkinSurface::surface | ( | ) | const |
Access surface data.
Definition at line 74 of file OpticalSurfaces.cpp.
Volume SkinSurface::volume | ( | ) | const |
Access the node of the skin surface.
Definition at line 91 of file OpticalSurfaces.cpp.