DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Private Attributes | List of all members
dd4hep::cond::ConditionsSlice::Inserter Class Reference

Helper to simplify the registration of new condtitions from arbitrary containers. More...

#include <ConditionsSlice.h>

Public Member Functions

 Inserter (ConditionsSlice &s)
 
template<typename T >
 Inserter (ConditionsSlice &s, const T &data)
 
void operator() (Condition c) const
 
void operator() (const std::pair< Condition::key_type, Condition > &e) const
 
template<typename T >
void process (const T &data) const
 

Private Attributes

ConditionsSliceslice
 
ConditionsPooliov_pool = 0
 

Detailed Description

Helper to simplify the registration of new condtitions from arbitrary containers.

Author
M.Frank
Version
1.0

Definition at line 74 of file ConditionsSlice.h.

Constructor & Destructor Documentation

◆ Inserter() [1/2]

dd4hep::cond::ConditionsSlice::Inserter::Inserter ( ConditionsSlice s)
inline

Definition at line 79 of file ConditionsSlice.h.

◆ Inserter() [2/2]

template<typename T >
dd4hep::cond::ConditionsSlice::Inserter::Inserter ( ConditionsSlice s,
const T &  data 
)
inline

Definition at line 83 of file ConditionsSlice.h.

Member Function Documentation

◆ operator()() [1/2]

void dd4hep::cond::ConditionsSlice::Inserter::operator() ( Condition  c) const
inline

Definition at line 88 of file ConditionsSlice.h.

◆ operator()() [2/2]

void dd4hep::cond::ConditionsSlice::Inserter::operator() ( const std::pair< Condition::key_type, Condition > &  e) const
inline

Definition at line 92 of file ConditionsSlice.h.

◆ process()

template<typename T >
void dd4hep::cond::ConditionsSlice::Inserter::process ( const T &  data) const
inline

Definition at line 95 of file ConditionsSlice.h.

Member Data Documentation

◆ iov_pool

ConditionsPool* dd4hep::cond::ConditionsSlice::Inserter::iov_pool = 0
private

Definition at line 76 of file ConditionsSlice.h.

◆ slice

ConditionsSlice& dd4hep::cond::ConditionsSlice::Inserter::slice
private

Definition at line 75 of file ConditionsSlice.h.


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