![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef MuonCalib_CombinationH
10 #define MuonCalib_CombinationH
64 const unsigned int & wh_class);
70 unsigned int m_n = 0U;
71 unsigned int m_k = 0U;
76 void init(
const unsigned int &
n,
const unsigned int &
k);
unsigned int whichClass(void) const
get the class of which the combination is
unsigned int numberOfCombinations(void) const
get the number of combinations
Combination(void)
Default construcor. A combination of 1 out of 1 is created.
void currentCombination(std::vector< unsigned int > &index_array) const
get the current combination; the result is stored in the vector index_array
void setNewParameters(const unsigned int &nb_elements, const unsigned int &wh_class)
set the number of elements = nb_elements; set the class of which the combination is = wh_class
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
void reset(void)
go back to the first combination
std::vector< unsigned int > m_index
std::vector< unsigned int > m_flag
void nextCombination(std::vector< unsigned int > &index_array)
get the next combination; the results is stored in the array index_array
void init(const unsigned int &n, const unsigned int &k)
unsigned int numberOfElements(void) const
get the number of elements