src
L1Trigger
L1TMuonOverlap
interface
AlgoMuon.h
Go to the documentation of this file.
1
#ifndef AlgoMuon_H
2
#define AlgoMuon_H
3
4
#include <ostream>
5
6
class
AlgoMuon
{
7
public
:
8
// AlgoMuon() : pt(-1.), eta(99.), phi(9999.), disc(-999), bx(0), q(-1), charge(99), refLayer(-1), hits(0) {} // the old one version
9
AlgoMuon
()
10
:
m_disc
(-999),
11
m_phi
(9999),
12
m_eta
(99),
13
m_refLayer
(-1),
14
m_hits
(0),
15
m_q
(-1),
16
m_bx
(0),
17
m_pt
(-1),
18
m_charge
(99),
19
m_phiRHit
(9999) {}
20
AlgoMuon
(
int
disc
= -999,
21
int
phi
= 9999,
22
int
eta
= 99,
23
int
refLayer = -1,
24
int
hits
= 0,
25
int
q
= -1,
26
int
bx
= 0,
27
int
pt
= -1,
28
int
charge
= 99)
29
:
m_disc
(
disc
),
30
m_phi
(
phi
),
31
m_eta
(
eta
),
32
m_refLayer
(refLayer),
33
m_hits
(
hits
),
34
m_q
(
q
),
35
m_bx
(
bx
),
36
m_pt
(
pt
),
37
m_charge
(
charge
),
38
m_patNumb
(999),
39
m_rhitNumb
(999) {}
40
41
virtual
~AlgoMuon
() {}
42
43
int
getDisc
()
const
{
return
m_disc
; }
44
int
getPhi
()
const
{
return
m_phi
; }
45
int
getEta
()
const
{
return
m_eta
; }
46
int
getRefLayer
()
const
{
return
m_refLayer
; }
47
int
getHits
()
const
{
return
m_hits
; }
48
int
getQ
()
const
{
return
m_q
; }
49
int
getBx
()
const
{
return
m_bx
; }
50
int
getPt
()
const
{
return
m_pt
; }
51
int
getCharge
()
const
{
return
m_charge
; }
52
int
getPhiRHit
()
const
{
return
m_phiRHit
; }
53
unsigned
int
getPatternNumber
()
const
{
return
m_patNumb
; }
54
unsigned
int
getRefHitNumber
()
const
{
return
m_rhitNumb
; }
55
56
void
setDisc
(
int
disc
) {
m_disc
=
disc
; }
57
void
setPhi
(
int
phi
) {
m_phi
=
phi
; }
58
void
setEta
(
int
eta
) {
m_eta
=
eta
; }
59
void
setRefLayer
(
int
refLayer) {
m_refLayer
= refLayer; }
60
void
setHits
(
int
hits
) {
m_hits
=
hits
; }
61
void
setQ
(
int
q
) {
m_q
=
q
; }
62
void
setBx
(
int
bx
) {
m_bx
=
bx
; }
63
void
setPt
(
int
pt
) {
m_pt
=
pt
; }
64
void
setCharge
(
int
charge
) {
m_charge
=
charge
; }
65
void
setPhiRHit
(
int
phiRHit) {
m_phiRHit
= phiRHit; }
66
void
setPatternNumber
(
unsigned
int
aPatNum) {
m_patNumb
= aPatNum; }
67
void
setRefHitNumber
(
unsigned
int
aRefHitNum) {
m_rhitNumb
= aRefHitNum; }
68
69
bool
isValid
()
const
;
70
71
bool
operator<
(
const
AlgoMuon
&
o
)
const
;
72
73
friend
std::ostream &
operator<<
(std::ostream &
out
,
const
AlgoMuon
&
o
);
74
75
private
:
76
int
m_disc
;
77
int
m_phi
;
78
int
m_eta
;
79
int
m_refLayer
;
80
int
m_hits
;
81
int
m_q
;
82
int
m_bx
;
83
int
m_pt
;
84
int
m_charge
;
85
int
m_phiRHit
;
86
// to add
87
// int m_pdf;
88
unsigned
int
m_patNumb
;
89
unsigned
int
m_rhitNumb
;
90
};
91
#endif
AlgoMuon::AlgoMuon
AlgoMuon()
Definition:
AlgoMuon.h:9
AlgoMuon::m_refLayer
int m_refLayer
Definition:
AlgoMuon.h:79
AlgoMuon::setCharge
void setCharge(int charge)
Definition:
AlgoMuon.h:64
AlgoMuon::getQ
int getQ() const
Definition:
AlgoMuon.h:48
AlgoMuon::setQ
void setQ(int q)
Definition:
AlgoMuon.h:61
AlgoMuon::m_eta
int m_eta
Definition:
AlgoMuon.h:78
AlgoMuon::isValid
bool isValid() const
Definition:
AlgoMuon.cc:6
AlgoMuon::m_phiRHit
int m_phiRHit
Definition:
AlgoMuon.h:85
AlgoMuon::m_rhitNumb
unsigned int m_rhitNumb
Definition:
AlgoMuon.h:89
AlgoMuon::AlgoMuon
AlgoMuon(int disc=-999, int phi=9999, int eta=99, int refLayer=-1, int hits=0, int q=-1, int bx=0, int pt=-1, int charge=99)
Definition:
AlgoMuon.h:20
AlgoMuon
Definition:
AlgoMuon.h:6
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
AlgoMuon::setBx
void setBx(int bx)
Definition:
AlgoMuon.h:62
AlgoMuon::~AlgoMuon
virtual ~AlgoMuon()
Definition:
AlgoMuon.h:41
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
AlgoMuon::getCharge
int getCharge() const
Definition:
AlgoMuon.h:51
nano_mu_digi_cff.bx
bx
Definition:
nano_mu_digi_cff.py:41
AlgoMuon::m_patNumb
unsigned int m_patNumb
Definition:
AlgoMuon.h:88
AlgoMuon::getPatternNumber
unsigned int getPatternNumber() const
Definition:
AlgoMuon.h:53
DDAxes::phi
AlgoMuon::m_q
int m_q
Definition:
AlgoMuon.h:81
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
TtSemiLepEvtBuilder_cfi.disc
disc
Definition:
TtSemiLepEvtBuilder_cfi.py:60
AlgoMuon::setRefLayer
void setRefLayer(int refLayer)
Definition:
AlgoMuon.h:59
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
AlgoMuon::getBx
int getBx() const
Definition:
AlgoMuon.h:49
AlgoMuon::setDisc
void setDisc(int disc)
Definition:
AlgoMuon.h:56
AlgoMuon::setPt
void setPt(int pt)
Definition:
AlgoMuon.h:63
AlgoMuon::getRefHitNumber
unsigned int getRefHitNumber() const
Definition:
AlgoMuon.h:54
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
AlgoMuon::operator<<
friend std::ostream & operator<<(std::ostream &out, const AlgoMuon &o)
Definition:
AlgoMuon.cc:22
submitPVResolutionJobs.q
q
Definition:
submitPVResolutionJobs.py:83
AlgoMuon::setPatternNumber
void setPatternNumber(unsigned int aPatNum)
Definition:
AlgoMuon.h:66
AlgoMuon::m_pt
int m_pt
Definition:
AlgoMuon.h:83
AlgoMuon::m_bx
int m_bx
Definition:
AlgoMuon.h:82
AlgoMuon::m_hits
int m_hits
Definition:
AlgoMuon.h:80
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
AlgoMuon::getHits
int getHits() const
Definition:
AlgoMuon.h:47
AlgoMuon::getPhiRHit
int getPhiRHit() const
Definition:
AlgoMuon.h:52
AlgoMuon::setHits
void setHits(int hits)
Definition:
AlgoMuon.h:60
AlgoMuon::operator<
bool operator<(const AlgoMuon &o) const
Definition:
AlgoMuon.cc:8
AlgoMuon::getRefLayer
int getRefLayer() const
Definition:
AlgoMuon.h:46
AlgoMuon::setEta
void setEta(int eta)
Definition:
AlgoMuon.h:58
AlgoMuon::getPhi
int getPhi() const
Definition:
AlgoMuon.h:44
AlgoMuon::getDisc
int getDisc() const
Definition:
AlgoMuon.h:43
AlgoMuon::setPhi
void setPhi(int phi)
Definition:
AlgoMuon.h:57
AlgoMuon::getPt
int getPt() const
Definition:
AlgoMuon.h:50
AlgoMuon::setPhiRHit
void setPhiRHit(int phiRHit)
Definition:
AlgoMuon.h:65
AlgoMuon::m_charge
int m_charge
Definition:
AlgoMuon.h:84
AlgoMuon::setRefHitNumber
void setRefHitNumber(unsigned int aRefHitNum)
Definition:
AlgoMuon.h:67
AlgoMuon::m_phi
int m_phi
Definition:
AlgoMuon.h:77
AlgoMuon::getEta
int getEta() const
Definition:
AlgoMuon.h:45
AlgoMuon::m_disc
int m_disc
Definition:
AlgoMuon.h:76
Generated for CMSSW Reference Manual by
1.8.14