DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Main handle class to hold an alignment conditions object. More...
#include <Alignments.h>
Public Types | |
typedef unsigned long long int | key_type |
Forward definition of the key type. More... | |
Public Types inherited from dd4hep::Handle< detail::AlignmentObject > | |
typedef detail::AlignmentObject | Object |
Extern accessible definition of the contained element type. More... | |
typedef Handle< detail::AlignmentObject > | Base |
Self type: used by sub-classes. More... | |
Public Member Functions | |
AlignmentCondition () | |
Default constructor. More... | |
AlignmentCondition (Object *p) | |
Default constructor. More... | |
AlignmentCondition (detail::ConditionObject *p) | |
Assignment constructor from condition object. More... | |
template<typename Q > | |
AlignmentCondition (const Handle< Q > &e) | |
Constructor to be used when reading the already parsed object. More... | |
AlignmentCondition (const std::string &name) | |
Object constructor for pure alignment objects. More... | |
const IOVType & | iovType () const |
Access the IOV type. More... | |
const IOV & | iov () const |
Access the IOV block. More... | |
key_type | key () const |
Access the hash identifier. More... | |
AlignmentData & | data () |
Data accessor for the use of decorators. More... | |
const AlignmentData & | data () const |
Data accessor for the use of decorators. More... | |
const Delta & | delta () const |
Access the delta value of the object. More... | |
const TGeoHMatrix & | worldTransformation () const |
Create cached matrix to transform to world coordinates. More... | |
const TGeoHMatrix & | detectorTransformation () const |
Access the alignment/placement matrix with respect to the world. More... | |
bool | is_bound () const |
Check if object is already bound.... More... | |
Public Member Functions inherited from dd4hep::Handle< detail::AlignmentObject > | |
Handle ()=default | |
Default constructor. More... | |
Handle (Handle< detail::AlignmentObject > &&element)=default | |
Copy constructor. More... | |
Handle (const Handle< detail::AlignmentObject > &element)=default | |
Copy constructor. More... | |
Handle (detail::AlignmentObject *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< detail::AlignmentObject > & | operator= (Handle< detail::AlignmentObject > &&element)=default |
Assignment move operator. More... | |
Handle< detail::AlignmentObject > & | operator= (const Handle< detail::AlignmentObject > &element)=default |
Assignment copy operator. More... | |
bool | operator== (const Handle< detail::AlignmentObject > &element) const |
Boolean operator == used for RB tree insertions. More... | |
bool | operator< (const Handle< detail::AlignmentObject > &element) const |
Boolean operator < used for RB tree insertions. More... | |
bool | operator> (const Handle< detail::AlignmentObject > &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< detail::AlignmentObject > & | clear () |
Release the object held by the handle. More... | |
detail::AlignmentObject * | operator-> () const |
Access the held object using the -> operator. More... | |
operator detail::AlignmentObject & () const | |
Automatic type conversion to an object references. More... | |
detail::AlignmentObject & | operator* () const |
Access the held object using the * operator. More... | |
detail::AlignmentObject * | 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... | |
detail::AlignmentObject * | 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< detail::AlignmentObject > | |
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< detail::AlignmentObject > | |
detail::AlignmentObject * | m_element |
Single and only data member: Reference to the actual element. More... | |
Main handle class to hold an alignment conditions object.
Definition at line 68 of file Alignments.h.
typedef unsigned long long int dd4hep::AlignmentCondition::key_type |
Forward definition of the key type.
Definition at line 71 of file Alignments.h.
|
inline |
Default constructor.
Definition at line 75 of file Alignments.h.
|
inline |
Default constructor.
Definition at line 77 of file Alignments.h.
|
inline |
Assignment constructor from condition object.
Definition at line 79 of file Alignments.h.
|
inline |
Constructor to be used when reading the already parsed object.
Definition at line 81 of file Alignments.h.
AlignmentCondition::AlignmentCondition | ( | const std::string & | name | ) |
Object constructor for pure alignment objects.
Initializing constructor to create a new object (Specialized for AlignmentObject)
Definition at line 45 of file Alignments.cpp.
AlignmentData & AlignmentCondition::data | ( | ) |
Data accessor for the use of decorators.
Data block (bound type)
Definition at line 157 of file Alignments.cpp.
const AlignmentData & AlignmentCondition::data | ( | ) | const |
Data accessor for the use of decorators.
Definition at line 162 of file Alignments.cpp.
const Delta & AlignmentCondition::delta | ( | ) | const |
Access the delta value of the object.
Definition at line 167 of file Alignments.cpp.
const TGeoHMatrix & AlignmentCondition::detectorTransformation | ( | ) | const |
Access the alignment/placement matrix with respect to the world.
Definition at line 182 of file Alignments.cpp.
const dd4hep::IOV & AlignmentCondition::iov | ( | ) | const |
Access the IOV block.
Definition at line 147 of file Alignments.cpp.
const dd4hep::IOVType & AlignmentCondition::iovType | ( | ) | const |
bool AlignmentCondition::is_bound | ( | ) | const |
Check if object is already bound....
Definition at line 172 of file Alignments.cpp.
AlignmentCondition::key_type AlignmentCondition::key | ( | ) | const |
Access the hash identifier.
Definition at line 152 of file Alignments.cpp.
const TGeoHMatrix & AlignmentCondition::worldTransformation | ( | ) | const |
Create cached matrix to transform to world coordinates.
Definition at line 177 of file Alignments.cpp.