DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Pool of conditions satisfying one IOV type (epoch, run, fill, etc) More...
#include <ConditionsIOVPool.h>
Public Types | |
typedef std::shared_ptr< ConditionsPool > | Element |
Shortcut name for the actual container elements. More... | |
typedef std::map< IOV::Key, Element > | Elements |
Shortcut name for the actual conditions container. More... | |
Public Member Functions | |
ConditionsIOVPool (const IOVType *type) | |
Not ROOT persistent. More... | |
virtual | ~ConditionsIOVPool () |
Default destructor. More... | |
size_t | select (Condition::key_type key, const IOV &req_validity, RangeConditions &result) |
Retrieve a condition set given the key according to their validity. More... | |
size_t | selectRange (Condition::key_type key, const IOV &req_validity, RangeConditions &result) |
Retrieve a condition set given the key according to their validity. More... | |
size_t | select (const IOV &req_validity, RangeConditions &valid, IOV &cond_validity) |
Select all ACTIVE conditions, which do match the IOV requirement. More... | |
size_t | select (const IOV &req_validity, const ConditionsSelect &valid, IOV &cond_validity) |
Select all ACTIVE conditions, which do match the IOV requirement. More... | |
size_t | select (const IOV &req_validity, Elements &valid, IOV &cond_validity) |
Select all ACTIVE conditions pools, which do match the IOV requirement. More... | |
size_t | select (const IOV &req_validity, Elements &valid) |
Select all ACTIVE conditions pools, which do match the IOV requirement (faster) More... | |
size_t | select (const IOV &req_validity, std::vector< Element > &valid, IOV &cond_validity) |
Select all ACTIVE conditions pools, which do match the IOV requirement. More... | |
size_t | select (const IOV &req_validity, std::vector< Element > &valid) |
Select all ACTIVE conditions pools, which do match the IOV requirement (faster) More... | |
int | clean (int max_age) |
Remove all key based pools with an age beyon the minimum age. More... | |
int | clean (const ConditionsCleanup &cleaner) |
Invoke cache cleanup with user defined policy. More... | |
Public Attributes | |
Elements | elements |
Container of IOV dependent conditions pools. More... | |
const IOVType * | type |
Reference to the IOV container. More... | |
Pool of conditions satisfying one IOV type (epoch, run, fill, etc)
Purely internal class to the conditions manager implementation. Not at all to be accessed by clients!
Definition at line 38 of file ConditionsIOVPool.h.
typedef std::shared_ptr<ConditionsPool> dd4hep::cond::ConditionsIOVPool::Element |
Shortcut name for the actual container elements.
Definition at line 41 of file ConditionsIOVPool.h.
typedef std::map<IOV::Key, Element > dd4hep::cond::ConditionsIOVPool::Elements |
Shortcut name for the actual conditions container.
Definition at line 43 of file ConditionsIOVPool.h.
ConditionsIOVPool::ConditionsIOVPool | ( | const IOVType * | type | ) |
Not ROOT persistent.
Default constructor.
Default constructor
Definition at line 26 of file ConditionsIOVPool.cpp.
|
virtual |
Default destructor.
Definition at line 31 of file ConditionsIOVPool.cpp.
int ConditionsIOVPool::clean | ( | const ConditionsCleanup & | cleaner | ) |
Invoke cache cleanup with user defined policy.
Definition at line 76 of file ConditionsIOVPool.cpp.
int ConditionsIOVPool::clean | ( | int | max_age | ) |
Remove all key based pools with an age beyon the minimum age.
Definition at line 93 of file ConditionsIOVPool.cpp.
size_t ConditionsIOVPool::select | ( | Condition::key_type | key, |
const IOV & | req_validity, | ||
RangeConditions & | result | ||
) |
Retrieve a condition set given the key according to their validity.
Definition at line 41 of file ConditionsIOVPool.cpp.
size_t ConditionsIOVPool::select | ( | const IOV & | req_validity, |
const ConditionsSelect & | valid, | ||
IOV & | cond_validity | ||
) |
Select all ACTIVE conditions, which do match the IOV requirement.
Definition at line 131 of file ConditionsIOVPool.cpp.
Select all ACTIVE conditions pools, which do match the IOV requirement (faster)
Select all ACTIVE conditions, which do match the IOV requirement.
Definition at line 165 of file ConditionsIOVPool.cpp.
size_t ConditionsIOVPool::select | ( | const IOV & | req_validity, |
Elements & | valid, | ||
IOV & | cond_validity | ||
) |
Select all ACTIVE conditions pools, which do match the IOV requirement.
Select all ACTIVE conditions, which do match the IOV requirement.
Definition at line 153 of file ConditionsIOVPool.cpp.
size_t ConditionsIOVPool::select | ( | const IOV & | req_validity, |
RangeConditions & | valid, | ||
IOV & | cond_validity | ||
) |
Select all ACTIVE conditions, which do match the IOV requirement.
Definition at line 110 of file ConditionsIOVPool.cpp.
Select all ACTIVE conditions pools, which do match the IOV requirement (faster)
Select all ACTIVE conditions, which do match the IOV requirement.
Definition at line 194 of file ConditionsIOVPool.cpp.
size_t ConditionsIOVPool::select | ( | const IOV & | req_validity, |
std::vector< Element > & | valid, | ||
IOV & | cond_validity | ||
) |
Select all ACTIVE conditions pools, which do match the IOV requirement.
Select all ACTIVE conditions, which do match the IOV requirement.
Definition at line 182 of file ConditionsIOVPool.cpp.
size_t ConditionsIOVPool::selectRange | ( | Condition::key_type | key, |
const IOV & | req_validity, | ||
RangeConditions & | result | ||
) |
Retrieve a condition set given the key according to their validity.
Definition at line 56 of file ConditionsIOVPool.cpp.
Elements dd4hep::cond::ConditionsIOVPool::elements |
Container of IOV dependent conditions pools.
Definition at line 46 of file ConditionsIOVPool.h.
const IOVType* dd4hep::cond::ConditionsIOVPool::type |
Reference to the IOV container.
Not ROOT persistent
Definition at line 48 of file ConditionsIOVPool.h.