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

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

Inheritance diagram for dd4hep::cond::ConditionsLinearUpdatePool< MAPPING, BASE >:
dd4hep::cond::ConditionsLinearPool< MAPPING, BASE >

Public Member Functions

 ConditionsLinearUpdatePool (ConditionsManager mgr, IOV *)
 Default constructor. More...
 
virtual ~ConditionsLinearUpdatePool ()
 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::ConditionsLinearPool< MAPPING, BASE >
 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...
 

Additional Inherited Members

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

Detailed Description

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

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

Author
M.Frank
Version
1.0

Definition at line 111 of file ConditionsLinearPool.cpp.

Constructor & Destructor Documentation

◆ ConditionsLinearUpdatePool()

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

Default constructor.

Definition at line 116 of file ConditionsLinearPool.cpp.

◆ ~ConditionsLinearUpdatePool()

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

Default destructor.

Definition at line 123 of file ConditionsLinearPool.cpp.

Member Function Documentation

◆ popEntries()

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

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

Definition at line 127 of file ConditionsLinearPool.cpp.

◆ select_range()

template<typename MAPPING , typename BASE >
virtual void dd4hep::cond::ConditionsLinearUpdatePool< 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 139 of file ConditionsLinearPool.cpp.


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