DataFormats
L1Trigger
src
L1MuonParticle.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: L1Trigger
4
// Class : L1MuonParticle
5
//
8
//
9
// Original Author: Werner Sun
10
// Created: Tue Jul 25 17:51:21 EDT 2006
11
//
12
13
// system include files
14
15
// user include files
16
#include "
DataFormats/L1Trigger/interface/L1MuonParticle.h
"
17
18
using namespace
l1extra
;
19
20
//
21
// constants, enums and typedefs
22
//
23
24
//
25
// static data member definitions
26
//
27
28
//
29
// constructors and destructor
30
//
31
L1MuonParticle::L1MuonParticle
() {}
32
33
L1MuonParticle::L1MuonParticle
(
Charge
q
,
const
LorentzVector
& p4,
const
L1MuGMTExtendedCand
& aCand,
int
bx
)
34
: LeafCandidate(
q
, p4), cand_(aCand), bx_(
bx
) {
35
isolated_
=
cand_
.
isol
();
36
mip_
=
cand_
.
mip
();
37
forward_
=
cand_
.
isFwd
();
38
rpc_
=
cand_
.
isRPC
();
39
}
40
41
L1MuonParticle::L1MuonParticle
(
Charge
q
,
const
PolarLorentzVector
& p4,
const
L1MuGMTExtendedCand
& aCand,
int
bx
)
42
: LeafCandidate(
q
, p4), cand_(aCand), bx_(
bx
) {
43
isolated_
=
cand_
.
isol
();
44
mip_
=
cand_
.
mip
();
45
forward_
=
cand_
.
isFwd
();
46
rpc_
=
cand_
.
isRPC
();
47
}
48
49
L1MuonParticle::L1MuonParticle
(
50
Charge
q
,
const
LorentzVector
& p4,
bool
isolated,
bool
mip,
bool
forward,
bool
rpc
,
unsigned
int
detector
,
int
bx
)
51
: LeafCandidate(
q
, p4),
52
isolated_(isolated),
53
mip_(mip),
54
forward_(forward),
55
rpc_(
rpc
),
56
cand_(
L1MuGMTExtendedCand
()),
57
bx_(
bx
) {}
58
59
L1MuonParticle::L1MuonParticle
(
Charge
q
,
60
const
PolarLorentzVector
& p4,
61
bool
isolated,
62
bool
mip,
63
bool
forward,
64
bool
rpc
,
65
unsigned
int
detector
,
66
int
bx
)
67
: LeafCandidate(
q
, p4),
68
isolated_(isolated),
69
mip_(mip),
70
forward_(forward),
71
rpc_(
rpc
),
72
cand_(
L1MuGMTExtendedCand
()),
73
bx_(
bx
) {}
74
75
// L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
76
// {
77
// // do actual copying here;
78
// }
79
80
// L1MuonParticle::~L1MuonParticle()
81
// {
82
// }
83
84
//
85
// assignment operators
86
//
87
// const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
88
// {
89
// //An exception safe implementation is
90
// L1MuonParticle temp(rhs);
91
// swap(rhs);
92
//
93
// return *this;
94
// }
95
96
//
97
// member functions
98
//
99
100
//
101
// const member functions
102
//
103
104
//
105
// static member functions
106
//
L1MuGMTCand::isol
bool isol() const
get isolation
Definition:
L1MuGMTCand.h:111
reco::Candidate::Charge
int Charge
electric charge type
Definition:
Candidate.h:34
l1extra::L1MuonParticle::mip_
bool mip_
Definition:
L1MuonParticle.h:95
l1extra
Definition:
L1EmParticle.h:26
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
l1extra::L1MuonParticle::isolated_
bool isolated_
Definition:
L1MuonParticle.h:94
L1MuGMTCand::mip
bool mip() const
get mip
Definition:
L1MuGMTCand.h:114
l1extra::L1MuonParticle::rpc_
bool rpc_
Definition:
L1MuonParticle.h:97
simKBmtfDigis_cfi.bx
bx
Definition:
simKBmtfDigis_cfi.py:55
L1MuGMTExtendedCand
Definition:
L1MuGMTExtendedCand.h:46
l1extra::L1MuonParticle::cand_
L1MuGMTExtendedCand cand_
Definition:
L1MuonParticle.h:98
L1MuGMTExtendedCand::isRPC
bool isRPC() const
get RPC bit (true=RPC, false = DT/CSC or matched)
Definition:
L1MuGMTExtendedCand.h:80
submitPVResolutionJobs.q
q
Definition:
submitPVResolutionJobs.py:84
hgcalTestNeighbor_cfi.detector
detector
Definition:
hgcalTestNeighbor_cfi.py:6
l1extra::L1MuonParticle::L1MuonParticle
L1MuonParticle()
Definition:
L1MuonParticle.cc:31
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:36
L1MuonParticle.h
L1MuGMTExtendedCand::isFwd
bool isFwd() const
get forward bit (true=forward, false=barrel)
Definition:
L1MuGMTExtendedCand.h:77
l1extra::L1MuonParticle::forward_
bool forward_
Definition:
L1MuonParticle.h:96
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:38
Generated for CMSSW Reference Manual by
1.8.14