|
| Trap ()=default |
| Default constructor. More...
|
|
| Trap (Trap &&e)=default |
| Move Constructor. More...
|
|
| Trap (const Trap &e)=default |
| Copy Constructor. More...
|
|
template<typename Q > |
| Trap (const Q *p) |
| Constructor to be used with an existing object. More...
|
|
template<typename Q > |
| Trap (const Handle< Q > &e) |
| Constructor to be used when passing an already created object. More...
|
|
| Trap (double z, double theta, double phi, double h1, double bl1, double tl1, double alpha1, double h2, double bl2, double tl2, double alpha2) |
| Constructor to create a new anonymous object with attribute initialization. More...
|
|
| Trap (double pz, double py, double px, double pLTX) |
| Constructor to create a new anonymous object for right angular wedge from STEP (Se G4 manual for details) More...
|
|
template<typename PZ , typename PY , typename PX , typename PLTX > |
| Trap (PZ pz, PY py, PX px, PLTX pLTX) |
| Constructor to create a new anonymous object with attribute initialization. More...
|
|
| Trap (const std::string &name, double z, double theta, double phi, double h1, double bl1, double tl1, double alpha1, double h2, double bl2, double tl2, double alpha2) |
| Constructor to create a new identified object with attribute initialization. More...
|
|
| Trap (const std::string &nam, double pz, double py, double px, double pLTX) |
| Constructor to create a new identified object for right angular wedge from STEP (Se G4 manual for details) More...
|
|
template<typename PZ , typename PY , typename PX , typename PLTX > |
| Trap (const std::string &nam, PZ pz, PY py, PX px, PLTX pLTX) |
| Constructor to create a new identified object with attribute initialization. More...
|
|
Trap & | operator= (Trap &©)=default |
| Move Assignment operator. More...
|
|
Trap & | operator= (const Trap ©)=default |
| Copy Assignment operator. More...
|
|
Trap & | setDimensions (double z, double theta, double phi, double h1, double bl1, double tl1, double alpha1, double h2, double bl2, double tl2, double alpha2) |
| Set the trap dimensions. More...
|
|
double | phi () const |
| Accessor: phi value. More...
|
|
double | theta () const |
| Accessor: theta value. More...
|
|
double | alpha1 () const |
| Angle between centers of x edges and y axis at low z. More...
|
|
double | alpha2 () const |
| Angle between centers of x edges and y axis at low z. More...
|
|
double | bottomLow1 () const |
| Half length in x at low z and y low edge. More...
|
|
double | bottomLow2 () const |
| Half length in x at high z and y low edge. More...
|
|
double | topLow1 () const |
| Half length in x at low z and y high edge. More...
|
|
double | topLow2 () const |
| Half length in x at high z and y high edge. More...
|
|
double | high1 () const |
| Half length in y at low z. More...
|
|
double | high2 () const |
| Half length in y at high z. More...
|
|
double | dZ () const |
| Half length in dZ. 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 (TGeoTrap *p) |
| Direct assignment using the implementation pointer. More...
|
|
| Solid_type (Handle< TGeoTrap > &&e) |
| Move Constructor from handle. More...
|
|
| Solid_type (const Handle< TGeoTrap > &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< TGeoTrap > & | setName (const char *value) |
| Set new shape name. More...
|
|
Solid_type< TGeoTrap > & | 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 TGeoTrap * () const |
| Auto conversion to underlying ROOT object. More...
|
|
TGeoTrap * | 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< TGeoTrap > |
| Handle ()=default |
| Default constructor. More...
|
|
| Handle (Handle< TGeoTrap > &&element)=default |
| Copy constructor. More...
|
|
| Handle (const Handle< TGeoTrap > &element)=default |
| Copy constructor. More...
|
|
| Handle (TGeoTrap *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< TGeoTrap > & | operator= (Handle< TGeoTrap > &&element)=default |
| Assignment move operator. More...
|
|
Handle< TGeoTrap > & | operator= (const Handle< TGeoTrap > &element)=default |
| Assignment copy operator. More...
|
|
bool | operator== (const Handle< TGeoTrap > &element) const |
| Boolean operator == used for RB tree insertions. More...
|
|
bool | operator< (const Handle< TGeoTrap > &element) const |
| Boolean operator < used for RB tree insertions. More...
|
|
bool | operator> (const Handle< TGeoTrap > &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< TGeoTrap > & | clear () |
| Release the object held by the handle. More...
|
|
TGeoTrap * | operator-> () const |
| Access the held object using the -> operator. More...
|
|
| operator TGeoTrap & () const |
| Automatic type conversion to an object references. More...
|
|
TGeoTrap & | operator* () const |
| Access the held object using the * operator. More...
|
|
TGeoTrap * | 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...
|
|
TGeoTrap * | 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 trap shape.
For any further documentation please see the following ROOT documentation:
- See also
- http://root.cern.ch/root/html/TGeoTrap.html
- Author
- M.Frank
- Version
- 1.0
Definition at line 974 of file Shapes.h.