#include <L1MuDTTrackSegPhi.h>
Public Types | |
enum | TSQuality { Li, Lo, Hi, Ho, LL, HL, HH, Null } |
quality code of DTBX phi track segments More... | |
Public Member Functions | |
int | bx () const |
return bunch crossing More... | |
bool | empty () const |
is it an empty phi track segment? More... | |
bool | etaFlag () const |
return eta flag More... | |
L1MuDTTrackSegPhi () | |
default constructor More... | |
L1MuDTTrackSegPhi (int wheel_id, int sector_id, int station_id, int phi=0, int phib=0, TSQuality quality=Null, bool tag=false, int bx=17, bool etaFlag=false) | |
constructor More... | |
L1MuDTTrackSegPhi (const L1MuDTTrackSegLoc &, int phi=0, int phib=0, TSQuality quality=Null, bool tag=false, int bx=17, bool etaFlag=false) | |
constructor More... | |
L1MuDTTrackSegPhi (const L1MuDTTrackSegPhi &) | |
copy constructor More... | |
bool | operator!= (const L1MuDTTrackSegPhi &) const |
unequal operator More... | |
L1MuDTTrackSegPhi & | operator= (const L1MuDTTrackSegPhi &) |
assignment operator More... | |
bool | operator== (const L1MuDTTrackSegPhi &) const |
equal operator More... | |
int | phi () const |
return phi More... | |
int | phib () const |
return phib More... | |
double | phibValue () const |
return phib-value in global coordinates [0,2pi] More... | |
double | phiValue () const |
return phi-value in global coordinates [0,2pi] More... | |
int | quality () const |
return quality code More... | |
void | reset () |
reset phi track segment More... | |
int | sector () const |
return sector More... | |
void | setEtaFlag (bool flag) |
set eta flag More... | |
int | station () const |
return station More... | |
int | tag () const |
return tag (second TS tag) More... | |
int | wheel () const |
return wheel More... | |
const L1MuDTTrackSegLoc & | where () const |
return location of phi track segment More... | |
virtual | ~L1MuDTTrackSegPhi () |
destructor More... | |
Private Attributes | |
int | m_bx |
bool | m_etaFlag |
L1MuDTTrackSegLoc | m_location |
int | m_phi |
int | m_phib |
TSQuality | m_quality |
bool | m_tag |
Friends | |
std::ostream & | operator<< (std::ostream &, const TSQuality &) |
overload output stream operator for phi track segment quality More... | |
std::ostream & | operator<< (std::ostream &, const L1MuDTTrackSegPhi &) |
overload output stream operator for phi track segments More... | |
PHI Track Segment
N. Neumeister CERN EP
Definition at line 38 of file L1MuDTTrackSegPhi.h.
quality code of DTBX phi track segments
Enumerator | |
---|---|
Li | |
Lo | |
Hi | |
Ho | |
LL | |
HL | |
HH | |
Null |
Definition at line 43 of file L1MuDTTrackSegPhi.h.
L1MuDTTrackSegPhi::L1MuDTTrackSegPhi | ( | ) |
default constructor
Definition at line 46 of file L1MuDTTrackSegPhi.cc.
L1MuDTTrackSegPhi::L1MuDTTrackSegPhi | ( | int | wheel_id, |
int | sector_id, | ||
int | station_id, | ||
int | phi = 0 , |
||
int | phib = 0 , |
||
TSQuality | quality = Null , |
||
bool | tag = false , |
||
int | bx = 17 , |
||
bool | etaFlag = false |
||
) |
constructor
Definition at line 50 of file L1MuDTTrackSegPhi.cc.
L1MuDTTrackSegPhi::L1MuDTTrackSegPhi | ( | const L1MuDTTrackSegLoc & | id, |
int | phi = 0 , |
||
int | phib = 0 , |
||
TSQuality | quality = Null , |
||
bool | tag = false , |
||
int | bx = 17 , |
||
bool | etaFlag = false |
||
) |
constructor
Definition at line 70 of file L1MuDTTrackSegPhi.cc.
L1MuDTTrackSegPhi::L1MuDTTrackSegPhi | ( | const L1MuDTTrackSegPhi & | id | ) |
|
virtual |
|
inline |
|
inline |
is it an empty phi track segment?
Definition at line 106 of file L1MuDTTrackSegPhi.h.
References m_quality, and Null.
Referenced by L1MuDTSEU::run(), and L1MuDTExtrapolationUnit::run().
|
inline |
bool L1MuDTTrackSegPhi::operator!= | ( | const L1MuDTTrackSegPhi & | id | ) | const |
unequal operator
Definition at line 181 of file L1MuDTTrackSegPhi.cc.
References m_bx, m_location, m_phi, m_phib, and m_quality.
L1MuDTTrackSegPhi & L1MuDTTrackSegPhi::operator= | ( | const L1MuDTTrackSegPhi & | id | ) |
assignment operator
Definition at line 147 of file L1MuDTTrackSegPhi.cc.
References m_bx, m_etaFlag, m_location, m_phi, m_phib, m_quality, and m_tag.
bool L1MuDTTrackSegPhi::operator== | ( | const L1MuDTTrackSegPhi & | id | ) | const |
equal operator
Definition at line 166 of file L1MuDTTrackSegPhi.cc.
References m_bx, m_location, m_phi, m_phib, and m_quality.
|
inline |
return phi
Definition at line 88 of file L1MuDTTrackSegPhi.h.
References m_phi.
Referenced by L1MuDTAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::phiDiff(), and L1MuDTEUX::run().
|
inline |
return phib
Definition at line 91 of file L1MuDTTrackSegPhi.h.
References m_phib.
Referenced by L1MuDTAssignmentUnit::getPtMethod(), L1MuDTAssignmentUnit::PhiAU(), and L1MuDTEUX::run().
double L1MuDTTrackSegPhi::phibValue | ( | ) | const |
return phib-value in global coordinates [0,2pi]
Definition at line 137 of file L1MuDTTrackSegPhi.cc.
References m_phib.
double L1MuDTTrackSegPhi::phiValue | ( | ) | const |
return phi-value in global coordinates [0,2pi]
Definition at line 125 of file L1MuDTTrackSegPhi.cc.
References m_location, m_phi, M_PI, L1MuDTTrackSegLoc::sector(), and tmp.
|
inline |
return quality code
Definition at line 94 of file L1MuDTTrackSegPhi.h.
References m_quality.
Referenced by L1MuDTEUX::run().
void L1MuDTTrackSegPhi::reset | ( | void | ) |
reset phi track segment
Definition at line 110 of file L1MuDTTrackSegPhi.cc.
References m_bx, m_etaFlag, m_phi, m_phib, m_quality, m_tag, and Null.
Referenced by L1MuDTSEU::reset().
|
inline |
return sector
Definition at line 79 of file L1MuDTTrackSegPhi.h.
References m_location, and L1MuDTTrackSegLoc::sector().
Referenced by geometryXMLparser.DTAlignable::index(), L1MuDTAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::phiDiff(), and L1MuDTEUX::run().
|
inline |
|
inline |
return station
Definition at line 82 of file L1MuDTTrackSegPhi.h.
References m_location, and L1MuDTTrackSegLoc::station().
Referenced by L1MuDTAssignmentUnit::getTSphi(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
return tag (second TS tag)
Definition at line 97 of file L1MuDTTrackSegPhi.h.
References m_tag.
Referenced by Inspector.Inspector::SetTag().
|
inline |
return wheel
Definition at line 76 of file L1MuDTTrackSegPhi.h.
References m_location, and L1MuDTTrackSegLoc::wheel().
Referenced by geometryXMLparser.DTAlignable::index(), and L1MuDTEUX::run().
|
inline |
return location of phi track segment
Definition at line 85 of file L1MuDTTrackSegPhi.h.
References m_location.
|
friend |
overload output stream operator for phi track segment quality
|
friend |
overload output stream operator for phi track segments
|
private |
Definition at line 133 of file L1MuDTTrackSegPhi.h.
Referenced by bx(), operator!=(), operator=(), operator==(), and reset().
|
private |
Definition at line 134 of file L1MuDTTrackSegPhi.h.
Referenced by etaFlag(), operator=(), reset(), and setEtaFlag().
|
private |
Definition at line 128 of file L1MuDTTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phiValue(), sector(), station(), wheel(), and where().
|
private |
Definition at line 129 of file L1MuDTTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phi(), phiValue(), and reset().
|
private |
Definition at line 130 of file L1MuDTTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phib(), phibValue(), and reset().
|
private |
Definition at line 131 of file L1MuDTTrackSegPhi.h.
Referenced by empty(), operator!=(), operator=(), operator==(), quality(), and reset().
|
private |
Definition at line 132 of file L1MuDTTrackSegPhi.h.
Referenced by operator=(), reset(), and tag().