CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
L1MuKBMTCombinedStub Class Reference

#include <L1MuKBMTCombinedStub.h>

Public Member Functions

int bxNum () const
 return bunch crossing More...
 
int eta1 () const
 return first eta More...
 
int eta2 () const
 return second eta More...
 
 L1MuKBMTCombinedStub ()
 default constructor More...
 
 L1MuKBMTCombinedStub (int wheel, int sector, int station, int phi, int phiB, bool tag, int bx, int quality, int eta1=0, int eta2=0, int qeta1=-1, int qeta2=-1)
 constructor More...
 
bool operator!= (const L1MuKBMTCombinedStub &) const
 unequal operator More...
 
L1MuKBMTCombinedStuboperator= (const L1MuKBMTCombinedStub &)
 assignment operator More...
 
bool operator== (const L1MuKBMTCombinedStub &) const
 equal operator More...
 
int phi () const
 return phi More...
 
int phiB () const
 return phib More...
 
int qeta1 () const
 return first eta quality More...
 
int qeta2 () const
 return second eta quality More...
 
int quality () const
 return quality code More...
 
int scNum () const
 return sector More...
 
int stNum () const
 return station More...
 
int tag () const
 return tag (second TS tag) More...
 
int whNum () const
 return wheel More...
 
 ~L1MuKBMTCombinedStub ()
 

Private Attributes

int bxNum_
 
int eta1_
 
int eta2_
 
int phi_
 
int phiB_
 
int qeta1_
 
int qeta2_
 
int quality_
 
int scNum_
 
int stNum_
 
bool tag_
 
int whNum_
 

Friends

std::ostream & operator<< (std::ostream &, const L1MuKBMTCombinedStub &)
 overload output stream operator for phi track segments More...
 

Detailed Description

Definition at line 45 of file L1MuKBMTCombinedStub.h.

Constructor & Destructor Documentation

◆ L1MuKBMTCombinedStub() [1/2]

L1MuKBMTCombinedStub::L1MuKBMTCombinedStub ( )

◆ L1MuKBMTCombinedStub() [2/2]

L1MuKBMTCombinedStub::L1MuKBMTCombinedStub ( int  wheel,
int  sector,
int  station,
int  phi,
int  phiB,
bool  tag,
int  bx,
int  quality,
int  eta1 = 0,
int  eta2 = 0,
int  qeta1 = -1,
int  qeta2 = -1 
)

constructor

Definition at line 22 of file L1MuKBMTCombinedStub.cc.

34  : whNum_(wheel),
35  scNum_(sector),
36  stNum_(station),
37  phi_(phi),
38  phiB_(phiB),
39  tag_(tag),
41  bxNum_(bx),
42  eta1_(eta1),
43  eta2_(eta2),
44  qeta1_(qeta1),
45  qeta2_(qeta2) {}
int eta1() const
return first eta
int tag() const
return tag (second TS tag)
int quality() const
return quality code
int phi() const
return phi
int eta2() const
return second eta
int qeta1() const
return first eta quality
int phiB() const
return phib
int qeta2() const
return second eta quality

◆ ~L1MuKBMTCombinedStub()

L1MuKBMTCombinedStub::~L1MuKBMTCombinedStub ( )

Definition at line 47 of file L1MuKBMTCombinedStub.cc.

47 {}

Member Function Documentation

◆ bxNum()

int L1MuKBMTCombinedStub::bxNum ( ) const
inline

return bunch crossing

Definition at line 79 of file L1MuKBMTCombinedStub.h.

References bxNum_.

79 { return bxNum_; }

◆ eta1()

int L1MuKBMTCombinedStub::eta1 ( ) const
inline

return first eta

Definition at line 82 of file L1MuKBMTCombinedStub.h.

References eta1_.

82 { return eta1_; }

◆ eta2()

int L1MuKBMTCombinedStub::eta2 ( ) const
inline

return second eta

Definition at line 84 of file L1MuKBMTCombinedStub.h.

References eta2_.

84 { return eta2_; }

◆ operator!=()

bool L1MuKBMTCombinedStub::operator!= ( const L1MuKBMTCombinedStub ) const

unequal operator

◆ operator=()

L1MuKBMTCombinedStub& L1MuKBMTCombinedStub::operator= ( const L1MuKBMTCombinedStub )

assignment operator

◆ operator==()

bool L1MuKBMTCombinedStub::operator== ( const L1MuKBMTCombinedStub id) const

equal operator

Definition at line 49 of file L1MuKBMTCombinedStub.cc.

