|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
17 #include <DD4hep/detail/Handle.inl>
22 #if defined(DD4HEP_CONDITIONS_HAVE_NAME)
31 const char* character;
35 _P(
const void* val) { p_void = val; }
46 #if defined(DD4HEP_CONDITIONS_HAVE_NAME)
64 if ( --refCount <= 0 )
delete this;
69 static _P p((
void*)0x1000);
70 static std::size_t off = _P(&p.o->data.grammar).character - p.character +
sizeof(
OpaqueData::grammar);
76 return *(_P(_P(
this).character+offset()).pp_void);
86 if ( iov )
return iov;
87 invalidHandleError<IOV>();
93 if ( iov && iov->iovType )
return iov->iovType;
94 invalidHandleError<IOVType>();
100 static auto s_registry = GrammarRegistry::pre_note<std::vector<Condition> >(1);
void * payload() const
Access the bound data payload. Exception id object is unbound.
DD4HEP_INSTANTIATE_HANDLE_UNNAMED(detail::ConditionObject)
static void increment(T *)
Increment count according to type information.
Class describing the interval of validty type.
virtual ~ConditionObject()
Standard Destructor.
Class describing the interval of validty.
ConditionObject()
Default constructor.
const IOVType * iovType() const
Access safely the IOV-type.
ConditionObject & move(ConditionObject &from)
Move data content: 'from' will be reset to NULL.
static void decrement(T *)
Decrement count according to type information.
void release()
Release object (Used by persistency mechanism)
static size_t offset()
Data offset from the opaque data block pointer to the condition.
const IOV * iovData() const
Access safely the IOV.
The data class behind a conditions handle.
Namespace for the AIDA detector description toolkit.
Implementation of a named object.
const BasicGrammar * grammar
Data type.
DD4HEP_INSTANTIATE_HANDLE_NAMED(GlobalAlignmentData)