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::L1MuKBMTCombinedStub ( )
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 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),
22  eta1_(eta1),
23  eta2_(eta2),
24  qeta1_(qeta1),
25  qeta2_(qeta2)
26 {
27 
28 }
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 phiB() const
return phib
int eta2() const
return second eta
int qeta1() const
return first eta quality
L1MuKBMTCombinedStub::~L1MuKBMTCombinedStub ( )

Definition at line 30 of file L1MuKBMTCombinedStub.cc.

30 {}

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::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 qeta2().

L1MuKBMTCombinedStub& L1MuKBMTCombinedStub::operator= ( const L1MuKBMTCombinedStub )

assignment operator

Referenced by qeta2().

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

equal operator

Definition at line 33 of file L1MuKBMTCombinedStub.cc.

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

Referenced by qeta2().

33  {
34 
35  if ( whNum_ != id.whNum_ ) return false;
36  if ( scNum_ != id.scNum_ ) return false;
37  if ( stNum_ != id.stNum_ ) return false;
38  if ( tag_ != id.tag_ ) return false;
39  if ( phi_ != id.phi_ ) return false;
40  if ( phiB_ != id.phiB_) return false;
41  if ( quality_ != id.quality_ ) return false;
42  if ( bxNum_ != id.bxNum_ ) return false;
43  if ( eta1_ != id.eta1_ ) return false;
44  if ( eta2_ != id.eta2_ ) return false;
45  if ( qeta1_ != id.qeta1_ ) return false;
46  if ( qeta2_ != id.qeta2_ ) return false;
47  return true;
48 
49 }
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 operator!=(), operator<<, operator=(), operator==(), and qeta2_.

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

return quality code

Definition at line 66 of file L1MuKBMTCombinedStub.h.

References quality_.

66 { return 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 qeta2().

Member Data Documentation

int L1MuKBMTCombinedStub::bxNum_
private

Definition at line 100 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::eta1_
private

Definition at line 101 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::eta2_
private

Definition at line 102 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::phi_
private

Definition at line 96 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::phiB_
private

Definition at line 97 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::qeta1_
private

Definition at line 103 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::qeta2_
private

Definition at line 104 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::quality_
private

Definition at line 99 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::scNum_
private

Definition at line 94 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::stNum_
private

Definition at line 95 of file L1MuKBMTCombinedStub.h.

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

bool L1MuKBMTCombinedStub::tag_
private

Definition at line 98 of file L1MuKBMTCombinedStub.h.

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

int L1MuKBMTCombinedStub::whNum_
private

Definition at line 93 of file L1MuKBMTCombinedStub.h.

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