CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiPixelErrorsSoA Class Reference

#include <SiPixelErrorsSoA.h>

Public Member Functions

const SiPixelErrorCompacterror (size_t i) const
 
const std::vector< SiPixelErrorCompact > & errorVector () const
 
const SiPixelFormatterErrorsformatterErrors () const
 
 SiPixelErrorsSoA ()=default
 
 SiPixelErrorsSoA (size_t nErrors, const SiPixelErrorCompact *error, const SiPixelFormatterErrors *err)
 
auto size () const
 
 ~SiPixelErrorsSoA ()=default
 

Private Attributes

std::vector< SiPixelErrorCompacterror_
 
const SiPixelFormatterErrorsformatterErrors_ = nullptr
 

Detailed Description

Definition at line 10 of file SiPixelErrorsSoA.h.

Constructor & Destructor Documentation

◆ SiPixelErrorsSoA() [1/2]

SiPixelErrorsSoA::SiPixelErrorsSoA ( )
default

◆ SiPixelErrorsSoA() [2/2]

SiPixelErrorsSoA::SiPixelErrorsSoA ( size_t  nErrors,
const SiPixelErrorCompact error,
const SiPixelFormatterErrors err 
)
inlineexplicit

Definition at line 13 of file SiPixelErrorsSoA.h.

14  : error_(error, error + nErrors), formatterErrors_(err) {}

◆ ~SiPixelErrorsSoA()

SiPixelErrorsSoA::~SiPixelErrorsSoA ( )
default

Member Function Documentation

◆ error()

const SiPixelErrorCompact& SiPixelErrorsSoA::error ( size_t  i) const
inline

Definition at line 21 of file SiPixelErrorsSoA.h.

21 { return error_[i]; }

References error_, and mps_fire::i.

Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().

◆ errorVector()

const std::vector<SiPixelErrorCompact>& SiPixelErrorsSoA::errorVector ( ) const
inline

Definition at line 23 of file SiPixelErrorsSoA.h.

23 { return error_; }

References error_.

◆ formatterErrors()

const SiPixelFormatterErrors* SiPixelErrorsSoA::formatterErrors ( ) const
inline

Definition at line 19 of file SiPixelErrorsSoA.h.

19 { return formatterErrors_; }

References formatterErrors_.

◆ size()

auto SiPixelErrorsSoA::size ( void  ) const
inline

Definition at line 17 of file SiPixelErrorsSoA.h.

17 { return error_.size(); }

References error_.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

Member Data Documentation

◆ error_

std::vector<SiPixelErrorCompact> SiPixelErrorsSoA::error_
private

Definition at line 26 of file SiPixelErrorsSoA.h.

Referenced by error(), errorVector(), and size().

◆ formatterErrors_

const SiPixelFormatterErrors* SiPixelErrorsSoA::formatterErrors_ = nullptr
private

Definition at line 27 of file SiPixelErrorsSoA.h.

Referenced by formatterErrors().

mps_fire.i
i
Definition: mps_fire.py:428
SiPixelErrorsSoA::error
const SiPixelErrorCompact & error(size_t i) const
Definition: SiPixelErrorsSoA.h:21
SiPixelErrorsSoA::formatterErrors_
const SiPixelFormatterErrors * formatterErrors_
Definition: SiPixelErrorsSoA.h:27
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
SiPixelErrorsSoA::error_
std::vector< SiPixelErrorCompact > error_
Definition: SiPixelErrorsSoA.h:26