DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::ConditionKey::KeyMaker Union Reference

Helper union to interprete conditions keys. More...

#include <Conditions.h>

Public Member Functions

 KeyMaker ()
 
 KeyMaker (Condition::key_type k)
 
 KeyMaker (Condition::detkey_type det, Condition::itemkey_type item)
 
 KeyMaker (Condition::detkey_type det, const std::string &value)
 Constructor from string. More...
 
 KeyMaker (DetElement detector, const std::string &value)
 Constructor from string. More...
 
 KeyMaker (DetElement detector, Condition::itemkey_type item_key)
 Constructor from detector element and item sub-key. More...
 

Public Attributes

Condition::key_type hash
 
struct {
   Condition::itemkey_type   item_key
 
   Condition::detkey_type   det_key
 
values
 

Detailed Description

Helper union to interprete conditions keys.

Author
M.Frank
Version
1.0

Definition at line 295 of file Conditions.h.

Constructor & Destructor Documentation

◆ KeyMaker() [1/6]

dd4hep::ConditionKey::KeyMaker::KeyMaker ( )
inline

Definition at line 305 of file Conditions.h.

◆ KeyMaker() [2/6]

dd4hep::ConditionKey::KeyMaker::KeyMaker ( Condition::key_type  k)
inline

Definition at line 308 of file Conditions.h.

◆ KeyMaker() [3/6]

dd4hep::ConditionKey::KeyMaker::KeyMaker ( Condition::detkey_type  det,
Condition::itemkey_type  item 
)
inline

Definition at line 311 of file Conditions.h.

◆ KeyMaker() [4/6]

ConditionKey::KeyMaker::KeyMaker ( Condition::detkey_type  det,
const std::string &  value 
)

Constructor from string.

Definition at line 234 of file Conditions.cpp.

◆ KeyMaker() [5/6]

ConditionKey::KeyMaker::KeyMaker ( DetElement  detector,
const std::string &  value 
)

Constructor from string.

Definition at line 222 of file Conditions.cpp.

◆ KeyMaker() [6/6]

ConditionKey::KeyMaker::KeyMaker ( DetElement  detector,
Condition::itemkey_type  item_key 
)

Constructor from detector element and item sub-key.

Definition at line 229 of file Conditions.cpp.

Member Data Documentation

◆ det_key

Condition::detkey_type dd4hep::ConditionKey::KeyMaker::det_key

Definition at line 303 of file Conditions.h.

◆ hash

Condition::key_type dd4hep::ConditionKey::KeyMaker::hash

Definition at line 296 of file Conditions.h.

◆ item_key

Condition::itemkey_type dd4hep::ConditionKey::KeyMaker::item_key

Definition at line 302 of file Conditions.h.

◆ values

struct { ... } dd4hep::ConditionKey::KeyMaker::values

Note: The memory layout is important here to have properly ordered maps. The detector key MUST be on the high end of the resulting int64 'hash'.


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