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 coarseEta () const
 return coarse Eta 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 coarseEta, 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 coarseEta_
 
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::L1MuKBMTCombinedStub ( )
L1MuKBMTCombinedStub::L1MuKBMTCombinedStub ( int  wheel,
int  sector,
int  station,
int  phi,
int  phiB,
bool  tag,
int  bx,
int  quality,
int  coarseEta,
int  eta1 = 0,
int  eta2 = 0,
int  qeta1 = -1,
int  qeta2 = -1 
)

constructor

Definition at line 13 of file L1MuKBMTCombinedStub.cc.

13  :
14  whNum_(wheel),
15  scNum_(sector),
16  stNum_(station),
17  phi_(phi),
18  phiB_(phiB),
19  tag_(tag),
21  bxNum_(bx),
23  eta1_(eta1),
24  eta2_(eta2),
25  qeta1_(qeta1),
26  qeta2_(qeta2)
27 {
28 
29 }
int tag() const
return tag (second TS tag)
int eta1() const
return first eta
int quality() const
return quality code
int qeta2() const
return second eta quality
int phi() const
return phi
int coarseEta() const
return coarse Eta
int phiB() const
return phib
int eta2() const
return second eta
int qeta1() const
return first eta quality
L1MuKBMTCombinedStub::~L1MuKBMTCombinedStub ( )

Definition at line 31 of file L1MuKBMTCombinedStub.cc.

31 {}

Member Function Documentation

int L1MuKBMTCombinedStub::bxNum ( ) const
inline

return bunch crossing

Definition at line 70 of file L1MuKBMTCombinedStub.h.

References bxNum_.

70 { return bxNum_; }
int L1MuKBMTCombinedStub::coarseEta ( ) const
inline

return coarse Eta

Definition at line 82 of file L1MuKBMTCombinedStub.h.

References coarseEta_, operator!=(), operator<<, operator=(), and operator==().

int L1MuKBMTCombinedStub::eta1 ( ) const
inline

return first eta

Definition at line 73 of file L1MuKBMTCombinedStub.h.

References eta1_.

73 { return eta1_; }
int L1MuKBMTCombinedStub::eta2 ( ) const
inline

return second eta

Definition at line 75 of file L1MuKBMTCombinedStub.h.

References eta2_.

75 { return eta2_; }
bool L1MuKBMTCombinedStub::operator!= ( const L1MuKBMTCombinedStub ) const

unequal operator

Referenced by coarseEta().

L1MuKBMTCombinedStub& L1MuKBMTCombinedStub::operator= ( const L1MuKBMTCombinedStub )

assignment operator

Referenced by coarseEta().

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

equal operator

Definition at line 34 of file L1MuKBMTCombinedStub.cc.

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

Referenced by coarseEta().

34  {
35 
36  if ( whNum_ != id.whNum_ ) return false;
37  if ( scNum_ != id.scNum_ ) return false;
38  if ( stNum_ != id.stNum_ ) return false;
39  if ( tag_ != id.tag_ ) return false;
40  if ( phi_ != id.phi_ ) return false;
41  if ( phiB_ != id.phiB_) return false;
42  if ( quality_ != id.quality_ ) return false;
43  if ( bxNum_ != id.bxNum_ ) return false;
44  if ( eta1_ != id.eta1_ ) return false;
45  if ( eta2_ != id.eta2_ ) return false;
46  if ( coarseEta_ != id.coarseEta_ ) return false;
47  if ( qeta1_ != id.qeta1_ ) return false;
48  if ( qeta2_ != id.qeta2_ ) return false;
49  return true;
50 
51 }
int L1MuKBMTCombinedStub::phi ( ) const
inline

return phi

Definition at line 62 of file L1MuKBMTCombinedStub.h.

References phi_.

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

62 { return phi_; }
int L1MuKBMTCombinedStub::phiB ( ) const
inline

return phib

Definition at line 64 of file L1MuKBMTCombinedStub.h.

References phiB_.

64 { return phiB_; }
int L1MuKBMTCombinedStub::qeta1 ( ) const
inline

return first eta quality

Definition at line 77 of file L1MuKBMTCombinedStub.h.

References qeta1_.

77 { return qeta1_; }
int L1MuKBMTCombinedStub::qeta2 ( ) const
inline

return second eta quality

Definition at line 79 of file L1MuKBMTCombinedStub.h.

References qeta2_.

79 { return qeta2_; }
int L1MuKBMTCombinedStub::quality ( ) const
inline

return quality code

Definition at line 66 of file L1MuKBMTCombinedStub.h.

References quality_.

int L1MuKBMTCombinedStub::scNum ( ) const
inline

return sector

Definition at line 58 of file L1MuKBMTCombinedStub.h.

References scNum_.

58 { return scNum_; }
int L1MuKBMTCombinedStub::stNum ( ) const
inline

return station

Definition at line 60 of file L1MuKBMTCombinedStub.h.

References stNum_.

60 { return stNum_; }
int L1MuKBMTCombinedStub::tag ( ) const
inline

return tag (second TS tag)

Definition at line 68 of file L1MuKBMTCombinedStub.h.

References tag_.

68 { return tag_; }
int L1MuKBMTCombinedStub::whNum ( ) const
inline

return wheel

Definition at line 56 of file L1MuKBMTCombinedStub.h.

References whNum_.

56 { return whNum_; }

Friends And Related Function Documentation

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

overload output stream operator for phi track segments

Referenced by coarseEta().

Member Data Documentation

int L1MuKBMTCombinedStub::bxNum_
private

Definition at line 103 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::coarseEta_
private

Definition at line 104 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::eta1_
private

Definition at line 105 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::eta2_
private

Definition at line 106 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::phi_
private

Definition at line 99 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::phiB_
private

Definition at line 100 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::qeta1_
private

Definition at line 107 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::qeta2_
private

Definition at line 108 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::quality_
private

Definition at line 102 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::scNum_
private

Definition at line 97 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::stNum_
private

Definition at line 98 of file L1MuKBMTCombinedStub.h.

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

bool L1MuKBMTCombinedStub::tag_
private

Definition at line 101 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::whNum_
private

Definition at line 96 of file L1MuKBMTCombinedStub.h.

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