ATLAS Offline Software
Trigger
TrigT1
Global
GlobalSimulation
src
IO
LArStripNeighborhood.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
#include "
LArStripNeighborhood.h
"
6
7
#include <algorithm>
8
9
namespace
GlobalSim
{
10
11
LArStripNeighborhood::LArStripNeighborhood
(
const
StripDataVector
& phi_low,
12
const
StripDataVector
& phi_center,
13
const
StripDataVector
& phi_high,
14
const
Coords
& roi,
15
const
Coords
&
cell
,
16
std::size_t max_cell_pos) :
17
m_phi_low{std::move(
phi_low
)},
18
m_phi_center{std::move(phi_center)},
19
m_phi_high{std::move(phi_high)},
20
m_roiCoords{roi},
21
m_cellCoords{
cell
},
22
m_max_cell_pos{max_cell_pos}{
23
}
24
}
25
26
std::ostream&
27
operator<<
(std::ostream&
os
,
const
GlobalSim::LArStripNeighborhood
&
n
) {
28
29
os
<<
"LArStripNeighborhood: roi coords ("
30
<<
n
.m_roiCoords.first <<
','
<<
n
.m_roiCoords.second <<
") cell coords ("
31
<<
n
.m_cellCoords.first <<
','
<<
n
.m_cellCoords.second
32
<<
") max_cell_pos "
<<
n
.m_max_cell_pos <<
'\n'
;
33
34
os
<<
"phi low: "
<<
" ["
<<
n
.m_phi_low.size() <<
"]\n"
;
35
for
(
const
auto
&
sd
:
n
.m_phi_low) {
os
<<
sd
<<
'\n'
;}
36
37
os
<<
'\n'
;
38
39
os
<<
"phi center: "
<<
" ["
<<
n
.m_phi_center.size() <<
"]\n"
;
40
for
(
const
auto
&
sd
:
n
.m_phi_center) {
os
<<
sd
<<
'\n'
;}
41
42
os
<<
'\n'
;
43
44
os
<<
"phi high: "
<<
" ["
<<
n
.m_phi_high.size() <<
"]\n"
;
45
for
(
const
auto
&
sd
:
n
.m_phi_high) {
os
<<
sd
<<
'\n'
;}
46
47
os
<<
'\n'
;
48
return
os
;
49
}
50
51
52
53
54
ReadCellNoiseFromCool.cell
cell
Definition:
ReadCellNoiseFromCool.py:53
operator<<
std::ostream & operator<<(std::ostream &os, const GlobalSim::LArStripNeighborhood &n)
Definition:
LArStripNeighborhood.cxx:27
GlobalSim::Coords
std::pair< double, double > Coords
Definition:
LArStripNeighborhood.h:26
GlobalSim::LArStripNeighborhood::LArStripNeighborhood
LArStripNeighborhood(const StripDataVector &phi_low, const StripDataVector &phi_center, const StripDataVector &phi_high, const Coords &roiCoords, const Coords &cellCoords, std::size_t max_cell_pos)
Definition:
LArStripNeighborhood.cxx:11
LArStripNeighborhood.h
python.selector.AtlRunQuerySelectorLhcOlc.sd
sd
Definition:
AtlRunQuerySelectorLhcOlc.py:612
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition:
dump.h:8
beamspotman.n
n
Definition:
beamspotman.py:731
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
GlobalSim::LArStripNeighborhood::phi_low
const StripDataVector & phi_low() const
Definition:
LArStripNeighborhood.h:39
GlobalSim::LArStripNeighborhood
Definition:
LArStripNeighborhood.h:28
GlobalSim::StripDataVector
std::vector< StripData > StripDataVector
Definition:
LArStripNeighborhood.h:24
Generated on Thu Nov 7 2024 21:20:03 for ATLAS Offline Software by
1.8.18