ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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::m_bunches
const std::vector< int > & m_bunches
Filled bunches in the current configuration.
Definition
count_bunch_neighbors.h:36
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::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
Trig
The common trigger namespace for trigger analysis tools.
Definition
LArCellMonAlg.h:33
Generated on
for ATLAS Offline Software by
1.17.0