5#ifndef AGDDParameterStore_H
6#define AGDDParameterStore_H
21 (*this)[volName]=paraBag;
25 if ((*this).find(volName) != (*this).end())
26 return (*
this)[volName];
28 std::cout <<
" Parameters for Volume "<<volName<<
" not found: returning 0"<<std::endl;
33 bool Exist(
const std::string& volName)
const {
34 return ((*this).find(volName) != (*this).end());
std::map< std::string, AGDDParameterBag * > AGDDParameterMap
AGDDParameterBag * GetParameterBag(const std::string &volName)
virtual ~AGDDParameterStore()
bool Exist(const std::string &volName) const
void RegisterParameterBag(const std::string &volName, AGDDParameterBag *paraBag)