  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   25   (
const std::string& toolName,
 
   28   : m_toolName (toolName),
 
   41   return StatusCode::SUCCESS;
 
   79                                             const std::string& 
name,
 
   80                                             const EventContext& ctx)
 const 
   82   stream << 
"Member: m_constants" << std::endl;
 
   86     stream << 
"Member: m_DBconstants" << std::endl;
 
  107   if (
out.clsname().empty()) {
 
  109     out.version (toolVersion);
 
  113       << 
"Trying to write to ToolConstants for tools of differing types: " 
  115     return StatusCode::FAILURE;
 
  117   else if (
out.version() != toolVersion) {
 
  119       << 
"Trying to write to ToolConstants for differing versions of tool " 
  120       << 
out.clsname() << 
": " << 
out.version() << 
" and " << toolVersion;
 
  121     return StatusCode::FAILURE;
 
  125     std::string cname = 
c->name();
 
  126     std::string prefname = this->
m_prefix + cname;
 
  131     if (!
c->setFromJO() &&
 
  141     if (!isDummy || cname == 
"isDummy")
 
  144   return StatusCode::SUCCESS;
 
  
bool empty() const
Test if the key is blank.
 
const_pointer_type retrieve()
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
StatusCode initialize(bool used=true)
 
Representation class for Array's.
 
Exception — constant not set.
 
Context object for retrieving ToolConstant values.
 
const CaloRec::ToolConstants * m_constants
 
#define REPORT_ERROR_WITH_CONTEXT(SC, CONTEXT_NAME)
Report an error, with an explicitly specified context name.