47 m_id(0), m_eta(0), m_qual(0) {
49 for (
int i = 0;
i < 3;
i++) {
61 m_id(id), m_eta(eta), m_qual(qual) {
74 m_id(id), m_eta(eta), m_qual(qual) {
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());
91 m_id(p.m_id), m_eta(p.m_eta), m_qual(p.m_qual) {
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());
common ppss p3p6s2 common epss epspn46 common const1 w2
int quality() const
return quality
L1MuDTEtaPattern & operator=(const L1MuDTEtaPattern &)
assignment operator
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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
std::istream & operator>>(std::istream &input, CLHEP::HepGenMatrix &matrix)
virtual ~L1MuDTEtaPattern()
destructor