ATLAS Offline Software
Loading...
Searching...
No Matches
PairBuilder.cxx File Reference
#include "PairBuilder.h"
Include dependency graph for PairBuilder.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const PairBuilder &e)
 Overloaded "operator <<" for output of PairBuilder objects.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const PairBuilder & e )

Overloaded "operator <<" for output of PairBuilder objects.

Definition at line 73 of file PairBuilder.cxx.

73 {
74 int arrSize = e.numberOfPairs();
75 for(int i=0; i<arrSize;++i){
76 os << "( " << e.xOfPairAt(i) << ", " << e.yOfPairAt(i) << " )" << std::endl;
77 }
78 return os;
79}