Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
L1Trigger
interface
L1MuonParticle.h
Go to the documentation of this file.
1
#ifndef L1Trigger_L1MuonParticle_h
2
#define L1Trigger_L1MuonParticle_h
3
// -*- C++ -*-
4
//
5
// Package: L1Trigger
6
// Class : L1MuonParticle
7
//
12
//
13
// Original Author: Werner Sun
14
// Created: Sat Jul 15 12:41:07 EDT 2006
15
//
16
17
// system include files
18
19
// user include files
20
#include "
DataFormats/Candidate/interface/LeafCandidate.h
"
21
#include "
DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTExtendedCand.h
"
22
23
// forward declarations
24
25
namespace
l1extra {
26
27
class
L1MuonParticle
:
public
reco::LeafCandidate
28
{
29
30
public
:
31
L1MuonParticle
();
32
33
// Eventually, all L1MuGMTCands will be L1MuGMTExtendedCands,
34
// as soon as dictionaries for them exist in
35
// L1Trigger/GlobalMuonTrigger.
36
37
L1MuonParticle
(
Charge
q
,
38
const
LorentzVector
&
p4
,
39
const
L1MuGMTExtendedCand
& aCand,
40
int
bx
= 0 ) ;
41
42
L1MuonParticle
(
Charge
q,
43
const
PolarLorentzVector
& p4,
44
const
L1MuGMTExtendedCand
& aCand,
45
int
bx
= 0 ) ;
46
47
// Creates null Ref.
48
L1MuonParticle
(
Charge
q,
49
const
LorentzVector
& p4,
50
bool
isolated =
false
,
51
bool
mip =
false
,
52
bool
forward =
false
,
53
bool
rpc =
false
,
54
unsigned
int
detector = 0,
55
int
bx
= 0 ) ;
56
57
L1MuonParticle
(
Charge
q,
58
const
PolarLorentzVector
& p4,
59
bool
isolated =
false
,
60
bool
mip =
false
,
61
bool
forward =
false
,
62
bool
rpc =
false
,
63
unsigned
int
detector = 0,
64
int
bx
= 0 ) ;
65
66
virtual
~L1MuonParticle
() {}
67
68
// ---------- const member functions ---------------------
69
bool
isIsolated
()
const
70
{
return
isolated_
; }
71
72
bool
isMip
()
const
73
{
return
mip_
; }
74
75
bool
isForward
()
const
76
{
return
forward_
; }
77
78
bool
isRPC
()
const
79
{
return
rpc_
; }
80
81
const
L1MuGMTExtendedCand
&
gmtMuonCand
()
const
82
{
return
cand_
; }
83
84
virtual
L1MuonParticle
*
clone
()
const
85
{
return
new
L1MuonParticle
( *
this
) ; }
86
87
int
bx
()
const
88
{
return
bx_
; }
89
90
// ---------- static member functions --------------------
91
92
// ---------- member functions ---------------------------
93
void
setIsolated
(
bool
isIso )
94
{
isolated_
= isIso ; }
95
96
void
setMip
(
bool
isMip
)
97
{
mip_
=
isMip
; }
98
99
void
setForward
(
bool
isForward
)
100
{
forward_
=
isForward
; }
101
102
void
setRPC
(
bool
isRPC
)
103
{
rpc_
=
isRPC
; }
104
105
void
setBx
(
int
bx
)
106
{
bx_
=
bx
; }
107
108
private
:
109
// L1MuonParticle(const L1MuonParticle&); // stop default
110
111
// const L1MuonParticle& operator=(const L1MuonParticle&); // stop default
112
113
// ---------- member data --------------------------------
114
bool
isolated_
;
115
bool
mip_
;
116
bool
forward_
;
117
bool
rpc_
;
118
L1MuGMTExtendedCand
cand_
;
119
int
bx_
;
120
};
121
}
122
123
#endif
reco::LeafCandidate
Definition:
LeafCandidate.h:21
reco::Candidate::Charge
int Charge
electric charge type
Definition:
Candidate.h:39
l1extra::L1MuonParticle::mip_
bool mip_
Definition:
L1MuonParticle.h:115
reco::LeafCandidate::p4
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
Definition:
LeafCandidate.h:148
LeafCandidate.h
l1extra::L1MuonParticle::isolated_
bool isolated_
Definition:
L1MuonParticle.h:114
l1extra::L1MuonParticle::bx
int bx() const
Definition:
L1MuonParticle.h:87
l1extra::L1MuonParticle::isRPC
bool isRPC() const
Definition:
L1MuonParticle.h:78
l1extra::L1MuonParticle::~L1MuonParticle
virtual ~L1MuonParticle()
Definition:
L1MuonParticle.h:66
lumiQueryAPI.q
tuple q
Definition:
lumiQueryAPI.py:1839
l1extra::L1MuonParticle::setMip
void setMip(bool isMip)
Definition:
L1MuonParticle.h:96
l1extra::L1MuonParticle::setBx
void setBx(int bx)
Definition:
L1MuonParticle.h:105
l1extra::L1MuonParticle::isIsolated
bool isIsolated() const
Definition:
L1MuonParticle.h:69
l1extra::L1MuonParticle::isMip
bool isMip() const
Definition:
L1MuonParticle.h:72
l1extra::L1MuonParticle
Definition:
L1MuonParticle.h:27
l1extra::L1MuonParticle::rpc_
bool rpc_
Definition:
L1MuonParticle.h:117
L1MuGMTExtendedCand
Definition:
L1MuGMTExtendedCand.h:47
l1extra::L1MuonParticle::cand_
L1MuGMTExtendedCand cand_
Definition:
L1MuonParticle.h:118
l1extra::L1MuonParticle::isForward
bool isForward() const
Definition:
L1MuonParticle.h:75
L1MuGMTExtendedCand.h
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:41
l1extra::L1MuonParticle::gmtMuonCand
const L1MuGMTExtendedCand & gmtMuonCand() const
Definition:
L1MuonParticle.h:81
l1extra::L1MuonParticle::setRPC
void setRPC(bool isRPC)
Definition:
L1MuonParticle.h:102
l1extra::L1MuonParticle::setIsolated
void setIsolated(bool isIso)
Definition:
L1MuonParticle.h:93
l1extra::L1MuonParticle::setForward
void setForward(bool isForward)
Definition:
L1MuonParticle.h:99
l1extra::L1MuonParticle::clone
virtual L1MuonParticle * clone() const
returns a clone of the Candidate object
Definition:
L1MuonParticle.h:84
l1extra::L1MuonParticle::forward_
bool forward_
Definition:
L1MuonParticle.h:116
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:43
Generated for CMSSW Reference Manual by
1.8.5