#include <L1MuBMTrackSegPhi.h>
Public Types | |
enum | TSQuality { Li, Lo, Hi, Ho, LL, HL, HH, Null } |
quality code of BBMX 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... | |
L1MuBMTrackSegPhi () | |
default constructor More... | |
L1MuBMTrackSegPhi (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... | |
L1MuBMTrackSegPhi (const L1MuBMTrackSegLoc &, int phi=0, int phib=0, TSQuality quality=Null, bool tag=false, int bx=17, bool etaFlag=false) | |
constructor More... | |
L1MuBMTrackSegPhi (const L1MuBMTrackSegPhi &) | |
copy constructor More... | |
bool | operator!= (const L1MuBMTrackSegPhi &) const |
unequal operator More... | |
L1MuBMTrackSegPhi & | operator= (const L1MuBMTrackSegPhi &) |
assignment operator More... | |
bool | operator== (const L1MuBMTrackSegPhi &) 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 L1MuBMTrackSegLoc & | where () const |
return location of phi track segment More... | |
virtual | ~L1MuBMTrackSegPhi () |
destructor More... | |
Private Attributes | |
int | m_bx |
bool | m_etaFlag |
L1MuBMTrackSegLoc | 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 L1MuBMTrackSegPhi &) |
overload output stream operator for phi track segments More... | |
quality code of BBMX phi track segments
Enumerator | |
---|---|
Li | |
Lo | |
Hi | |
Ho | |
LL | |
HL | |
HH | |
Null |
Definition at line 44 of file L1MuBMTrackSegPhi.h.
L1MuBMTrackSegPhi::L1MuBMTrackSegPhi | ( | ) |
default constructor
Definition at line 44 of file L1MuBMTrackSegPhi.cc.
L1MuBMTrackSegPhi::L1MuBMTrackSegPhi | ( | 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 46 of file L1MuBMTrackSegPhi.cc.
L1MuBMTrackSegPhi::L1MuBMTrackSegPhi | ( | const L1MuBMTrackSegLoc & | id, |
int | phi = 0 , |
||
int | phib = 0 , |
||
TSQuality | quality = Null , |
||
bool | tag = false , |
||
int | bx = 17 , |
||
bool | etaFlag = false |
||
) |
constructor
Definition at line 66 of file L1MuBMTrackSegPhi.cc.
L1MuBMTrackSegPhi::L1MuBMTrackSegPhi | ( | const L1MuBMTrackSegPhi & | id | ) |
|
virtual |
|
inline |
|
inline |
is it an empty phi track segment?
Definition at line 115 of file L1MuBMTrackSegPhi.h.
References m_quality, and Null.
Referenced by L1MuBMSEU::run(), and L1MuBMExtrapolationUnit::run().
|
inline |
bool L1MuBMTrackSegPhi::operator!= | ( | const L1MuBMTrackSegPhi & | id | ) | const |
unequal operator
Definition at line 162 of file L1MuBMTrackSegPhi.cc.
References m_bx, m_location, m_phi, m_phib, and m_quality.
L1MuBMTrackSegPhi & L1MuBMTrackSegPhi::operator= | ( | const L1MuBMTrackSegPhi & | id | ) |
assignment operator
Definition at line 129 of file L1MuBMTrackSegPhi.cc.
References m_bx, m_etaFlag, m_location, m_phi, m_phib, m_quality, and m_tag.
bool L1MuBMTrackSegPhi::operator== | ( | const L1MuBMTrackSegPhi & | id | ) | const |
equal operator
Definition at line 145 of file L1MuBMTrackSegPhi.cc.
References m_bx, m_location, m_phi, m_phib, and m_quality.
|
inline |
return phi
Definition at line 97 of file L1MuBMTrackSegPhi.h.
References m_phi.
Referenced by Particle.Particle::__str__(), L1MuBMAssignmentUnit::PhiAU(), L1MuBMAssignmentUnit::phiDiff(), ntupleDataFormat.Track::phiPull(), and L1MuBMEUX::run().
|
inline |
return phib
Definition at line 100 of file L1MuBMTrackSegPhi.h.
References m_phib.
Referenced by L1MuBMAssignmentUnit::getPt1Address(), L1MuBMAssignmentUnit::getPt2Address(), L1MuBMAssignmentUnit::getPtMethod(), L1MuBMAssignmentUnit::PhiAU(), and L1MuBMEUX::run().
double L1MuBMTrackSegPhi::phibValue | ( | ) | const |
return phib-value in global coordinates [0,2pi]
Definition at line 124 of file L1MuBMTrackSegPhi.cc.
References m_phib.
double L1MuBMTrackSegPhi::phiValue | ( | ) | const |
return phi-value in global coordinates [0,2pi]
Definition at line 115 of file L1MuBMTrackSegPhi.cc.
References m_location, m_phi, M_PI, L1MuBMTrackSegLoc::sector(), and createJobs::tmp.
|
inline |
return quality code
Definition at line 103 of file L1MuBMTrackSegPhi.h.
References m_quality.
Referenced by L1MuBMAssignmentUnit::getPt1Method(), L1MuBMAssignmentUnit::getPt2Method(), and L1MuBMEUX::run().
void L1MuBMTrackSegPhi::reset | ( | void | ) |
reset phi track segment
Definition at line 103 of file L1MuBMTrackSegPhi.cc.
References m_bx, m_etaFlag, m_phi, m_phib, m_quality, m_tag, and Null.
Referenced by L1MuBMSEU::reset().
|
inline |
return sector
Definition at line 88 of file L1MuBMTrackSegPhi.h.
References m_location, and L1MuBMTrackSegLoc::sector().
Referenced by geometryXMLparser.DTAlignable::index(), L1MuBMAssignmentUnit::PhiAU(), L1MuBMAssignmentUnit::phiDiff(), and L1MuBMEUX::run().
|
inline |
|
inline |
return station
Definition at line 91 of file L1MuBMTrackSegPhi.h.
References m_location, and L1MuBMTrackSegLoc::station().
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
return tag (second TS tag)
Definition at line 106 of file L1MuBMTrackSegPhi.h.
References m_tag.
Referenced by DTTtrigWorkflow.DTttrigWorkflow::prepare_timeboxes_correction().
|
inline |
return wheel
Definition at line 85 of file L1MuBMTrackSegPhi.h.
References m_location, and L1MuBMTrackSegLoc::wheel().
Referenced by geometryXMLparser.DTAlignable::index(), and L1MuBMEUX::run().
|
inline |
return location of phi track segment
Definition at line 94 of file L1MuBMTrackSegPhi.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 141 of file L1MuBMTrackSegPhi.h.
Referenced by bx(), operator!=(), operator=(), operator==(), and reset().
|
private |
Definition at line 142 of file L1MuBMTrackSegPhi.h.
Referenced by etaFlag(), operator=(), reset(), and setEtaFlag().
|
private |
Definition at line 136 of file L1MuBMTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phiValue(), sector(), station(), wheel(), and where().
|
private |
Definition at line 137 of file L1MuBMTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phi(), phiValue(), and reset().
|
private |
Definition at line 138 of file L1MuBMTrackSegPhi.h.
Referenced by operator!=(), operator=(), operator==(), phib(), phibValue(), and reset().
|
private |
Definition at line 139 of file L1MuBMTrackSegPhi.h.
Referenced by empty(), operator!=(), operator=(), operator==(), quality(), and reset().
|
private |
Definition at line 140 of file L1MuBMTrackSegPhi.h.
Referenced by operator=(), reset(), and tag().