DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | List of all members
dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE > Class Template Reference

Class implementing the conditions update pool for a given IOV type. More...

Inheritance diagram for dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE >:
dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >

Public Types

typedef ConditionsMappedPool< MAPPING, BASE > Self
 
- Public Types inherited from dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >
typedef BASE Base
 
typedef MAPPING Mapping
 
typedef ConditionsMappedPool< Mapping, BaseSelf
 

Public Member Functions

 ConditionsMappedUpdatePool (ConditionsManager mgr)
 Default constructor. More...
 
virtual ~ConditionsMappedUpdatePool ()
 Default destructor. More...
 
virtual size_t popEntries (UpdatePool::UpdateEntries &entries) final
 Adopt all entries sorted by IOV. Entries will be removed from the pool. More...
 
virtual void select_range (Condition::key_type key, const IOV &req, RangeConditions &result) final
 Select the conditions matching the DetElement and the conditions name. More...
 
- Public Member Functions inherited from dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >
 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...
 

Additional Inherited Members

- Protected Member Functions inherited from dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >
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 inherited from dd4hep::cond::ConditionsMappedPool< MAPPING, BASE >
Mapping m_entries
 

Detailed Description

template<typename MAPPING, typename BASE>
class dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE >

Class implementing the conditions update pool for a given IOV type.

Author
M.Frank
Version
1.0

Definition at line 132 of file ConditionsMappedPool.cpp.

Member Typedef Documentation

◆ Self

template<typename MAPPING , typename BASE >
typedef ConditionsMappedPool<MAPPING,BASE> dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE >::Self

Definition at line 136 of file ConditionsMappedPool.cpp.

Constructor & Destructor Documentation

◆ ConditionsMappedUpdatePool()

template<typename MAPPING , typename BASE >
dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE >::ConditionsMappedUpdatePool ( ConditionsManager  mgr)
inline

Default constructor.

Definition at line 139 of file ConditionsMappedPool.cpp.

◆ ~ConditionsMappedUpdatePool()

template<typename MAPPING , typename BASE >
virtual dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE >::~ConditionsMappedUpdatePool ( )
inlinevirtual

Default destructor.

Definition at line 143 of file ConditionsMappedPool.cpp.

Member Function Documentation

◆ popEntries()

template<typename MAPPING , typename BASE >
virtual size_t dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE >::popEntries ( UpdatePool::UpdateEntries entries)
inlinefinalvirtual

Adopt all entries sorted by IOV. Entries will be removed from the pool.

Definition at line 146 of file ConditionsMappedPool.cpp.

◆ select_range()

template<typename MAPPING , typename BASE >
virtual void dd4hep::cond::ConditionsMappedUpdatePool< MAPPING, BASE >::select_range ( Condition::key_type  key,
const IOV req,
RangeConditions result 
)
inlinefinalvirtual

Select the conditions matching the DetElement and the conditions name.

Definition at line 153 of file ConditionsMappedPool.cpp.


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