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 ( )

default constructor

Definition at line 8 of file L1MuKBMTCombinedStub.cc.

9  : whNum_(0),
10  scNum_(0),
11  stNum_(0),
12  phi_(0),
13  phiB_(0),
14  tag_(false),
15  quality_(-1),
16  bxNum_(17),
17  eta1_(0),
18  eta2_(0),
19  qeta1_(-1),
20  qeta2_(-1) {}

◆ 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) {}

◆ ~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.

79 { return bxNum_; }

References bxNum_.

◆ eta1()

int L1MuKBMTCombinedStub::eta1 ( ) const
inline

return first eta

Definition at line 82 of file L1MuKBMTCombinedStub.h.

82 { return eta1_; }

References eta1_.

◆ eta2()

int L1MuKBMTCombinedStub::eta2 ( ) const
inline

return second eta

Definition at line 84 of file L1MuKBMTCombinedStub.h.

84 { return eta2_; }

References 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.

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 }

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

◆ phi()

int L1MuKBMTCombinedStub::phi ( ) const
inline

return phi

Definition at line 71 of file L1MuKBMTCombinedStub.h.

71 { return phi_; }

References phi_.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

◆ phiB()

int L1MuKBMTCombinedStub::phiB ( ) const
inline

return phib

Definition at line 73 of file L1MuKBMTCombinedStub.h.

73 { return phiB_; }

References phiB_.

◆ qeta1()

int L1MuKBMTCombinedStub::qeta1 ( ) const
inline

return first eta quality

Definition at line 86 of file L1MuKBMTCombinedStub.h.

86 { return qeta1_; }

References qeta1_.

◆ qeta2()

int L1MuKBMTCombinedStub::qeta2 ( ) const
inline

return second eta quality

Definition at line 88 of file L1MuKBMTCombinedStub.h.

88 { return qeta2_; }

References qeta2_.

◆ quality()

int L1MuKBMTCombinedStub::quality ( ) const
inline

return quality code

Definition at line 75 of file L1MuKBMTCombinedStub.h.

75 { return quality_; }

References quality_.

◆ scNum()

int L1MuKBMTCombinedStub::scNum ( ) const
inline

return sector

Definition at line 67 of file L1MuKBMTCombinedStub.h.

67 { return scNum_; }

References scNum_.

◆ stNum()

int L1MuKBMTCombinedStub::stNum ( ) const
inline

return station

Definition at line 69 of file L1MuKBMTCombinedStub.h.

69 { return stNum_; }

References stNum_.

◆ tag()

int L1MuKBMTCombinedStub::tag ( ) const
inline

return tag (second TS tag)

Definition at line 77 of file L1MuKBMTCombinedStub.h.

77 { return tag_; }

References tag_.

◆ whNum()

int L1MuKBMTCombinedStub::whNum ( ) const
inline

return wheel

Definition at line 65 of file L1MuKBMTCombinedStub.h.

65 { return whNum_; }

References 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().

L1MuKBMTCombinedStub::whNum_
int whNum_
Definition: L1MuKBMTCombinedStub.h:101
L1MuKBMTCombinedStub::eta1_
int eta1_
Definition: L1MuKBMTCombinedStub.h:109
L1MuKBMTCombinedStub::phiB_
int phiB_
Definition: L1MuKBMTCombinedStub.h:105
L1MuKBMTCombinedStub::quality
int quality() const
return quality code
Definition: L1MuKBMTCombinedStub.h:75
L1MuKBMTCombinedStub::phi
int phi() const
return phi
Definition: L1MuKBMTCombinedStub.h:71
L1MuKBMTCombinedStub::qeta2
int qeta2() const
return second eta quality
Definition: L1MuKBMTCombinedStub.h:88
relativeConstraints.station
station
Definition: relativeConstraints.py:67
L1MuKBMTCombinedStub::quality_
int quality_
Definition: L1MuKBMTCombinedStub.h:107
L1MuKBMTCombinedStub::phiB
int phiB() const
return phib
Definition: L1MuKBMTCombinedStub.h:73
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
L1MuKBMTCombinedStub::scNum_
int scNum_
Definition: L1MuKBMTCombinedStub.h:102
L1MuKBMTCombinedStub::tag_
bool tag_
Definition: L1MuKBMTCombinedStub.h:106
L1MuKBMTCombinedStub::qeta2_
int qeta2_
Definition: L1MuKBMTCombinedStub.h:112
L1MuKBMTCombinedStub::eta1
int eta1() const
return first eta
Definition: L1MuKBMTCombinedStub.h:82
L1MuKBMTCombinedStub::stNum_
int stNum_
Definition: L1MuKBMTCombinedStub.h:103
L1MuKBMTCombinedStub::phi_
int phi_
Definition: L1MuKBMTCombinedStub.h:104
L1MuKBMTCombinedStub::qeta1
int qeta1() const
return first eta quality
Definition: L1MuKBMTCombinedStub.h:86
L1MuKBMTCombinedStub::eta2
int eta2() const
return second eta
Definition: L1MuKBMTCombinedStub.h:84
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
L1MuKBMTCombinedStub::bxNum_
int bxNum_
Definition: L1MuKBMTCombinedStub.h:108
L1MuKBMTCombinedStub::tag
int tag() const
return tag (second TS tag)
Definition: L1MuKBMTCombinedStub.h:77
L1MuKBMTCombinedStub::eta2_
int eta2_
Definition: L1MuKBMTCombinedStub.h:110
L1MuKBMTCombinedStub::qeta1_
int qeta1_
Definition: L1MuKBMTCombinedStub.h:111