#include <IRegSelLUT.h>
|
| template<typename T> |
| static void | removeDuplicates (std::vector< T > &vec) |
| | useful for removing duplicates if required ...
|
Definition at line 26 of file IRegSelLUT.h.
◆ handler
template<typename
C, typename T>
◆ handler_layer
template<typename
C, typename T>
◆ ~IRegSelLUT()
| virtual IRegSelLUT::~IRegSelLUT |
( |
| ) |
|
|
inlinevirtual |
◆ HashIDList() [1/2]
◆ HashIDList() [2/2]
◆ IDList()
template<typename
C, typename T>
| void IRegSelLUT::IDList |
( |
const IRoiDescriptor & | roi, |
|
|
std::vector< T > & | idlist, |
|
|
handler< C, T > | lister ) const |
|
inlineprotected |
Definition at line 88 of file IRegSelLUT.h.
88 {
89
91 idlist.clear();
92 for (
unsigned iroi=roi.
size() ; iroi-- ; )
IDList<C>( *(roi.
at(iroi)), idlist, lister );
94 return;
95 }
96
97 (
dynamic_cast<const C*
>(
this)->*lister)( roi, idlist );
98
99 }
static void removeDuplicates(std::vector< T > &vec)
useful for removing duplicates if required ...
void IDList(const IRoiDescriptor &roi, std::vector< T > &idlist, handler< C, T > lister) const
virtual const IRoiDescriptor * at(int i) const =0
find an RoiDescriptor constituent
virtual unsigned size() const =0
number of constituents
virtual bool composite() const =0
Super RoI access methods.
◆ IDList_layer()
template<typename
C, typename T>
Definition at line 106 of file IRegSelLUT.h.
106 {
107
109 idlist.clear();
110 for (
unsigned iroi=roi.
size() ; iroi-- ; )
IDList_layer<C>( layer, *(roi.
at(iroi)), idlist, lister );
112 return;
113 }
114
115 (
dynamic_cast<const C*
>(
this)->*lister)( layer, roi, idlist );
116
117 }
void IDList_layer(long layer, const IRoiDescriptor &roi, std::vector< T > &idlist, handler_layer< C, T > lister) const
◆ removeDuplicates()
template<typename T>
| void IRegSelLUT::removeDuplicates |
( |
std::vector< T > & | vec | ) |
|
|
inlinestaticprotected |
useful for removing duplicates if required ...
Definition at line 78 of file IRegSelLUT.h.
78 {
81 }
std::vector< size_t > vec
DataModel_detail::iterator< DVL > unique(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of unique for DataVector/List.
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
◆ ROBIDList() [1/2]
| virtual void IRegSelLUT::ROBIDList |
( |
const IRoiDescriptor & | roi, |
|
|
std::vector< uint32_t > & | roblist ) const |
|
pure virtual |
Rob identifier methods methods.
ROBIDList interface declaration. This interface can be used by the ID subdetectors. A list of non-repeated ROBIDs (uint_32_t) is returned by a reference.
- Parameters
-
- Returns
- std::vector<uint32_t> which is a list of non-repeated ROBID numbers.
Implemented in RegSelectorHashMap, RegSelectorMap, and RegSelSiLUT.
◆ ROBIDList() [2/2]
| virtual void IRegSelLUT::ROBIDList |
( |
long | layer, |
|
|
const IRoiDescriptor & | roi, |
|
|
std::vector< uint32_t > & | roblist ) const |
|
pure virtual |
ROBIDList interface declaration. This interface can be used by the ID subdetectors. A list of non-repeated ROBIDs (uint_32_t) is returned by a reference.
- Parameters
-
| long | layer, long int to decide which layer within the detector. |
| IRoiDescriptor | the IRoiDescriptor for the roi, all enabled elements in the roi are found. |
- Returns
- std::vector<uint32_t> which is a list of non-repeated ROBID numbers.
Implemented in RegSelectorHashMap, RegSelectorMap, and RegSelSiLUT.
The documentation for this class was generated from the following file: