|
ATLAS Offline Software
|
Go to the documentation of this file.
40 void inputx(
const int xstrip);
42 void inputy(
const int ystrip);
std::vector< XYPair > PairVector
void formNewPairsWithY(const int yval)
const PairVector & pairs() const
Return the pairs as a vector of pairs of integers.
Class to build pairs of XY values.
float weight() const
Return the 'weight', = 1/(number of pairs)
std::pair< int, int > XYPair
int yOfPairAt(const int indx) const
Return the Y value of a specific pair.
std::ostream & operator<<(std::ostream &os, const PairBuilder &e)
Overloaded "operator <<" for output of PairBuilder objects.
void inputx(const int xstrip)
Input a new x value.
void formNewPairsWithX(const int xval)
int xOfPairAt(const int indx) const
Return the X value of a specific pair.
int numberOfPairs() const
Return the number of XY pairs made.
void inputxy(const int ystrip)
Input a new y value.
void inputy(const int ystrip)
Input a new y value.
IntSet m_xvalues
use sets to avoid duplicate values
PairVector m_pairs
Vector to hold the pairs produced.
XYPair pairAtIndex(const int indx) const
Return a specific XY pair at some vector index.