References bxNum_, eta1_, eta2_, phi_, phiB_, qeta1_, qeta2_, quality_, scNum_, stNum_, tag_, and whNum_.

49  {
50  if (whNum_ != id.whNum_)
51  return false;
52  if (scNum_ != id.scNum_)
53  return false;
54  if (stNum_ != id.stNum_)
55  return false;
56  if (tag_ != id.tag_)
57  return false;
58  if (phi_ != id.phi_)
59  return false;
60  if (phiB_ != id.phiB_)
61  return false;
62  if (quality_ != id.quality_)
63  return false;
64  if (bxNum_ != id.bxNum_)
65  return false;
66  if (eta1_ != id.eta1_)
67  return false;
68  if (eta2_ != id.eta2_)
69  return false;
70  if (qeta1_ != id.qeta1_)
71  return false;
72  if (qeta2_ != id.qeta2_)
73  return false;
74  return true;
75 }

◆ phi()

int L1MuKBMTCombinedStub::phi ( ) const
inline

◆ phiB()

int L1MuKBMTCombinedStub::phiB ( ) const
inline

return phib

Definition at line 73 of file L1MuKBMTCombinedStub.h.

References phiB_.

73 { return phiB_; }

◆ qeta1()

int L1MuKBMTCombinedStub::qeta1 ( ) const
inline

return first eta quality

Definition at line 86 of file L1MuKBMTCombinedStub.h.

References qeta1_.

86 { return qeta1_; }

◆ qeta2()

int L1MuKBMTCombinedStub::qeta2 ( ) const
inline

return second eta quality

Definition at line 88 of file L1MuKBMTCombinedStub.h.

References qeta2_.

88 { return qeta2_; }

◆ quality()

int L1MuKBMTCombinedStub::quality ( ) const
inline

return quality code

Definition at line 75 of file L1MuKBMTCombinedStub.h.

References quality_.

◆ scNum()

int L1MuKBMTCombinedStub::scNum ( ) const
inline

return sector

Definition at line 67 of file L1MuKBMTCombinedStub.h.

References scNum_.

67 { return scNum_; }

◆ stNum()

int L1MuKBMTCombinedStub::stNum ( ) const
inline

return station

Definition at line 69 of file L1MuKBMTCombinedStub.h.

References stNum_.

69 { return stNum_; }

◆ tag()

int L1MuKBMTCombinedStub::tag ( ) const
inline

return tag (second TS tag)

Definition at line 77 of file L1MuKBMTCombinedStub.h.

References tag_.

77 { return tag_; }

◆ whNum()

int L1MuKBMTCombinedStub::whNum ( ) const
inline

return wheel

Definition at line 65 of file L1MuKBMTCombinedStub.h.

References whNum_.

65 { return whNum_; }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const L1MuKBMTCombinedStub  
)
friend

overload output stream operator for phi track segments

Member Data Documentation

◆ bxNum_

int L1MuKBMTCombinedStub::bxNum_
private

Definition at line 108 of file L1MuKBMTCombinedStub.h.

Referenced by bxNum(), and operator==().

◆ eta1_

int L1MuKBMTCombinedStub::eta1_
private

Definition at line 109 of file L1MuKBMTCombinedStub.h.

Referenced by eta1(), and operator==().

◆ eta2_

int L1MuKBMTCombinedStub::eta2_
private

Definition at line 110 of file L1MuKBMTCombinedStub.h.

Referenced by eta2(), and operator==().

◆ phi_

int L1MuKBMTCombinedStub::phi_
private

Definition at line 104 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and phi().

◆ phiB_

int L1MuKBMTCombinedStub::phiB_
private

Definition at line 105 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and phiB().

◆ qeta1_

int L1MuKBMTCombinedStub::qeta1_
private

Definition at line 111 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and qeta1().

◆ qeta2_

int L1MuKBMTCombinedStub::qeta2_
private

Definition at line 112 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and qeta2().

◆ quality_

int L1MuKBMTCombinedStub::quality_
private

Definition at line 107 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and quality().

◆ scNum_

int L1MuKBMTCombinedStub::scNum_
private

Definition at line 102 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and scNum().

◆ stNum_

int L1MuKBMTCombinedStub::stNum_
private

Definition at line 103 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and stNum().

◆ tag_

bool L1MuKBMTCombinedStub::tag_
private

Definition at line 106 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and tag().

◆ whNum_

int L1MuKBMTCombinedStub::whNum_
private

Definition at line 101 of file L1MuKBMTCombinedStub.h.

Referenced by operator==(), and whNum().