#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... | |
quality code of DTBX phi track segments
Enumerator | |
---|---|
Li | |
Lo | |
Hi | |
Ho | |
LL | |
HL | |
HH | |
Null |
Definition at line 41 of file L1MuDTTrackSegPhi.h.
L1MuDTTrackSegPhi::L1MuDTTrackSegPhi | ( | ) |
default constructor
Definition at line 44 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 48 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 68 of file L1MuDTTrackSegPhi.cc.
L1MuDTTrackSegPhi::L1MuDTTrackSegPhi | ( | const L1MuDTTrackSegPhi & | id | ) |
|
virtual |
|
inline |
|
inline |
is it an empty phi track segment?
Definition at line 104 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 179 of file L1MuDTTrackSegPhi.cc.
References m_bx, m_location, m_phi, m_phib, and m_quality.
Referenced by setEtaFlag().
L1MuDTTrackSegPhi & L1MuDTTrackSegPhi::operator= | ( | const L1MuDTTrackSegPhi & | id | ) |
assignment operator
Definition at line 145 of file L1MuDTTrackSegPhi.cc.
References m_bx, m_etaFlag, m_location, m_phi, m_phib, m_quality, and m_tag.
Referenced by setEtaFlag().
bool L1MuDTTrackSegPhi::operator== | ( | const L1MuDTTrackSegPhi & | id | ) | const |
equal operator
Definition at line 164 of file L1MuDTTrackSegPhi.cc.
References m_bx, m_location, m_phi, m_phib, and m_quality.
Referenced by setEtaFlag().
|
inline |
return phi
Definition at line 86 of file L1MuDTTrackSegPhi.h.
References m_phi.
Referenced by Particle.Particle::__str__(), L1MuDTAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::phiDiff(), ntupleDataFormat.Track::phiPull(), and L1MuDTEUX::run().
|
inline |
return phib
Definition at line 89 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 135 of file L1MuDTTrackSegPhi.cc.
References m_phib.
double L1MuDTTrackSegPhi::phiValue | ( | ) | const |
return phi-value in global coordinates [0,2pi]
Definition at line 123 of file L1MuDTTrackSegPhi.cc.
References m_location, m_phi, M_PI, L1MuDTTrackSegLoc::sector(), and tmp.
|
inline |
return quality code
Definition at line 92 of file L1MuDTTrackSegPhi.h.
References m_quality.
Referenced by L1MuDTEUX::run().
void L1MuDTTrackSegPhi::reset | ( | void | ) |
reset phi track segment
Definition at line 108 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 77 of file L1MuDTTrackSegPhi.h.
References m_location, and L1MuDTTrackSegLoc::sector().
Referenced by geometryXMLparser.DTAlignable::index(), L1MuDTAssignmentUnit::PhiAU(), L1MuDTAssignmentUnit::phiDiff(), and L1MuDTEUX::run().
|
inline |
set eta flag
Definition at line 107 of file L1MuDTTrackSegPhi.h.
References RemoveAddSevLevel::flag, m_etaFlag, operator!=(), operator<<, operator=(), and operator==().
|
inline |
return station
Definition at line 80 of file L1MuDTTrackSegPhi.h.
References m_location, and L1MuDTTrackSegLoc::station().
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
|
inline |
return wheel
Definition at line 74 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 83 of file L1MuDTTrackSegPhi.h.
References m_location.
|
friend |
overload output stream operator for phi track segment quality
Referenced by setEtaFlag().
|
friend |
overload output stream operator for phi track segments
|
private |
Definition at line 131 of file L1MuDTTrackSegPhi.h.
Referenced by bx(), operator!=(), operator=(), operator==(), and reset().
|
private |
Definition at line 132 of file L1MuDTTrackSegPhi.h.
Referenced by etaFlag(), operator=(), reset(), and setEtaFlag().
|
private |
Definition at line 126 of file L1MuDTTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phiValue(), sector(), station(), wheel(), and where().
|
private |
Definition at line 127 of file L1MuDTTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phi(), phiValue(), and reset().
|
private |
Definition at line 128 of file L1MuDTTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phib(), phibValue(), and reset().
|
private |
Definition at line 129 of file L1MuDTTrackSegPhi.h.
Referenced by empty(), operator!=(), operator=(), operator==(), quality(), and reset().
|
private |
Definition at line 130 of file L1MuDTTrackSegPhi.h.
Referenced by operator=(), reset(), and tag().