19 using namespace DD4hep;
20 using namespace DD4hep::Conditions;
30 for(
const auto& k : container.
keys() ) {
36 except(
"Conditions",
"Cannot process conditions container without user-pool.");
48 except(
"Conditions",
"Cannot process DetElement conditions from '%s' without user-pool",de.
name());
50 except(
"Conditions",
"Cannot process conditions of an invalid detector element");
Container conditions() const
Access to the conditions information.
virtual int operator()(Condition cond)
Callback to output conditions information.
const char * name() const
Access the object name (or "" if not supported by the object)
bool isValid() const
Check the validity of the object held by the handle.
virtual int processElement(DetElement de)
Callback to output conditions information of an entire DetElement.
Main condition object handle.
Container class for condition handles aggregated by a detector element.
Condition get(const std::string &condition_key, const iov_type &iov)
Access to condition objects by key and IOV.
int except(const std::string &src, const std::string &fmt,...)
Calls the display action with ERROR and throws an std::runtime_error exception.
pool_type * m_pool
Reference to the user pool.
const Keys & keys() const
Known keys of conditions in this container.
Handle class describing the access to DetElement dependent conditions.
Handle class describing a detector element.