ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimBinUtil::IdxSet Struct Reference

#include <FPGATrackSimBinUtil.h>

Inheritance diagram for FPGATrackSimBinUtil::IdxSet:
Collaboration diagram for FPGATrackSimBinUtil::IdxSet:

Public Member Functions

 IdxSet (const std::vector< unsigned > &val)
 operator const std::vector< unsigned > () const

Public Attributes

elements
 STL member.

Detailed Description

Definition at line 50 of file FPGATrackSimBinUtil.h.

Constructor & Destructor Documentation

◆ IdxSet()

FPGATrackSimBinUtil::IdxSet::IdxSet ( const std::vector< unsigned > & val)

Definition at line 30 of file FPGATrackSimBinUtil.cxx.

30 {
31 if (val.size() != 5) {
32 throw std::invalid_argument(
33 "Not enough parameters in IdxSet initialization");
34 }
35 std::copy(val.begin(), val.end(), this->begin());
36}

Member Function Documentation

◆ operator const std::vector< unsigned >()

FPGATrackSimBinUtil::IdxSet::operator const std::vector< unsigned > ( ) const

Definition at line 37 of file FPGATrackSimBinUtil.cxx.

37 {
38 return std::vector<unsigned>(this->begin(), this->end());
39}

Member Data Documentation

◆ elements

T std::array< T >::elements
inherited

STL member.


The documentation for this struct was generated from the following files: