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

The data class behind an alignments handle. More...

#include <AlignmentsInterna.h>

Inheritance diagram for dd4hep::detail::AlignmentObject:
dd4hep::detail::ConditionObject

Public Member Functions

 AlignmentObject ()
 This variable is internally bound and not ROOT persistent! More...
 
 AlignmentObject (const AlignmentObject &copy)=delete
 Copy constructor. More...
 
 AlignmentObject (const std::string &nam, const std::string &tit, void *payload, size_t len)
 Standard constructor with user provided payload pointer to bind alignment data. More...
 
virtual ~AlignmentObject ()
 Standard Destructor. More...
 
AlignmentObjectoperator= (const AlignmentObject &copy)=delete
 Assignment operator. More...
 
void clear ()
 Clear data. More...
 
AlignmentDatavalues ()
 Accessor to the alignment data. Cannot be NULL. Initialized in the constructor(s) More...
 
- Public Member Functions inherited from dd4hep::detail::ConditionObject
 ConditionObject ()
 Default constructor. More...
 
 ConditionObject (const ConditionObject &)=delete
 No copy constructor. More...
 
 ConditionObject (ConditionObject &&)=delete
 
 ConditionObject (const std::string &nam, const std::string &tit="")
 Standard constructor. More...
 
virtual ~ConditionObject ()
 Standard Destructor. More...
 
ConditionObjectoperator= (const ConditionObject &)=delete
 No assignment operation. More...
 
ConditionObjectoperator= (ConditionObject &&)=delete
 No move assignment operator. More...
 
ConditionObjectaddRef ()
 Increase reference counter (Used by persistency mechanism) More...
 
void release ()
 Release object (Used by persistency mechanism) More...
 
ConditionObjectmove (ConditionObject &from)
 Move data content: 'from' will be reset to NULL. More...
 
const IOViovData () const
 Access safely the IOV. More...
 
const IOVTypeiovType () const
 Access safely the IOV-type. More...
 
void * payload () const
 Access the bound data payload. Exception id object is unbound. More...
 
bool is_bound () const
 Check if object is already bound.... More...
 
bool is_traced () const
 
void setFlag (Condition::mask_type option)
 Flag operations: Set a conditons flag. More...
 
void unFlag (Condition::mask_type option)
 Flag operations: UN-Set a conditons flag. More...
 
bool testFlag (Condition::mask_type option) const
 Flag operations: Test for a given a conditons flag. More...
 

Public Attributes

AlignmentDataalignment_data = 0
 Cached pointer to the bound conditions data, since these may be accessed very frequently. More...
 
- Public Attributes inherited from dd4hep::detail::ConditionObject
std::string value
 Condition value (in string form) More...
 
std::string validity
 Condition validity (in string form) More...
 
std::string address
 Condition address. More...
 
std::string comment
 Comment string. More...
 
OpaqueDataBlock data
 Data block. More...
 
const IOViov = 0
 Interval of validity. More...
 
Condition::key_type hash = 0
 Hash value of the name. More...
 
Condition::mask_type flags = 0
 Flags. More...
 
int refCount = 1
 Reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from dd4hep::detail::ConditionObject
static size_t offset ()
 Data offset from the opaque data block pointer to the condition. More...
 

Detailed Description

The data class behind an alignments handle.

See AlignmentsInterna.cpp for the implementation.

Author
M.Frank
Version
1.0

Definition at line 56 of file AlignmentsInterna.h.

Constructor & Destructor Documentation

◆ AlignmentObject() [1/3]

AlignmentObject::AlignmentObject ( )

This variable is internally bound and not ROOT persistent!

Default constructor.

Default constructor. Alignment data wuill be bound to the heap.

Definition at line 34 of file AlignmentsInterna.cpp.

◆ AlignmentObject() [2/3]

dd4hep::detail::AlignmentObject::AlignmentObject ( const AlignmentObject copy)
delete

Copy constructor.

◆ AlignmentObject() [3/3]

AlignmentObject::AlignmentObject ( const std::string &  nam,
const std::string &  tit,
void *  payload,
size_t  len 
)

Standard constructor with user provided payload pointer to bind alignment data.

Standard constructor.

Definition at line 44 of file AlignmentsInterna.cpp.

◆ ~AlignmentObject()

AlignmentObject::~AlignmentObject ( )
virtual

Standard Destructor.

Definition at line 54 of file AlignmentsInterna.cpp.

Member Function Documentation

◆ clear()

void AlignmentObject::clear ( )

Clear data.

Clear data content on demand.

Definition at line 59 of file AlignmentsInterna.cpp.

◆ operator=()

AlignmentObject& dd4hep::detail::AlignmentObject::operator= ( const AlignmentObject copy)
delete

Assignment operator.

◆ values()

AlignmentData& dd4hep::detail::AlignmentObject::values ( )
inline

Accessor to the alignment data. Cannot be NULL. Initialized in the constructor(s)

Definition at line 75 of file AlignmentsInterna.h.

Member Data Documentation

◆ alignment_data

AlignmentData* dd4hep::detail::AlignmentObject::alignment_data = 0

Cached pointer to the bound conditions data, since these may be accessed very frequently.

Definition at line 59 of file AlignmentsInterna.h.


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