Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataFormats
SiPixelRawData
interface
SiPixelErrorsSoA.h
Go to the documentation of this file.
1
#ifndef DataFormats_SiPixelDigi_interface_SiPixelErrorsSoA_h
2
#define DataFormats_SiPixelDigi_interface_SiPixelErrorsSoA_h
3
4
#include "
DataFormats/SiPixelRawData/interface/SiPixelErrorCompact.h
"
5
#include "
DataFormats/SiPixelRawData/interface/SiPixelFormatterErrors.h
"
6
7
#include <cstdint>
8
#include <vector>
9
10
class
SiPixelErrorsSoA
{
11
public
:
12
SiPixelErrorsSoA
() =
default
;
13
explicit
SiPixelErrorsSoA
(
size_t
nErrors,
const
SiPixelErrorCompact
*
error
,
const
SiPixelFormatterErrors
*
err
)
14
:
error_
(error, error + nErrors),
formatterErrors_
(err) {}
15
~SiPixelErrorsSoA
() =
default
;
16
17
auto
size
()
const
{
return
error_
.size(); }
18
19
const
SiPixelFormatterErrors
*
formatterErrors
()
const
{
return
formatterErrors_
; }
20
21
const
SiPixelErrorCompact
&
error
(
size_t
i
)
const
{
return
error_
[
i
]; }
22
23
const
std::vector<SiPixelErrorCompact> &
errorVector
()
const
{
return
error_
; }
24
25
private
:
26
std::vector<SiPixelErrorCompact>
error_
;
27
const
SiPixelFormatterErrors
*
formatterErrors_
=
nullptr
;
28
};
29
30
#endif
SiPixelErrorsSoA::errorVector
const std::vector< SiPixelErrorCompact > & errorVector() const
Definition:
SiPixelErrorsSoA.h:23
SiPixelErrorCompact.h
mps_fire.i
i
Definition:
mps_fire.py:428
SiPixelErrorsSoA::size
auto size() const
Definition:
SiPixelErrorsSoA.h:17
SiPixelErrorsSoA::error_
std::vector< SiPixelErrorCompact > error_
Definition:
SiPixelErrorsSoA.h:26
submitPVValidationJobs.err
tuple err
Definition:
submitPVValidationJobs.py:121
SiPixelErrorsSoA::~SiPixelErrorsSoA
~SiPixelErrorsSoA()=default
SiPixelFormatterErrors
std::map< cms_uint32_t, std::vector< SiPixelRawDataError >> SiPixelFormatterErrors
Definition:
SiPixelFormatterErrors.h:10
SiPixelErrorsSoA::SiPixelErrorsSoA
SiPixelErrorsSoA(size_t nErrors, const SiPixelErrorCompact *error, const SiPixelFormatterErrors *err)
Definition:
SiPixelErrorsSoA.h:13
SiPixelErrorsSoA
Definition:
SiPixelErrorsSoA.h:10
SiPixelFormatterErrors.h
SiPixelErrorsSoA::formatterErrors
const SiPixelFormatterErrors * formatterErrors() const
Definition:
SiPixelErrorsSoA.h:19
SiPixelErrorsSoA::error
const SiPixelErrorCompact & error(size_t i) const
Definition:
SiPixelErrorsSoA.h:21
SiPixelErrorsSoA::SiPixelErrorsSoA
SiPixelErrorsSoA()=default
SiPixelErrorsSoA::formatterErrors_
const SiPixelFormatterErrors * formatterErrors_
Definition:
SiPixelErrorsSoA.h:27
SiPixelErrorCompact
Definition:
SiPixelErrorCompact.h:6
Generated for CMSSW Reference Manual by
1.8.5