|
ATLAS Offline Software
|
Go to the documentation of this file.
49 void init(
const unsigned int& r_nb_indices);
51 void init(
const unsigned int& r_nb_indices,
const std::vector<int>& r_index);
63 IndexSet(
const unsigned int& r_nb_indices,
const std::vector<int>& r_index) {
init(r_nb_indices, r_index); }
68 unsigned int size()
const;
70 void resize(
const unsigned int& r_size);
int operator[](const unsigned int &r_k)
:::::::::::::::::::::::
unsigned int size() const
get the number of indices
bool operator==(const IndexSet &r_index_set) const
IndexSet()
default constructor: the number of indices is set to 0
unsigned int m_nb_indices
IndexSet(const unsigned int &r_nb_indices, const std::vector< int > &r_index)
constructor: the number of indices is set to r_nb_indices, the vector r_index contains the indices
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
void sort()
sort the indices in ascending order
void resize(const unsigned int &r_size)
resize the index set to r_size; the index store is preserved as far as possible
bool operator!=(const IndexSet &r_index_set) const
comparison of two index sets; two index sets are considered equal if they are of the same size and th...
std::vector< int > m_index
IndexSet(const unsigned int &r_nb_indices)
constructor: the number of indices is set to r_nb_indices