|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DDCOND_CONDITIONSDATALOADER_H
14 #define DDCOND_CONDITIONSDATALOADER_H
37 class ConditionsDescriptor;
48 typedef std::pair<std::string, IOV>
Source;
54 typedef std::vector<std::pair<key_type,ConditionsLoadInfo*> >
RequiredItems;
84 void addSource(
const std::string& source);
86 void addSource(
const std::string& source,
const IOV& iov);
90 const IOV& req_validity,
94 const IOV& req_validity,
101 IOV& combined_validity) = 0;
105 #endif // DDCOND_CONDITIONSDATALOADER_H
Condition::key_type key_type
std::vector< Condition > RangeConditions
AlignmentCondition::Object * cond
void pushUpdates()
Queue update to manager.
The property class to assign options to actions.
Property object as base class for all objects supporting properties.
GlobalAlignmentStack::StackEntry Entry
Sources m_sources
Property: input data source definitions.
Property & operator[](const std::string &property_name)
Access to properties.
void addSource(const std::string &source)
Add data source definition to loader.
ConditionsDataLoader(Detector &description, ConditionsManager mgr, const std::string nam)
Default constructor.
ConditionsManager manager() const
Access conditions manager.
Class describing the interval of validty.
ConditionsManager m_mgr
Reference to conditions manager used to queue update requests.
std::vector< std::pair< key_type, ConditionsLoadInfo * > > RequiredItems
virtual size_t load_many(const IOV &req_validity, RequiredItems &work, LoadedItems &loaded, IOV &combined_validity)=0
Load a number of conditions items from the persistent medium according to the required IOV.
std::list< Entry * > ConditionsStack
unsigned long long int key_type
Forward definition of the key type.
Manager class for condition handles.
Interface for a generic conditions loader.
Detector & m_detector
Reference to main detector description object.
Namespace for the AIDA detector description toolkit.
Implementation of a named object.
virtual void initialize()
Optional initialization for sub-classes.
std::pair< std::string, IOV > Source
The main interface to the dd4hep detector description package.
std::map< key_type, Condition > LoadedItems
ConditionsDataLoader base_t
std::vector< Source > Sources
Conditions slice object. Defines which conditions should be loaded by the ConditionsManager.
virtual ~ConditionsDataLoader()
Default destructor.