|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
28 field.
setAttr(
_U(name),
object->GetName());
29 field.
setAttr(
_U(type),
object->GetTitle());
49 field.
setAttr(
_U(name),
object->GetName());
50 field.
setAttr(
_U(type),
object->GetTitle());
53 ::snprintf(text,
sizeof(text),
"%g/mm", fld->
outerRadius);
55 ::snprintf(text,
sizeof(text),
"%g/mm", fld->
innerRadius);
57 ::snprintf(text,
sizeof(text),
"%g/tesla", fld->
innerField);
59 ::snprintf(text,
sizeof(text),
"%g/tesla", fld->
outerField);
74 ::snprintf(text,
sizeof(text),
"%g/mm", fld->
rmax);
76 ::snprintf(text,
sizeof(text),
"%g/mm", fld->
zmax);
78 ::snprintf(text,
sizeof(text),
"%g/mm", fld->
zmin);
100 field.
setAttr(
_U(name),
object->GetName());
101 field.
setAttr(
_U(type),
object->GetTitle());
121 x_coeff.setAttr(
_U(value),c);
Document document() const
Access the hosting document handle of this DOM element.
void _decompose(const TGeoMatrix &matrix, Position &pos, Rotation3D &rot)
Decompose a generic ROOT Matrix into a translation (Position) and a Rotation3D.
Implementation object of a Multipole magnetic field.
void append(Handle_t e) const
Append a DOM element to the current node.
bool isValid() const
Check the validity of the object held by the handle.
std::string _toString(bool value)
String conversions: boolean value to string.
Class to easily access the properties of single XmlElements.
#define DECLARE_XML_PROCESSOR(name, func)
Implementation object of a dipole magnetic field.
void setValue(const T &val) const
Set element value.
Implementation object of a field with constant strength.
double B_z
Constant Z field overlay.
Direction direction
Field direction.
Transform3D transform
Position transformation of the field. Only stored here for reference.
Class supporting the basic functionality of an XML document.
ROOT::Math::XYZVector Position
double _toDouble(const std::string &value)
String conversions: string to double value.
User abstraction class to manipulate XML elements within a document.
Solid volume
Boundary volume (optional)
Namespace for the AIDA detector description toolkit.
Attribute setAttr(const XmlChar *nam, const T &val) const
Set single attribute.
Coefficents coefficents
Multi-pole coefficients.
dd4hep::xml::Element xml_elt_t
The main interface to the dd4hep detector description package.
Attribute setAttr(const XmlChar *t, const XmlChar *v) const
Generic attribute setter with unicode value.
std::string type
The object type.
ROOT::Math::RotationZYX RotationZYX
dd4hep::xml::Dimension xml_dim_t
Implementation object of a solenoidal magnetic field.