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
LArCalorimeter
LArElecCalib
LArElecCalib
LArVectorProxy.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
15
#ifndef LARELECCALIB_LARVECTORPROXY_H
16
#define LARELECCALIB_LARVECTORPROXY_H
17
18
19
#include <vector>
20
#include <span>
21
#include <cstdlib>
22
23
37
class
LArVectorProxy
:
38
public
std::span
<const float> {
39
40
public
:
41
46
LArVectorProxy
();
47
48
53
LArVectorProxy
(
const
std::vector<value_type>&
vec
);
54
55
61
LArVectorProxy
(
const
value_type
*
beg
,
const
value_type
*
end
);
62
63
67
bool
valid
()
const
;
68
72
value_type
at
(
size_t
i
)
const
;
73
74
78
std::vector<value_type>
asVector
()
const
;
79
80
};
81
82
83
#include "
LArElecCalib/LArVectorProxy.icc
"
84
85
86
#endif // not LARELECCALIB__LARVECTORPROXY_H
LArVectorProxy::LArVectorProxy
LArVectorProxy(const value_type *beg, const value_type *end)
Construct a proxy referencing a range of vectors in memory.
CxxUtils::span
span(T *ptr, std::size_t sz) -> span< T >
A couple needed deduction guides.
LArVectorProxy::valid
bool valid() const
Test to see if the proxy has been initialized.
vec
std::vector< size_t > vec
Definition:
CombinationsGeneratorTest.cxx:9
mergePhysValFiles.end
end
Definition:
DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
LArVectorProxy::LArVectorProxy
LArVectorProxy(const std::vector< value_type > &vec)
Construct a proxy referencing an existing vector.
LArVectorProxy::LArVectorProxy
LArVectorProxy()
Default constructor.
LArVectorProxy::at
value_type at(size_t i) const
Vector indexing with bounds check.
lumiFormat.i
int i
Definition:
lumiFormat.py:85
WriteBchToCool.beg
beg
Definition:
WriteBchToCool.py:69
LArVectorProxy.icc
LArVectorProxy::asVector
std::vector< value_type > asVector() const
Convert back to a vector.
value_type
Definition:
EDM_MasterSearch.h:11
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition:
LArVectorProxy.h:38
Generated on Fri Mar 21 2025 21:14:07 for ATLAS Offline Software by
1.8.18