Main Page
Namespaces
Classes
Package Documentation
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
}
34
35
L1MuonParticle::L1MuonParticle
(
36
Charge
q
,
37
const
LorentzVector
&
p4
,
38
const
L1MuGMTExtendedCand
& aCand,
39
int
bx
)
40
:
LeafCandidate
( q, p4 ),
41
cand_
( aCand ),
42
bx_
( bx )
43
{
44
isolated_
=
cand_
.
isol
() ;
45
mip_
=
cand_
.
mip
() ;
46
forward_
=
cand_
.
isFwd
() ;
47
rpc_
=
cand_
.
isRPC
() ;
48
}
49
50
L1MuonParticle::L1MuonParticle
(
51
Charge
q
,
52
const
PolarLorentzVector
&
p4
,
53
const
L1MuGMTExtendedCand
& aCand,
54
int
bx
)
55
:
LeafCandidate
( q, p4 ),
56
cand_
( aCand ),
57
bx_
( bx )
58
{
59
isolated_
=
cand_
.
isol
() ;
60
mip_
=
cand_
.
mip
() ;
61
forward_
=
cand_
.
isFwd
() ;
62
rpc_
=
cand_
.
isRPC
() ;
63
}
64
65
L1MuonParticle::L1MuonParticle
(
Charge
q
,
66
const
LorentzVector
&
p4
,
67
bool
isolated
,
68
bool
mip,
69
bool
forward,
70
bool
rpc
,
71
unsigned
int
detector
,
72
int
bx
)
73
:
LeafCandidate
( q, p4 ),
74
isolated_
( isolated ),
75
mip_
( mip ),
76
forward_
( forward ),
77
rpc_
( rpc ),
78
cand_
(
L1MuGMTExtendedCand
() ),
79
bx_
( bx )
80
{
81
}
82
83
L1MuonParticle::L1MuonParticle
(
Charge
q
,
84
const
PolarLorentzVector
&
p4
,
85
bool
isolated
,
86
bool
mip,
87
bool
forward,
88
bool
rpc
,
89
unsigned
int
detector
,
90
int
bx
)
91
:
LeafCandidate
( q, p4 ),
92
isolated_
( isolated ),
93
mip_
( mip ),
94
forward_
( forward ),
95
rpc_
( rpc ),
96
cand_
(
L1MuGMTExtendedCand
() ),
97
bx_
( bx )
98
{
99
}
100
101
// L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
102
// {
103
// // do actual copying here;
104
// }
105
106
// L1MuonParticle::~L1MuonParticle()
107
// {
108
// }
109
110
//
111
// assignment operators
112
//
113
// const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
114
// {
115
// //An exception safe implementation is
116
// L1MuonParticle temp(rhs);
117
// swap(rhs);
118
//
119
// return *this;
120
// }
121
122
//
123
// member functions
124
//
125
126
//
127
// const member functions
128
//
129
130
//
131
// static member functions
132
//
reco::Candidate::Charge
int Charge
electric charge type
Definition:
Candidate.h:35
l1extra::L1MuonParticle::mip_
bool mip_
Definition:
L1MuonParticle.h:115
l1extra
Definition:
L1EmParticle.h:26
GlobalTrackerMuonAlignment_cfi.isolated
isolated
Definition:
GlobalTrackerMuonAlignment_cfi.py:4
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
l1extra::L1MuonParticle::isolated_
bool isolated_
Definition:
L1MuonParticle.h:114
l1extra::L1MuonParticle::bx
int bx() const
Definition:
L1MuonParticle.h:87
gamEcalExtractorBlocks_cff.detector
detector
Definition:
gamEcalExtractorBlocks_cff.py:12
l1extra::L1MuonParticle::rpc_
bool rpc_
Definition:
L1MuonParticle.h:117
L1MuGMTCand::isol
bool isol() const
get isolation
Definition:
L1MuGMTCand.h:114
L1MuGMTExtendedCand
Definition:
L1MuGMTExtendedCand.h:47
l1extra::L1MuonParticle::cand_
L1MuGMTExtendedCand cand_
Definition:
L1MuonParticle.h:118
L1MuGMTExtendedCand::isRPC
bool isRPC() const
get RPC bit (true=RPC, false = DT/CSC or matched)
Definition:
L1MuGMTExtendedCand.h:86
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition:
LeafCandidate.h:99
L1MuGMTCand::mip
bool mip() const
get mip
Definition:
L1MuGMTCand.h:117
l1extra::L1MuonParticle::bx_
int bx_
Definition:
L1MuonParticle.h:119
l1extra::L1MuonParticle::L1MuonParticle
L1MuonParticle()
Definition:
L1MuonParticle.cc:31
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:37
reco::LeafCandidate::LeafCandidate
LeafCandidate()
Definition:
LeafCandidate.h:33
L1MuonParticle.h
lumiQueryAPI.q
q
Definition:
lumiQueryAPI.py:1843
L1MuGMTExtendedCand::isFwd
bool isFwd() const
get forward bit (true=forward, false=barrel)
Definition:
L1MuGMTExtendedCand.h:83
l1extra::L1MuonParticle::forward_
bool forward_
Definition:
L1MuonParticle.h:116
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:39
Generated for CMSSW Reference Manual by
1.8.11