ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
AGDDParameterStore Class Reference

#include <AGDDParameterStore.h>

Inheritance diagram for AGDDParameterStore:
Collaboration diagram for AGDDParameterStore:

Public Member Functions

 AGDDParameterStore ()
 
virtual ~AGDDParameterStore ()
 
void RegisterParameterBag (const std::string &volName, AGDDParameterBag *paraBag)
 
AGDDParameterBagGetParameterBag (const std::string &volName)
 
bool Exist (const std::string &volName) const
 

Public Attributes

keys
 STL member. More...
 
elements
 STL member. More...
 

Detailed Description

Definition at line 14 of file AGDDParameterStore.h.

Constructor & Destructor Documentation

◆ AGDDParameterStore()

AGDDParameterStore::AGDDParameterStore ( )
inline

Definition at line 16 of file AGDDParameterStore.h.

16 {}

◆ ~AGDDParameterStore()

virtual AGDDParameterStore::~AGDDParameterStore ( )
inlinevirtual

Definition at line 18 of file AGDDParameterStore.h.

18 {}

Member Function Documentation

◆ Exist()

bool AGDDParameterStore::Exist ( const std::string &  volName) const
inline

Definition at line 33 of file AGDDParameterStore.h.

33  {
34  return ((*this).find(volName) != (*this).end());
35  }

◆ GetParameterBag()

AGDDParameterBag* AGDDParameterStore::GetParameterBag ( const std::string &  volName)
inline

Definition at line 24 of file AGDDParameterStore.h.

24  {
25  if ((*this).find(volName) != (*this).end())
26  return (*this)[volName];
27  else {
28  std::cout << " Parameters for Volume "<<volName<<" not found: returning 0"<<std::endl;
29  return 0;
30  }
31  }

◆ RegisterParameterBag()

void AGDDParameterStore::RegisterParameterBag ( const std::string &  volName,
AGDDParameterBag paraBag 
)
inline

Definition at line 20 of file AGDDParameterStore.h.

20  {
21  (*this)[volName]=paraBag;
22  }

Member Data Documentation

◆ elements

T std::map< K, T >::elements
inherited

STL member.

◆ keys

K std::map< K, T >::keys
inherited

STL member.


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