ATLAS Offline Software
IdDictReference.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3  */
4 
9 #include "src/Debugger.h"
10 
11 #include <iostream>
12 
14  :
15  m_subregion(0),
16  m_resolved_references(false) {
17 }
18 
20 }
21 
24  IdDictRegion& /*region*/) {
25  if (!m_resolved_references) {
26  m_subregion = dictionary.find_subregion(m_subregion_name);
27  m_resolved_references = true;
28  }
29 }
30 
33  IdDictRegion& region,
34  const std::string& tag) {
35  if (Debugger::debug()) {
36  std::cout << "IdDictReference::generate_implementation>" << std::endl;
37  }
38 
40 }
41 
44 }
45 
47  return(true);
48 }
49 
51  Range result;
52 
54 
55 
56  return(result);
57 }
IdDictSubRegion::generate_implementation
void generate_implementation(const IdDictMgr &idd, IdDictDictionary &dictionary, const std::string &tag="")
Definition: IdDictSubRegion.cxx:18
get_generator_info.result
result
Definition: get_generator_info.py:21
IdDictReference::~IdDictReference
~IdDictReference()
Definition: IdDictReference.cxx:19
IdDictDictionary.h
IdDictReference::m_resolved_references
bool m_resolved_references
Definition: IdDictReference.h:36
IdDictReference::m_subregion
IdDictSubRegion * m_subregion
Definition: IdDictReference.h:33
IdDictReference::generate_implementation
void generate_implementation(const IdDictMgr &idd, IdDictDictionary &dictionary, IdDictRegion &region, const std::string &tag="")
Definition: IdDictReference.cxx:31
IdDictSubRegion.h
Debugger.h
IdDictReference::verify
bool verify() const
Definition: IdDictReference.cxx:46
IdDictReference::IdDictReference
IdDictReference()
Definition: IdDictReference.cxx:13
IdDictSubRegion::reset_implementation
void reset_implementation()
Definition: IdDictSubRegion.cxx:46
IdDictRegion
Definition: IdDictRegion.h:20
IdDictMgr
Definition: IdDictMgr.h:14
IdDictRegion::build_range
Range build_range() const
Definition: IdDictRegion.cxx:147
Debugger::debug
static bool debug()
Definition: Debugger.h:18
master.dictionary
dictionary
Definition: master.py:47
Range
A Range describes the possible ranges for the field values of an ExpandedIdentifier.
Definition: DetectorDescription/Identifier/Identifier/Range.h:29
IdDictDictionary
Definition: IdDictDictionary.h:30
IdDictFieldImplementation.h
IdDictReference.h
IdDictReference::reset_implementation
void reset_implementation()
Definition: IdDictReference.cxx:42
IdDictReference::resolve_references
void resolve_references(const IdDictMgr &idd, IdDictDictionary &dictionary, IdDictRegion &region)
Definition: IdDictReference.cxx:22
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
IdDictReference::m_subregion_name
std::string m_subregion_name
Definition: IdDictReference.h:32
IdDictReference::build_range
Range build_range() const
Definition: IdDictReference.cxx:50