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
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
Trigger
TrigAnalysis
TrigBunchCrossingTool
Root
count_bunch_neighbors.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef TRIGBUNCHCROSSINGTOOL_COUNT_BUNCH_NEIGHBORS_H
8
#define TRIGBUNCHCROSSINGTOOL_COUNT_BUNCH_NEIGHBORS_H
9
10
// System include(s):
11
#include <vector>
12
13
namespace
Trig
{
14
24
class
count_bunch_neighbors
{
25
26
public
:
28
count_bunch_neighbors
(
const
std::vector< int >& bunches,
29
int
maxBunchSpacing );
30
32
int
operator()
(
int
bunch )
const
;
33
34
private
:
36
const
std::vector< int >&
m_bunches
;
38
const
int
m_maxBunchSpacing
;
39
40
};
// class count_bunch_neighbors
41
42
}
// namespace Trig
43
44
#endif // TRIGBUNCHCROSSINGTOOL_COUNT_BUNCH_NEIGHBORS_H
Trig::count_bunch_neighbors::operator()
int operator()(int bunch) const
Count how many neighbors can be found for the specified bunch crossing.
Definition:
count_bunch_neighbors.cxx:22
Trig::count_bunch_neighbors::m_bunches
const std::vector< int > & m_bunches
Filled bunches in the current configuration.
Definition:
count_bunch_neighbors.h:36
Trig
The common trigger namespace for trigger analysis tools.
Definition:
LArCellMonAlg.h:33
Trig::count_bunch_neighbors
Functor counting how many neighbors a given bunch crossing has.
Definition:
count_bunch_neighbors.h:24
Trig::count_bunch_neighbors::count_bunch_neighbors
count_bunch_neighbors(const std::vector< int > &bunches, int maxBunchSpacing)
Constructor with colliding bunches, and maximum bunch spacing.
Definition:
count_bunch_neighbors.cxx:16
Trig::count_bunch_neighbors::m_maxBunchSpacing
const int m_maxBunchSpacing
Maximum bunch spacing to consider.
Definition:
count_bunch_neighbors.h:38
Generated on Fri Mar 28 2025 21:08:49 for ATLAS Offline Software by
1.8.18