L1Trigger
DTTrackFinder
src
L1MuDTTrackSegLoc.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
18
//
19
//--------------------------------------------------
20
#ifndef L1MUDT_TRACK_SEG_LOC_H
21
#define L1MUDT_TRACK_SEG_LOC_H
22
23
//---------------
24
// C++ Headers --
25
//---------------
26
27
#include <iosfwd>
28
29
//----------------------
30
// Base Class Headers --
31
//----------------------
32
33
//------------------------------------
34
// Collaborating Class Declarations --
35
//------------------------------------
36
37
// ---------------------
38
// -- Class Interface --
39
// ---------------------
40
41
class
L1MuDTTrackSegLoc
{
42
public
:
44
L1MuDTTrackSegLoc
();
45
47
L1MuDTTrackSegLoc
(
int
wheel_id,
int
sector_id,
int
station_id);
48
50
L1MuDTTrackSegLoc
(
const
L1MuDTTrackSegLoc
&);
51
53
virtual
~L1MuDTTrackSegLoc
();
54
56
inline
int
wheel
()
const
{
return
m_wheel
; }
57
59
inline
int
sector
()
const
{
return
m_sector
; }
60
62
inline
int
station
()
const
{
return
m_station
; }
63
65
L1MuDTTrackSegLoc
&
operator=
(
const
L1MuDTTrackSegLoc
&);
66
68
bool
operator==
(
const
L1MuDTTrackSegLoc
&)
const
;
69
71
bool
operator!=
(
const
L1MuDTTrackSegLoc
&)
const
;
72
74
bool
operator<
(
const
L1MuDTTrackSegLoc
&)
const
;
75
77
friend
std::ostream&
operator<<
(std::ostream&,
const
L1MuDTTrackSegLoc
&);
78
79
private
:
80
int
m_wheel
;
81
int
m_sector
;
82
int
m_station
;
83
};
84
85
#endif
L1MuDTTrackSegLoc::m_wheel
int m_wheel
Definition:
L1MuDTTrackSegLoc.h:80
L1MuDTTrackSegLoc::operator=
L1MuDTTrackSegLoc & operator=(const L1MuDTTrackSegLoc &)
assignment operator
Definition:
L1MuDTTrackSegLoc.cc:73
L1MuDTTrackSegLoc
Definition:
L1MuDTTrackSegLoc.h:41
L1MuDTTrackSegLoc::operator==
bool operator==(const L1MuDTTrackSegLoc &) const
equal operator
Definition:
L1MuDTTrackSegLoc.cc:85
L1MuDTTrackSegLoc::wheel
int wheel() const
return wheel
Definition:
L1MuDTTrackSegLoc.h:56
L1MuDTTrackSegLoc::L1MuDTTrackSegLoc
L1MuDTTrackSegLoc()
default constructor
Definition:
L1MuDTTrackSegLoc.cc:43
L1MuDTTrackSegLoc::station
int station() const
return station
Definition:
L1MuDTTrackSegLoc.h:62
L1MuDTTrackSegLoc::operator!=
bool operator!=(const L1MuDTTrackSegLoc &) const
unequal operator
Definition:
L1MuDTTrackSegLoc.cc:98
L1MuDTTrackSegLoc::operator<<
friend std::ostream & operator<<(std::ostream &, const L1MuDTTrackSegLoc &)
output stream operator
L1MuDTTrackSegLoc::m_station
int m_station
Definition:
L1MuDTTrackSegLoc.h:82
L1MuDTTrackSegLoc::~L1MuDTTrackSegLoc
virtual ~L1MuDTTrackSegLoc()
destructor
Definition:
L1MuDTTrackSegLoc.cc:64
L1MuDTTrackSegLoc::m_sector
int m_sector
Definition:
L1MuDTTrackSegLoc.h:81
L1MuDTTrackSegLoc::operator<
bool operator<(const L1MuDTTrackSegLoc &) const
less operator
Definition:
L1MuDTTrackSegLoc.cc:111
L1MuDTTrackSegLoc::sector
int sector() const
return sector (30 deg)
Definition:
L1MuDTTrackSegLoc.h:59
Generated for CMSSW Reference Manual by
1.8.16