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