ATLAS Offline Software
DetectorDescription
IdDict
src
IdDictSubRegion.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include "
IdDict/IdDictSubRegion.h
"
7
#include "
IdDict/IdDictFieldImplementation.h
"
8
#include "
IdDict/IdDictRegionEntry.h
"
9
#include "
src/Debugger.h
"
10
#include <iostream>
11
IdDictSubRegion::IdDictSubRegion
() {
12
}
13
14
IdDictSubRegion::~IdDictSubRegion
() {
15
}
16
17
void
18
IdDictSubRegion::generate_implementation
(
const
IdDictMgr
&
/*idd*/
,
19
IdDictDictionary
&
/*dictionary*/
,
20
const
std::string&
/*tag*/
) {
21
std::cout <<
"IdDictSubRegion::generate_implementation - SHOULD NEVER BE CALLED "
<< std::endl;
22
}
23
24
void
25
IdDictSubRegion::generate_implementation
(
const
IdDictMgr
& idd,
26
IdDictDictionary
&
dictionary
,
27
IdDictRegion
& region,
28
const
std::string&
tag
) {
29
if
(
Debugger::debug
()) {
30
std::cout <<
"IdDictSubRegion::generate_implementation>"
<< std::endl;
31
}
32
33
// NOTE: we DO NOT protect this method with
34
// m_generated_implementation because a subregion is a "reference"
35
// and must be looped over to fully implement a region.
36
37
std::vector<IdDictRegionEntry*>::iterator
it
;
38
39
for
(
it
=
m_entries
.begin();
it
!=
m_entries
.end(); ++
it
) {
40
IdDictRegionEntry
*
entry
= *
it
;
41
entry
->generate_implementation(idd,
dictionary
, region,
tag
);
42
}
43
}
44
45
void
46
IdDictSubRegion::reset_implementation
() {
47
for
(
auto
*
entry
:
m_entries
) {
48
entry
->reset_implementation();
49
}
50
}
xAOD::iterator
JetConstituentVector::iterator iterator
Definition:
JetConstituentVector.cxx:68
IdDictSubRegion::generate_implementation
void generate_implementation(const IdDictMgr &idd, IdDictDictionary &dictionary, const std::string &tag="")
Definition:
IdDictSubRegion.cxx:18
skel.it
it
Definition:
skel.GENtoEVGEN.py:396
IdDictSubRegion.h
Debugger.h
IdDictRegionEntry.h
IdDictSubRegion::reset_implementation
void reset_implementation()
Definition:
IdDictSubRegion.cxx:46
IdDictRegion
Definition:
IdDictRegion.h:20
IdDictMgr
Definition:
IdDictMgr.h:14
Debugger::debug
static bool debug()
Definition:
Debugger.h:18
IdDictRegion::m_entries
std::vector< IdDictRegionEntry * > m_entries
Definition:
IdDictRegion.h:41
GetAllXsec.entry
list entry
Definition:
GetAllXsec.py:132
master.dictionary
dictionary
Definition:
master.py:47
IdDictSubRegion::~IdDictSubRegion
virtual ~IdDictSubRegion()
Definition:
IdDictSubRegion.cxx:14
IdDictDictionary
Definition:
IdDictDictionary.h:30
IdDictSubRegion::IdDictSubRegion
IdDictSubRegion()
Definition:
IdDictSubRegion.cxx:11
IdDictRegionEntry
Definition:
IdDictRegionEntry.h:14
IdDictFieldImplementation.h
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:24
Generated on Sun Dec 22 2024 21:11:24 for ATLAS Offline Software by
1.8.18