ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GlobalSim::eEmSortSelectCountPortsOut Struct Reference

#include <eEmSortSelectCountPortsOut.h>

Collaboration diagram for GlobalSim::eEmSortSelectCountPortsOut:

Public Types

using GenTobPtr = std::shared_ptr< GenericTob >
 
using BSPtrNumTotalCountWidth = std::shared_ptr< std::bitset< NumTotalCountWidth > >
 

Public Member Functions

 eEmSortSelectCountPortsOut ()
 

Public Attributes

std::array< GenTobPtr, NumTotalTobWidthm_O_eEmGenTob
 
BSPtrNumTotalCountWidth m_O_Multiplicity {std::make_shared<std::bitset<NumTotalCountWidth>>()}
 

Static Public Attributes

constexpr static std::size_t NumSort {7}
 
constexpr static std::size_t NumSelect {NumSort+1}
 
constexpr static std::size_t NumNoSort {1}
 
constexpr static std::array< std::size_t, NumSortSortOutWidths
 
constexpr static std::size_t SortOutWidth
 
constexpr static std::size_t NoSortOutWidth {144}
 
constexpr static std::size_t NumTotalTobWidth
 
constexpr static std::array< std::size_t, NumSortSortOutStart
 
constexpr static std::size_t NumCount {24}
 
constexpr static std::array< unsigned, NumCountCountOutWidth
 
constexpr static std::size_t NumTotalCountWidth
 
constexpr static std::array< std::size_t, NumCountCountOutStart
 
constexpr static std::array< std::size_t, NumCountmax_counts
 

Detailed Description

Definition at line 19 of file eEmSortSelectCountPortsOut.h.

Member Typedef Documentation

◆ BSPtrNumTotalCountWidth

Definition at line 95 of file eEmSortSelectCountPortsOut.h.

◆ GenTobPtr

Definition at line 94 of file eEmSortSelectCountPortsOut.h.

Constructor & Destructor Documentation

◆ eEmSortSelectCountPortsOut()

GlobalSim::eEmSortSelectCountPortsOut::eEmSortSelectCountPortsOut ( )
inline

Definition at line 105 of file eEmSortSelectCountPortsOut.h.

105  {
106  for(std::size_t i = 0; i != NumTotalTobWidth; ++i) {
107  m_O_eEmGenTob[i] = std::make_shared<GenericTob>();
108  }
109  }

Member Data Documentation

◆ CountOutStart

constexpr static std::array<std::size_t, NumCount> GlobalSim::eEmSortSelectCountPortsOut::CountOutStart
staticconstexpr
Initial value:
=
[]{
std::array<std::size_t, NumCount> a{};
std::partial_sum(std::cbegin(CountOutWidth),
std::cend(CountOutWidth)-1,
a.begin()+1,
std::plus<std::size_t>());
return a;
}()

Definition at line 68 of file eEmSortSelectCountPortsOut.h.

◆ CountOutWidth

constexpr static std::array<unsigned, NumCount> GlobalSim::eEmSortSelectCountPortsOut::CountOutWidth
staticconstexpr
Initial value:
{
3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
}

Definition at line 57 of file eEmSortSelectCountPortsOut.h.

◆ m_O_eEmGenTob

std::array<GenTobPtr, NumTotalTobWidth> GlobalSim::eEmSortSelectCountPortsOut::m_O_eEmGenTob

Definition at line 99 of file eEmSortSelectCountPortsOut.h.

◆ m_O_Multiplicity

BSPtrNumTotalCountWidth GlobalSim::eEmSortSelectCountPortsOut::m_O_Multiplicity {std::make_shared<std::bitset<NumTotalCountWidth>>()}

Definition at line 103 of file eEmSortSelectCountPortsOut.h.

◆ max_counts

constexpr static std::array<std::size_t, NumCount> GlobalSim::eEmSortSelectCountPortsOut::max_counts
staticconstexpr
Initial value:
= [] {
std::array<std::size_t, NumCount> a{};
for (std::size_t ind =0; ind != CountOutWidth.size(); ++ind) {
std::size_t result = 1;
for(unsigned i = 1; i <= CountOutWidth[ind]; ++i) {
result *= 2;
}
a[ind] = result-1;
}
return a;
}()

