DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | List of all members
dd4hep::AlignmentCondition Class Reference

Main handle class to hold an alignment conditions object. More...

#include <Alignments.h>

Inheritance diagram for dd4hep::AlignmentCondition:
dd4hep::Handle< detail::AlignmentObject >

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::AlignmentObjectBase
 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 IOVTypeiovType () const
 Access the IOV type. More...
 
const IOViov () const
 Access the IOV block. More...
 
key_type key () const
 Access the hash identifier. More...
 
AlignmentDatadata ()
 Data accessor for the use of decorators. More...
 
const AlignmentDatadata () const
 Data accessor for the use of decorators. More...
 
const Deltadelta () 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::AlignmentObjectoperator-> () const
 Access the held object using the -> operator. More...
 
 operator detail::AlignmentObject & () const
 Automatic type conversion to an object references. More...
 
detail::AlignmentObjectoperator* () const
 Access the held object using the * operator. More...
 
detail::AlignmentObjectptr () 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::AlignmentObjectaccess () 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::AlignmentObjectm_element
 Single and only data member: Reference to the actual element. More...
 

Detailed Description

Main handle class to hold an alignment conditions object.

Author
M.Frank
Version
1.0

Definition at line 68 of file Alignments.h.

Member Typedef Documentation

◆ key_type

typedef unsigned long long int dd4hep::AlignmentCondition::key_type

Forward definition of the key type.

Definition at line 71 of file Alignments.h.

Constructor & Destructor Documentation

◆ AlignmentCondition() [1/5]

dd4hep::AlignmentCondition::AlignmentCondition ( )
inline

Default constructor.

Definition at line 75 of file Alignments.h.

◆ AlignmentCondition() [2/5]

dd4hep::AlignmentCondition::AlignmentCondition ( Object p)
inline

Default constructor.

Definition at line 77 of file Alignments.h.

◆ AlignmentCondition() [3/5]

dd4hep::AlignmentCondition::AlignmentCondition ( detail::ConditionObject p)
inline

Assignment constructor from condition object.

Definition at line 79 of file Alignments.h.

◆ AlignmentCondition() [4/5]

template<typename Q >
dd4hep::AlignmentCondition::AlignmentCondition ( const Handle< Q > &  e)
inline

Constructor to be used when reading the already parsed object.

Definition at line 81 of file Alignments.h.

◆ AlignmentCondition() [5/5]

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.

Member Function Documentation

◆ data() [1/2]

AlignmentData & AlignmentCondition::data ( )

Data accessor for the use of decorators.

Data block (bound type)

Definition at line 157 of file Alignments.cpp.

◆ data() [2/2]

const AlignmentData & AlignmentCondition::data ( ) const

Data accessor for the use of decorators.

Definition at line 162 of file Alignments.cpp.

◆ delta()

const Delta & AlignmentCondition::delta ( ) const

Access the delta value of the object.

Definition at line 167 of file Alignments.cpp.

◆ detectorTransformation()

const TGeoHMatrix & AlignmentCondition::detectorTransformation ( ) const

Access the alignment/placement matrix with respect to the world.

Definition at line 182 of file Alignments.cpp.

◆ iov()

const dd4hep::IOV & AlignmentCondition::iov ( ) const

Access the IOV block.

Definition at line 147 of file Alignments.cpp.

◆ iovType()

const dd4hep::IOVType & AlignmentCondition::iovType ( ) const

Access the IOV type.

Interval of validity

Definition at line 142 of file Alignments.cpp.

◆ is_bound()

bool AlignmentCondition::is_bound ( ) const

Check if object is already bound....

Definition at line 172 of file Alignments.cpp.

◆ key()

AlignmentCondition::key_type AlignmentCondition::key ( ) const

Access the hash identifier.

Definition at line 152 of file Alignments.cpp.

◆ worldTransformation()

const TGeoHMatrix & AlignmentCondition::worldTransformation ( ) const

Create cached matrix to transform to world coordinates.

Definition at line 177 of file Alignments.cpp.


The documentation for this class was generated from the following files: