20 using namespace DD4hep;
21 using namespace DD4hep::Conditions;
24 ConditionsAccess::~ConditionsAccess() {
28 const IOVType* ConditionsAccess::iovType (
const string& iov_name)
const {
29 return access()->iovType(iov_name);
33 const vector<const IOVType*> ConditionsAccess::iovTypesUsed()
const {
35 vector<const IOVType*> result;
37 for(
const auto& i : types )
38 if (
int(i.type) != IOVType::UNKNOWN_IOV ) result.push_back(&i);
45 return access()->
get(key, req_validity);
52 return access()->get(key, req_validity);
58 return access()->getRange(key, req_validity);
65 return access()->getRange(key, req_validity);
const IOVTypes & iovTypes() const
Access IOV by its type.
T & get()
Generic getter. Specify the exact type, not a polymorph type.
Main condition object handle.
unsigned int key_type
Forward definition of the key type.
Class describing the interval of validty.
Class describing the interval of validty type.
Conditions internal namespace declaration.
std::vector< IOVType > IOVTypes
std::vector< Condition > RangeConditions