|
| Torus ()=default |
| Default constructor. More...
|
|
| Torus (Torus &&e)=default |
| Move Constructor. More...
|
|
| Torus (const Torus &e)=default |
| Copy Constructor. More...
|
|
template<typename Q > |
| Torus (const Q *p) |
| Constructor to be used with an existing object. More...
|
|
template<typename Q > |
| Torus (const Handle< Q > &e) |
| Constructor to be used when passing an already created object. More...
|
|
template<typename R , typename RMIN , typename RMAX , typename STARTPHI , typename DELTAPHI > |
| Torus (R r, RMIN rmin, RMAX rmax, STARTPHI startPhi=M_PI, DELTAPHI deltaPhi=2.*M_PI) |
| Constructor to create a new anonymous object with attribute initialization. More...
|
|
| Torus (double r, double rmin, double rmax, double startPhi=M_PI, double deltaPhi=2.*M_PI) |
| Constructor to create a new anonymous object with attribute initialization. More...
|
|
template<typename R , typename RMIN , typename RMAX , typename STARTPHI , typename DELTAPHI > |
| Torus (const std::string &nam, R r, RMIN rmin, RMAX rmax, STARTPHI startPhi=M_PI, DELTAPHI deltaPhi=2.*M_PI) |
| Constructor to create a new identified object with attribute initialization. More...
|
|
| Torus (const std::string &nam, double r, double rmin, double rmax, double startPhi=M_PI, double deltaPhi=2.*M_PI) |
| Constructor to create a new identified object with attribute initialization. More...
|
|
Torus & | operator= (Torus &©)=default |
| Move Assignment operator. More...
|
|
Torus & | operator= (const Torus ©)=default |
| Copy Assignment operator. More...
|
|
Torus & | setDimensions (double r, double rmin, double rmax, double startPhi, double deltaPhi) |
| Set the Torus dimensions. More...
|
|
double | startPhi () const |
| Accessor: start-phi value. More...
|
|
double | deltaPhi () const |
| Accessor: delta-phi value. More...
|
|
double | r () const |
| Accessor: r value (torus axial radius) More...
|
|
double | rMin () const |
| Accessor: r-min value (inner radius) More...
|
|
double | rMax () const |
| Accessor: r-max value (outer radius) More...
|
|
| Solid_type ()=default |
| Default constructor for uninitialized object. More...
|
|
| Solid_type (Solid_type &&e)=default |
| Move constructor. More...
|
|
| Solid_type (const Solid_type &e)=default |
| Copy constructor. More...
|
|
| Solid_type (TGeoTorus *p) |
| Direct assignment using the implementation pointer. More...
|
|
| Solid_type (Handle< TGeoTorus > &&e) |
| Move Constructor from handle. More...
|
|
| Solid_type (const Handle< TGeoTorus > &e) |
| Copy Constructor from handle. More...
|
|
| Solid_type (const Handle< Q > &e) |
| Constructor to be used when passing an already created object: need to check pointers. More...
|
|
Solid_type & | operator= (Solid_type &©)=default |
| Assignment move operator. More...
|
|
Solid_type & | operator= (const Solid_type ©)=default |
| Assignment copy operator. More...
|
|
const char * | name () const |
| Access to shape name. More...
|
|
Solid_type< TGeoTorus > & | setName (const char *value) |
| Set new shape name. More...
|
|
Solid_type< TGeoTorus > & | setName (const std::string &value) |
| Set new shape name. More...
|
|
const char * | title () const |
| Access to shape title (GetTitle accessor of the TGeoShape) More...
|
|
const char * | type () const |
| Access to shape type (The TClass name of the ROOT implementation) More...
|
|
| operator TGeoTorus * () const |
| Auto conversion to underlying ROOT object. More...
|
|
TGeoTorus * | operator-> () const |
| Overloaded operator -> to access underlying object. More...
|
|
std::vector< double > | dimensions () |
| Access the dimensions of the shape: inverse of the setDimensions member function. More...
|
|
Solid_type & | setDimensions (const std::vector< double > ¶ms) |
| Set the shape dimensions. As for the TGeo shape, but angles in rad rather than degrees. More...
|
|
std::string | toString (int precision=2) const |
| Conversion to string for pretty print. More...
|
|
TGeoVolume * | divide (const Volume &voldiv, const std::string &divname, int iaxis, int ndiv, double start, double step) const |
| Divide volume into subsections (See the ROOT manuloa for details) More...
|
|
Public Member Functions inherited from dd4hep::Handle< TGeoTorus > |
| Handle ()=default |
| Default constructor. More...
|
|
| Handle (Handle< TGeoTorus > &&element)=default |
| Copy constructor. More...
|
|
| Handle (const Handle< TGeoTorus > &element)=default |
| Copy constructor. More...
|
|
| Handle (TGeoTorus *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< TGeoTorus > & | operator= (Handle< TGeoTorus > &&element)=default |
| Assignment move operator. More...
|
|
Handle< TGeoTorus > & | operator= (const Handle< TGeoTorus > &element)=default |
| Assignment copy operator. More...
|
|
bool | operator== (const Handle< TGeoTorus > &element) const |
| Boolean operator == used for RB tree insertions. More...
|
|
bool | operator< (const Handle< TGeoTorus > &element) const |
| Boolean operator < used for RB tree insertions. More...
|
|
bool | operator> (const Handle< TGeoTorus > &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< TGeoTorus > & | clear () |
| Release the object held by the handle. More...
|
|
TGeoTorus * | operator-> () const |
| Access the held object using the -> operator. More...
|
|
| operator TGeoTorus & () const |
| Automatic type conversion to an object references. More...
|
|
TGeoTorus & | operator* () const |
| Access the held object using the * operator. More...
|
|
TGeoTorus * | 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...
|
|
TGeoTorus * | 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...
|
|
Class describing a Torus shape.
For any further documentation please see the following ROOT documentation:
- See also
- http://root.cern.ch/root/html/TGeoTorus.html
- Author
- M.Frank
- Version
- 1.0
Definition at line 1226 of file Shapes.h.