CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::SiPixelErrorsSoA ( )
default
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) {}
std::vector< SiPixelErrorCompact > error_
const SiPixelFormatterErrors * formatterErrors_
SiPixelErrorsSoA::~SiPixelErrorsSoA ( )
default

Member Function Documentation

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

Definition at line 21 of file SiPixelErrorsSoA.h.

References error_, and mps_fire::i.

21 { return error_[i]; }
std::vector< SiPixelErrorCompact > error_
const std::vector<SiPixelErrorCompact>& SiPixelErrorsSoA::errorVector ( ) const
inline

Definition at line 23 of file SiPixelErrorsSoA.h.

References error_.

23 { return error_; }
std::vector< SiPixelErrorCompact > error_
const SiPixelFormatterErrors* SiPixelErrorsSoA::formatterErrors ( ) const
inline

Definition at line 19 of file SiPixelErrorsSoA.h.

References formatterErrors_.

19 { return formatterErrors_; }
const SiPixelFormatterErrors * formatterErrors_
auto SiPixelErrorsSoA::size ( void  ) const
inline

Definition at line 17 of file SiPixelErrorsSoA.h.

References error_.

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

17 { return error_.size(); }
std::vector< SiPixelErrorCompact > error_

Member Data Documentation

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

Definition at line 26 of file SiPixelErrorsSoA.h.

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

const SiPixelFormatterErrors* SiPixelErrorsSoA::formatterErrors_ = nullptr
private

Definition at line 27 of file SiPixelErrorsSoA.h.

Referenced by formatterErrors().