Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DetectorDescription
IdDict
src
get_bits.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef IDDICT_get_bits_H
6
#define IDDICT_get_bits_H
7
8
#include <string>
9
#include <vector>
10
11
class
IdDictRegion
;
12
13
namespace
IdDict
{
14
using
RV
= std::vector <IdDictRegion*>;
15
20
void
21
compute_bits
(
const
RV
& regions,
size_t
level
,
const
std::string&
group
);
22
23
24
// This function is recursively called for each level to get the
25
// number of bits. By "definition" we require regions in the same
26
// group to overlap to have a uniform bit-allocation for a group.
27
//
28
// For each call, the first region within the specified "group"
29
// which has a (non-empty) field value at the current level is
30
// used as reference. According to this reference, the regions are
31
// divided into two sets: a set overlapping with the reference and
32
// a non-overlapping set. For the overlapping set, get_bits is
33
// called again, but for the next level. When control comes back,
34
// then a reference is chosen from the non-overlapping set and the
35
// procedure continues.
36
//
37
// The calculation of bits needed for a particular level is done
38
// in compute_bits before the overlapping is check for this level.
39
//
40
void
41
get_bits
(
const
RV
& regions,
size_t
level
,
const
std::string&
group
);
42
}
43
#endif
IdDict::get_bits
void get_bits(const RV ®ions, size_t level, const std::string &group)
Definition:
get_bits.cxx:45
IdDictRegion
Definition:
IdDictRegion.h:20
python.iconfTool.models.loaders.level
level
Definition:
loaders.py:20
IdDict
Definition:
get_bits.cxx:11
IdDict::RV
std::vector< IdDictRegion * > RV
Definition:
get_bits.cxx:12
CaloLCW_tf.group
group
Definition:
CaloLCW_tf.py:28
IdDict::compute_bits
void compute_bits(const RV ®ions, size_t level, const std::string &group)
Compute the OR of all fields at <level>, for the subset of overlapping regions.
Definition:
get_bits.cxx:15
Generated on Wed May 21 2025 21:10:12 for ATLAS Offline Software by
1.8.18