DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ConditionsKeyAssign.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation for LCD
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 #ifndef DD4HEP_CONDITIONS_CONDITIONSKEYASSIGN_H
14 #define DD4HEP_CONDITIONS_CONDITIONSKEYASSIGN_H
15 
16 // Framework include files
17 #include "DD4hep/Detector.h"
18 
20 namespace DD4hep {
21 
23  namespace Conditions {
24 
26 
33  public:
35 
39  ConditionsKeyAssign(const ConditionsKeyAssign& c) = default;
42 
44  const ConditionsKeyAssign& addKey(const std::string& key_value) const;
46  const ConditionsKeyAssign& addKey(const std::string& key_value, const std::string& data_value) const;
47  };
48  } /* End namespace Conditions */
49 } /* End namespace DD4hep */
50 #endif /* DD4HEP_CONDITIONS_CONDITIONSKEYASSIGN_H */
ConditionsKeyAssign(Geometry::DetElement det)
Default constructor.
const ConditionsKeyAssign & addKey(const std::string &key_value) const
Add a new key to the conditions access map.
ConditionsKeyAssign & operator=(const ConditionsKeyAssign &c)=default
Assignment operator.
Helper class to assign conditions keys based on patterms.
Handle class describing a detector element.
Definition: Detector.h:172