DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Classes | Public Types | Public Member Functions | List of all members
dd4hep::cond::ConditionsRepository Class Reference

Base class to be implemented by objects to listen on condition callbacks. More...

#include <ConditionsRepository.h>

Classes

class  Entry
 Definition of a single Entry in the conditions repository. More...
 

Public Types

typedef std::vector< EntryData
 Definition of the entry collection. More...
 

Public Member Functions

 ConditionsRepository ()
 Default constructor. More...
 
virtual ~ConditionsRepository ()
 Default destructor. More...
 
int save (ConditionsManager m, const std::string &output) const
 Save the repository to file. More...
 
int load (const std::string &input, Data &data) const
 Load the repository from file and fill user passed data structory. More...
 

Detailed Description

Base class to be implemented by objects to listen on condition callbacks.

Author
M.Frank
Version
1.0

Definition at line 38 of file ConditionsRepository.h.

Member Typedef Documentation

◆ Data

Definition of the entry collection.

Definition at line 56 of file ConditionsRepository.h.

Constructor & Destructor Documentation

◆ ConditionsRepository()

ConditionsRepository::ConditionsRepository ( )

Default constructor.

Definition at line 40 of file ConditionsRepository.cpp.

◆ ~ConditionsRepository()

ConditionsRepository::~ConditionsRepository ( )
virtual

Default destructor.

Definition at line 44 of file ConditionsRepository.cpp.

Member Function Documentation

◆ load()

int ConditionsRepository::load ( const std::string &  input,
Data data 
) const

Load the repository from file and fill user passed data structory.

Definition at line 247 of file ConditionsRepository.cpp.

◆ save()

int ConditionsRepository::save ( ConditionsManager  m,
const std::string &  output 
) const

Save the repository to file.

Write XML file with conditions addresses

Write fixed records with conditions addresses

Write fixed records with conditions addresses

Write records separated by ';' with conditions addresses

Definition at line 210 of file ConditionsRepository.cpp.


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