#include <L1MuDTEtaPattern.h>
Public Member Functions | |
int | eta () const |
return eta | |
int | id () const |
return id | |
L1MuDTEtaPattern (int id, int w1, int w2, int w3, int p1, int p2, int p3, int eta, int qual) | |
constructor | |
L1MuDTEtaPattern (const L1MuDTEtaPattern &) | |
copy constructor | |
L1MuDTEtaPattern (int id, const std::string &pat, int eta, int qual) | |
L1MuDTEtaPattern () | |
default constructor | |
bool | operator!= (const L1MuDTEtaPattern &) const |
unequal operator | |
L1MuDTEtaPattern & | operator= (const L1MuDTEtaPattern &) |
assignment operator | |
bool | operator== (const L1MuDTEtaPattern &) const |
equal operator | |
int | position (int station) const |
return position in station [1,3] | |
int | quality () const |
return quality | |
int | wheel (int station) const |
return wheel number in station [1,3] | |
virtual | ~L1MuDTEtaPattern () |
destructor | |
Private Attributes | |
short | m_eta |
short | m_id |
short | m_position [3] |
short | m_qual |
short | m_wheel [3] |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1MuDTEtaPattern &) |
output stream operator | |
std::istream & | operator>> (std::istream &, L1MuDTEtaPattern &) |
input stream operator |
Pattern for Eta Track Finder:
An eta pattern consists of:
N. Neumeister CERN EP
Definition at line 45 of file L1MuDTEtaPattern.h.
L1MuDTEtaPattern::L1MuDTEtaPattern | ( | ) |
default constructor
Definition at line 46 of file L1MuDTEtaPattern.cc.
References i, m_position, and m_wheel.
L1MuDTEtaPattern::L1MuDTEtaPattern | ( | int | id, |
int | w1, | ||
int | w2, | ||
int | w3, | ||
int | p1, | ||
int | p2, | ||
int | p3, | ||
int | eta, | ||
int | qual | ||
) |
constructor
Definition at line 57 of file L1MuDTEtaPattern.cc.
References m_position, m_wheel, p1, p2, p3, w2, and w3.
: m_id(id), m_eta(eta), m_qual(qual) { m_wheel[0] = w1; m_wheel[1] = w2; m_wheel[2] = w3; m_position[0] = p1; m_position[1] = p2; m_position[2] = p3; }
L1MuDTEtaPattern::L1MuDTEtaPattern | ( | int | id, |
const std::string & | pat, | ||
int | eta, | ||
int | qual | ||
) |
L1MuDTEtaPattern::L1MuDTEtaPattern | ( | const L1MuDTEtaPattern & | p | ) |
L1MuDTEtaPattern::~L1MuDTEtaPattern | ( | ) | [virtual] |
int L1MuDTEtaPattern::eta | ( | ) | const [inline] |
return eta
Definition at line 68 of file L1MuDTEtaPattern.h.
References m_eta.
Referenced by operator!=(), operator<<(), operator==(), L1MuDTEtaProcessor::print(), and L1MuDTEtaProcessor::runEtaMatchingUnit().
{ return m_eta; }
int L1MuDTEtaPattern::id | ( | void | ) | const [inline] |
return id
Definition at line 65 of file L1MuDTEtaPattern.h.
References m_id.
Referenced by L1MuDTEtaPatternLut::load(), operator!=(), operator<<(), operator==(), L1MuDTEtaProcessor::print(), and L1MuDTEtaProcessor::runEtaTrackFinder().
{ return m_id; }
bool L1MuDTEtaPattern::operator!= | ( | const L1MuDTEtaPattern & | p | ) | const |
L1MuDTEtaPattern & L1MuDTEtaPattern::operator= | ( | const L1MuDTEtaPattern & | p | ) |
assignment operator
Definition at line 115 of file L1MuDTEtaPattern.cc.
bool L1MuDTEtaPattern::operator== | ( | const L1MuDTEtaPattern & | p | ) | const |
int L1MuDTEtaPattern::position | ( | int | station | ) | const [inline] |
return position in station [1,3]
Definition at line 77 of file L1MuDTEtaPattern.h.
References m_position.
Referenced by L1MuDTEtaProcessor::assign(), and L1MuDTEtaProcessor::runEtaTrackFinder().
{ return m_position[station-1]; }
int L1MuDTEtaPattern::quality | ( | ) | const [inline] |
return quality
Definition at line 71 of file L1MuDTEtaPattern.h.
References m_qual.
Referenced by operator!=(), operator<<(), operator==(), L1MuDTEtaProcessor::print(), and L1MuDTEtaProcessor::runEtaTrackFinder().
{ return m_qual; }
int L1MuDTEtaPattern::wheel | ( | int | station | ) | const [inline] |
return wheel number in station [1,3]
Definition at line 74 of file L1MuDTEtaPattern.h.
References m_wheel.
Referenced by L1MuDTEtaProcessor::assign(), and L1MuDTEtaProcessor::runEtaTrackFinder().
std::ostream& operator<< | ( | std::ostream & | , |
const L1MuDTEtaPattern & | |||
) | [friend] |
output stream operator
std::istream& operator>> | ( | std::istream & | , |
L1MuDTEtaPattern & | |||
) | [friend] |
input stream operator
short L1MuDTEtaPattern::m_eta [private] |
Definition at line 99 of file L1MuDTEtaPattern.h.
Referenced by eta(), operator!=(), operator=(), operator==(), and operator>>().
short L1MuDTEtaPattern::m_id [private] |
Definition at line 96 of file L1MuDTEtaPattern.h.
Referenced by id(), operator!=(), operator=(), operator==(), and operator>>().
short L1MuDTEtaPattern::m_position[3] [private] |
Definition at line 98 of file L1MuDTEtaPattern.h.
Referenced by L1MuDTEtaPattern(), operator!=(), operator<<(), operator=(), operator==(), operator>>(), and position().
short L1MuDTEtaPattern::m_qual [private] |
Definition at line 100 of file L1MuDTEtaPattern.h.
Referenced by operator!=(), operator=(), operator==(), operator>>(), and quality().
short L1MuDTEtaPattern::m_wheel[3] [private] |
Definition at line 97 of file L1MuDTEtaPattern.h.
Referenced by L1MuDTEtaPattern(), operator!=(), operator<<(), operator=(), operator==(), operator>>(), and wheel().