DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class implementing the conditions collection for a given IOV type. More...
Public Member Functions | |
ConditionsLinearPool (ConditionsManager mgr, IOV *iov) | |
Default constructor. More... | |
virtual | ~ConditionsLinearPool () |
Default destructor. More... | |
virtual size_t | size () const final |
Total entry count. More... | |
virtual void | clear () final |
Full cleanup of all managed conditions. More... | |
virtual Condition | exists (Condition::key_type key) const final |
Check if a condition exists in the pool. More... | |
virtual bool | insert (Condition condition) final |
Register a new condition to this pool. More... | |
virtual void | insert (RangeConditions &rc) final |
Register a new condition to this pool. May overload for performance reasons. More... | |
virtual size_t | select (Condition::key_type key, RangeConditions &result) final |
Select the conditions matching the DetElement and the conditions name. More... | |
virtual size_t | select_all (const ConditionsSelect &result) final |
Select the conditons, used also by the DetElement of the condition. More... | |
virtual size_t | select_all (RangeConditions &result) final |
Select the conditons, used also by the DetElement of the condition. More... | |
virtual size_t | select_all (ConditionsPool &result) final |
Select the conditons, used also by the DetElement of the condition. More... | |
Protected Member Functions | |
template<typename R , typename T > | |
size_t | loop (R &result, T functor) |
Helper function to loop over the conditions container and apply a functor. More... | |
Protected Attributes | |
MAPPING | m_entries |
Class implementing the conditions collection for a given IOV type.
Please note: Users should not directly interact with object instances of this type. Data are not thread protected and interaction may cause serious harm. Only the ConditionsManager implementation should interact with this class or any subclass to ensure data integrity.
Definition at line 45 of file ConditionsLinearPool.cpp.
ConditionsLinearPool::ConditionsLinearPool | ( | ConditionsManager | mgr, |
IOV * | iov | ||
) |
Default constructor.
Definition at line 195 of file ConditionsLinearPool.cpp.
|
virtual |
Default destructor.
Definition at line 205 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Full cleanup of all managed conditions.
Definition at line 68 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Check if a condition exists in the pool.
Definition at line 74 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Register a new condition to this pool.
Definition at line 80 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Register a new condition to this pool. May overload for performance reasons.
Definition at line 84 of file ConditionsLinearPool.cpp.
|
inlineprotected |
Helper function to loop over the conditions container and apply a functor.
Definition at line 50 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Select the conditions matching the DetElement and the conditions name.
Definition at line 88 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Select the conditons, used also by the DetElement of the condition.
Definition at line 100 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Select the conditons, used also by the DetElement of the condition.
Definition at line 92 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Select the conditons, used also by the DetElement of the condition.
Definition at line 96 of file ConditionsLinearPool.cpp.
|
inlinefinalvirtual |
Total entry count.
Definition at line 63 of file ConditionsLinearPool.cpp.
|
protected |
Definition at line 47 of file ConditionsLinearPool.cpp.