test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
8
public
:
9
10
// AlgoMuon() : pt(-1.), eta(99.), phi(9999.), disc(-999), bx(0), q(-1), charge(99), refLayer(-1), hits(0) {} // the old one version
11
AlgoMuon
() :
m_disc
(-999),
m_phi
(9999),
m_eta
(99),
m_refLayer
(-1),
m_hits
(0),
m_q
(-1),
m_bx
(0),
m_pt
(-1),
m_charge
(99) {}
12
AlgoMuon
(
int
disc=-999,
int
phi
=9999,
int
eta
=99,
int
refLayer=-1,
13
int
hits=0,
int
q
=-1,
int
bx=0,
int
pt
=-1,
int
charge
=99):
14
m_disc
(disc),
m_phi
(
phi
),
m_eta
(
eta
),
m_refLayer
(refLayer),
15
m_hits
(hits),
m_q
(
q
),
m_bx
(bx),
m_pt
(
pt
),
m_charge
(
charge
) {}
16
17
int
getDisc
()
const
{
return
m_disc
; }
18
int
getPhi
()
const
{
return
m_phi
; }
19
int
getEta
()
const
{
return
m_eta
; }
20
int
getRefLayer
()
const
{
return
m_refLayer
; }
21
int
getHits
()
const
{
return
m_hits
; }
22
int
getQ
()
const
{
return
m_q
; }
23
int
getBx
()
const
{
return
m_bx
; }
24
int
getPt
()
const
{
return
m_pt
; }
25
int
getCharge
()
const
{
return
m_charge
; }
26
int
getPhiRHit
()
const
{
return
m_phiRHit
; }
27
28
void
setDisc
(
int
disc) {
m_disc
= disc; }
29
void
setPhi
(
int
phi
) {
m_phi
=
phi
; }
30
void
setEta
(
int
eta
) {
m_eta
=
eta
; }
31
void
setRefLayer
(
int
refLayer) {
m_refLayer
= refLayer; }
32
void
setHits
(
int
hits) {
m_hits
= hits; }
33
void
setQ
(
int
q
) {
m_q
=
q
; }
34
void
setBx
(
int
bx) {
m_bx
= bx; }
35
void
setPt
(
int
pt
) {
m_pt
=
pt
; }
36
void
setCharge
(
int
charge
) {
m_charge
=
charge
; }
37
void
setPhiRHit
(
int
phiRHit) {
m_phiRHit
= phiRHit; }
38
39
bool
isValid
()
const
;
40
41
bool
operator<
(
const
AlgoMuon
&
o
)
const
;
42
43
friend
std::ostream &
operator<<
(std::ostream &
out
,
const
AlgoMuon
&
o
);
44
45
private
:
46
47
int
m_disc
;
48
int
m_phi
;
49
int
m_eta
;
50
int
m_refLayer
;
51
int
m_hits
;
52
int
m_q
;
53
int
m_bx
;
54
int
m_pt
;
55
int
m_charge
;
56
int
m_phiRHit
;
57
// to add
58
// int m_pdf;
59
60
};
61
#endif
AlgoMuon::AlgoMuon
AlgoMuon()
Definition:
AlgoMuon.h:11
AlgoMuon::getCharge
int getCharge() const
Definition:
AlgoMuon.h:25
AlgoMuon::getEta
int getEta() const
Definition:
AlgoMuon.h:19
AlgoMuon::m_refLayer
int m_refLayer
Definition:
AlgoMuon.h:50
AlgoMuon::setCharge
void setCharge(int charge)
Definition:
AlgoMuon.h:36
AlgoMuon::getQ
int getQ() const
Definition:
AlgoMuon.h:22
AlgoMuon::setQ
void setQ(int q)
Definition:
AlgoMuon.h:33
AlgoMuon::m_eta
int m_eta
Definition:
AlgoMuon.h:49
AlgoMuon::isValid
bool isValid() const
Definition:
AlgoMuon.cc:6
AlgoMuon::m_phiRHit
int m_phiRHit
Definition:
AlgoMuon.h:56
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:12
AlgoMuon
Definition:
AlgoMuon.h:6
AlgoMuon::setBx
void setBx(int bx)
Definition:
AlgoMuon.h:34
lumiQueryAPI.q
tuple q
Definition:
lumiQueryAPI.py:1839
connectstrParser.o
string o
Definition:
connectstrParser.py:70
DDAxes::phi
AlgoMuon::m_q
int m_q
Definition:
AlgoMuon.h:52
AlgoMuon::getDisc
int getDisc() const
Definition:
AlgoMuon.h:17
AlgoMuon::setRefLayer
void setRefLayer(int refLayer)
Definition:
AlgoMuon.h:31
AlgoMuon::setDisc
void setDisc(int disc)
Definition:
AlgoMuon.h:28
AlgoMuon::setPt
void setPt(int pt)
Definition:
AlgoMuon.h:35
AlgoMuon::getBx
int getBx() const
Definition:
AlgoMuon.h:23
AlgoMuon::getRefLayer
int getRefLayer() const
Definition:
AlgoMuon.h:20
AlgoMuon::operator<<
friend std::ostream & operator<<(std::ostream &out, const AlgoMuon &o)
Definition:
AlgoMuon.cc:16
GenerateHcalLaserBadRunList.out
tuple out
Definition:
GenerateHcalLaserBadRunList.py:91
eta
Definition:
HIMultiTrackSelector.h:42
EnergyCorrector.pt
int pt
Definition:
EnergyCorrector.py:45
AlgoMuon::m_pt
int m_pt
Definition:
AlgoMuon.h:54
AlgoMuon::m_bx
int m_bx
Definition:
AlgoMuon.h:53
AlgoMuon::m_hits
int m_hits
Definition:
AlgoMuon.h:51
AlgoMuon::setHits
void setHits(int hits)
Definition:
AlgoMuon.h:32
AlgoMuon::getHits
int getHits() const
Definition:
AlgoMuon.h:21
AlgoMuon::operator<
bool operator<(const AlgoMuon &o) const
Definition:
AlgoMuon.cc:10
AlgoMuon::setEta
void setEta(int eta)
Definition:
AlgoMuon.h:30
AlgoMuon::getPt
int getPt() const
Definition:
AlgoMuon.h:24
AlgoMuon::setPhi
void setPhi(int phi)
Definition:
AlgoMuon.h:29
AlgoMuon::setPhiRHit
void setPhiRHit(int phiRHit)
Definition:
AlgoMuon.h:37
AlgoMuon::m_charge
int m_charge
Definition:
AlgoMuon.h:55
AlgoMuon::getPhi
int getPhi() const
Definition:
AlgoMuon.h:18
RecoTauCleanerPlugins.charge
tuple charge
Definition:
RecoTauCleanerPlugins.py:33
AlgoMuon::m_phi
int m_phi
Definition:
AlgoMuon.h:48
AlgoMuon::getPhiRHit
int getPhiRHit() const
Definition:
AlgoMuon.h:26
AlgoMuon::m_disc
int m_disc
Definition:
AlgoMuon.h:47
Generated for CMSSW Reference Manual by
1.8.5