Definition at line 80 of file eEmSortSelectCountPortsOut.h.

◆ NoSortOutWidth

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::NoSortOutWidth {144}
staticconstexpr

Definition at line 39 of file eEmSortSelectCountPortsOut.h.

◆ NumCount

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::NumCount {24}
staticconstexpr

Definition at line 56 of file eEmSortSelectCountPortsOut.h.

◆ NumNoSort

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::NumNoSort {1}
staticconstexpr

Definition at line 26 of file eEmSortSelectCountPortsOut.h.

◆ NumSelect

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::NumSelect {NumSort+1}
staticconstexpr

Definition at line 25 of file eEmSortSelectCountPortsOut.h.

◆ NumSort

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::NumSort {7}
staticconstexpr

Definition at line 23 of file eEmSortSelectCountPortsOut.h.

◆ NumTotalCountWidth

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::NumTotalCountWidth
staticconstexpr
Initial value:

Definition at line 62 of file eEmSortSelectCountPortsOut.h.

◆ NumTotalTobWidth

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::NumTotalTobWidth
staticconstexpr
Initial value:

Definition at line 41 of file eEmSortSelectCountPortsOut.h.

◆ SortOutStart

constexpr static std::array<std::size_t, NumSort> GlobalSim::eEmSortSelectCountPortsOut::SortOutStart
staticconstexpr
Initial value:
=
[]{
std::array<std::size_t, NumSort> a{};
std::partial_sum(std::cbegin(SortOutWidths),
std::cend(SortOutWidths)-1,
a.begin()+1,
std::plus<std::size_t>());
return a;
}()

Definition at line 46 of file eEmSortSelectCountPortsOut.h.

◆ SortOutWidth

constexpr static std::size_t GlobalSim::eEmSortSelectCountPortsOut::SortOutWidth
staticconstexpr
Initial value:

Definition at line 34 of file eEmSortSelectCountPortsOut.h.

◆ SortOutWidths

constexpr static std::array<std::size_t, NumSort> GlobalSim::eEmSortSelectCountPortsOut::SortOutWidths
staticconstexpr
Initial value:
{
{6UL, 6UL, 6UL, 10UL, 10UL, 10UL, 6UL}
}

Definition at line 29 of file eEmSortSelectCountPortsOut.h.


The documentation for this struct was generated from the following file:
get_generator_info.result
result
Definition: get_generator_info.py:21
GlobalSim::eEmSortSelectCountPortsOut::NoSortOutWidth
constexpr static std::size_t NoSortOutWidth
Definition: eEmSortSelectCountPortsOut.h:39
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
GlobalSim::eEmSortSelectCountPortsOut::SortOutWidth
constexpr static std::size_t SortOutWidth
Definition: eEmSortSelectCountPortsOut.h:34
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:92
lumiFormat.i
int i
Definition: lumiFormat.py:85
GlobalSim::eEmSortSelectCountPortsOut::NumTotalTobWidth
constexpr static std::size_t NumTotalTobWidth
Definition: eEmSortSelectCountPortsOut.h:41
runIDAlign.accumulate
accumulate
Update flags based on parser line args.
Definition: runIDAlign.py:60
a
TList * a
Definition: liststreamerinfos.cxx:10
GlobalSim::eEmSortSelectCountPortsOut::m_O_eEmGenTob
std::array< GenTobPtr, NumTotalTobWidth > m_O_eEmGenTob
Definition: eEmSortSelectCountPortsOut.h:99
GlobalSim::eEmSortSelectCountPortsOut::CountOutWidth
constexpr static std::array< unsigned, NumCount > CountOutWidth
Definition: eEmSortSelectCountPortsOut.h:57
GlobalSim::eEmSortSelectCountPortsOut::SortOutWidths
constexpr static std::array< std::size_t, NumSort > SortOutWidths
Definition: eEmSortSelectCountPortsOut.h:29