47 m_id(0), m_eta(0), m_qual(0) {
49 for (
int i = 0;
i < 3;
i++) {
76 for (
int i = 0;
i < 3;
i++ ) {
77 string sub =
pat.substr(3*
i,3);
83 m_wheel[
i] = atoi(sub.substr(0,2).c_str());
93 for (
int i = 0;
i < 3;
i++) {
121 for (
int i = 0;
i < 3;
i++) {
136 if (
m_id != p.
id() )
return false;
137 if (
m_eta != p.
eta() )
return false;
139 for (
int i = 0;
i < 3;
i++) {
153 if (
m_id != p.
id() )
return true;
154 if (
m_eta != p.
eta() )
return true;
156 for (
int i = 0;
i < 3;
i++) {
171 s.setf(ios::right,ios::adjustfield);
172 s <<
"ID = " << setw(8) << p.
id() <<
" " 173 <<
"quality = " << setw(2) << p.
quality() <<
" " 174 <<
"eta = " << setw(1) << p.
eta() << endl;
175 for (
int i = 0;
i < 3;
i++) {
176 s <<
"station = " <<
i+1 <<
" : ";
177 for (
int j = 0;
j < 5;
j++) {
199 for (
int i = 0;
i < 3;
i++ ) {
200 string sub = pat.substr(3*
i,3);
201 if ( sub ==
"___" ) {
206 p.
m_wheel[
i] = atoi(sub.substr(0,2).c_str());
friend std::istream & operator>>(std::istream &, L1MuDTEtaPattern &)
input stream operator
common ppss p3p6s2 common epss epspn46 common const1 w2
int quality() const
return quality
L1MuDTEtaPattern & operator=(const L1MuDTEtaPattern &)
assignment operator
int eta() const
return eta
bool operator!=(const L1MuDTEtaPattern &) const
unequal operator
bool operator==(const L1MuDTEtaPattern &) const
equal operator
L1MuDTEtaPattern()
default constructor
common ppss p3p6s2 common epss epspn46 common const1 w3
friend std::ostream & operator<<(std::ostream &, const L1MuDTEtaPattern &)
output stream operator
virtual ~L1MuDTEtaPattern()
destructor