DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class implementing the conditions collection for a given IOV type. More...
Public Types | |
typedef BASE | Base |
typedef MAPPING | Mapping |
typedef ConditionsMappedPool< Mapping, Base > | Self |
Public Member Functions | |
ConditionsMappedPool (ConditionsManager mgr) | |
Default constructor. More... | |
virtual | ~ConditionsMappedPool () |
Default destructor. More... | |
virtual size_t | size () const final |
Total entry count. More... | |
virtual bool | insert (Condition condition) final |
Register a new condition to this pool. More... | |
virtual void | insert (RangeConditions &new_entries) final |
Register a new condition to this pool. May overload for performance reasons. 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 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 > | |
std::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 47 of file ConditionsMappedPool.cpp.
typedef BASE dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >::Base |
Definition at line 49 of file ConditionsMappedPool.cpp.
typedef MAPPING dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >::Mapping |
Definition at line 50 of file ConditionsMappedPool.cpp.
typedef ConditionsMappedPool<Mapping,Base> dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >::Self |
Definition at line 51 of file ConditionsMappedPool.cpp.
ConditionsMappedPool::ConditionsMappedPool | ( | ConditionsManager | mgr | ) |
Default constructor.
Definition at line 209 of file ConditionsMappedPool.cpp.
|
virtual |
Default destructor.
Definition at line 217 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Full cleanup of all managed conditions.
Definition at line 97 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Check if a condition exists in the pool.
Definition at line 103 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Register a new condition to this pool.
Definition at line 75 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Register a new condition to this pool. May overload for performance reasons.
Definition at line 88 of file ConditionsMappedPool.cpp.
|
inlineprotected |
Helper function to loop over the conditions container and apply a functor.
Definition at line 57 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Select the conditions matching the DetElement and the conditions name.
Definition at line 109 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Select the conditons, used also by the DetElement of the condition.
Definition at line 121 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Select the conditons, used also by the DetElement of the condition.
Definition at line 113 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Select the conditons, used also by the DetElement of the condition.
Definition at line 117 of file ConditionsMappedPool.cpp.
|
inlinefinalvirtual |
Total entry count.
Definition at line 70 of file ConditionsMappedPool.cpp.
|
protected |
Definition at line 54 of file ConditionsMappedPool.cpp.