DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::DetectorData::ObjectHandleMap Class Reference

Implementation of a map of named dd4hep Handles. More...

#include <DetectorData.h>

Inheritance diagram for dd4hep::DetectorData::ObjectHandleMap:

Public Member Functions

 ObjectHandleMap ()=default
 Default constructor. More...
 
 ObjectHandleMap (const std::string &name)
 Initializing constructor. More...
 
void append (const Handle< NamedObject > &e, bool throw_on_doubles=true)
 Append entry to map. More...
 
template<typename T >
void append (const Handle< NamedObject > &e, bool throw_on_doubles=true)
 Append entry to map. More...
 

Public Attributes

std::string name
 Name the map. More...
 

Detailed Description

Implementation of a map of named dd4hep Handles.

Author
M.Frank
Version
1.0

Definition at line 59 of file DetectorData.h.

Constructor & Destructor Documentation

◆ ObjectHandleMap() [1/2]

dd4hep::DetectorData::ObjectHandleMap::ObjectHandleMap ( )
default

Default constructor.

◆ ObjectHandleMap() [2/2]

dd4hep::DetectorData::ObjectHandleMap::ObjectHandleMap ( const std::string &  name)
inline

Initializing constructor.

Definition at line 217 of file DetectorData.h.

Member Function Documentation

◆ append() [1/2]

void dd4hep::DetectorData::ObjectHandleMap::append ( const Handle< NamedObject > &  e,
bool  throw_on_doubles = true 
)
inline

Append entry to map.

Definition at line 69 of file DetectorData.h.

◆ append() [2/2]

template<typename T >
void dd4hep::DetectorData::ObjectHandleMap::append ( const Handle< NamedObject > &  e,
bool  throw_on_doubles = true 
)
inline

Append entry to map.

Definition at line 86 of file DetectorData.h.

Member Data Documentation

◆ name

std::string dd4hep::DetectorData::ObjectHandleMap::name

Name the map.

Definition at line 62 of file DetectorData.h.


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