Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: L1MuonParticle.cc,v 1.8 2007/10/16 05:01:53 wsun Exp $
12
//
13
14
// system include files
15
16
// user include files
17
#include "
DataFormats/L1Trigger/interface/L1MuonParticle.h
"
18
19
using namespace
l1extra ;
20
21
//
22
// constants, enums and typedefs
23
//
24
25
//
26
// static data member definitions
27
//
28
29
//
30
// constructors and destructor
31
//
32
L1MuonParticle::L1MuonParticle
()
33
{
34
}
35
36
L1MuonParticle::L1MuonParticle
(
37
Charge
q
,
38
const
LorentzVector
&
p4
,
39
const
L1MuGMTExtendedCand
& aCand,
40
int
bx )
41
: LeafCandidate( q, p4 ),
42
cand_( aCand ),
43
bx_( bx )
44
{
45
isolated_
=
cand_
.
isol
() ;
46
mip_
=
cand_
.
mip
() ;
47
forward_
=
cand_
.
isFwd
() ;
48
rpc_
=
cand_
.
isRPC
() ;
49
}
50
51
L1MuonParticle::L1MuonParticle
(
52
Charge
q
,
53
const
PolarLorentzVector
&
p4
,
54
const
L1MuGMTExtendedCand
& aCand,
55
int
bx )
56
: LeafCandidate( q, p4 ),
57
cand_( aCand ),
58
bx_( bx )
59
{
60
isolated_
=
cand_
.
isol
() ;
61
mip_
=
cand_
.
mip
() ;
62
forward_
=
cand_
.
isFwd
() ;
63
rpc_
=
cand_
.
isRPC
() ;
64
}
65
66
L1MuonParticle::L1MuonParticle
(
Charge
q
,
67
const
LorentzVector
&
p4
,
68
bool
isolated,
69
bool
mip,
70
bool
forward,
71
bool
rpc,
72
unsigned
int
detector
,
73
int
bx )
74
: LeafCandidate( q, p4 ),
75
isolated_( isolated ),
76
mip_( mip ),
77
forward_( forward ),
78
rpc_( rpc ),
79
cand_(
L1MuGMTExtendedCand
() ),
80
bx_( bx )
81
{
82
}
83
84
L1MuonParticle::L1MuonParticle
(
Charge
q
,
85
const
PolarLorentzVector
&
p4
,
86
bool
isolated,
87
bool
mip,
88
bool
forward,
89
bool
rpc,
90
unsigned
int
detector
,
91
int
bx )
92
: LeafCandidate( q, p4 ),
93
isolated_( isolated ),
94
mip_( mip ),
95
forward_( forward ),
96
rpc_( rpc ),
97
cand_(
L1MuGMTExtendedCand
() ),
98
bx_( bx )
99
{
100
}
101
102
// L1MuonParticle::L1MuonParticle(const L1MuonParticle& rhs)
103
// {
104
// // do actual copying here;
105
// }
106
107
// L1MuonParticle::~L1MuonParticle()
108
// {
109
// }
110
111
//
112
// assignment operators
113
//
114
// const L1MuonParticle& L1MuonParticle::operator=(const L1MuonParticle& rhs)
115
// {
116
// //An exception safe implementation is
117
// L1MuonParticle temp(rhs);
118
// swap(rhs);
119
//
120
// return *this;
121
// }
122
123
//
124
// member functions
125
//
126
127
//
128
// const member functions
129
//
130
131
//
132
// static member functions
133
//
reco::Candidate::Charge
int Charge
electric charge type
Definition:
Candidate.h:37
l1extra::L1MuonParticle::mip_
bool mip_
Definition:
L1MuonParticle.h:116
l1extra::L1MuonParticle::isolated_
bool isolated_
Definition:
L1MuonParticle.h:115
lumiQueryAPI.q
tuple q
Definition:
lumiQueryAPI.py:1781
l1extra::L1MuonParticle::rpc_
bool rpc_
Definition:
L1MuonParticle.h:118
L1MuGMTCand::isol
bool isol() const
get isolation
Definition:
L1MuGMTCand.h:116
L1MuGMTExtendedCand
Definition:
L1MuGMTExtendedCand.h:49
l1extra::L1MuonParticle::cand_
L1MuGMTExtendedCand cand_
Definition:
L1MuonParticle.h:119
L1MuGMTExtendedCand::isRPC
bool isRPC() const
get RPC bit (true=RPC, false = DT/CSC or matched)
Definition:
L1MuGMTExtendedCand.h:88
p4
double p4[4]
Definition:
TauolaWrapper.h:92
L1MuGMTCand::mip
bool mip() const
get mip
Definition:
L1MuGMTCand.h:119
ExpressReco_HICollisions_FallBack.detector
tuple detector
Definition:
ExpressReco_HICollisions_FallBack.py:25265
l1extra::L1MuonParticle::L1MuonParticle
L1MuonParticle()
Definition:
L1MuonParticle.cc:32
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:39
L1MuonParticle.h
L1MuGMTExtendedCand::isFwd
bool isFwd() const
get forward bit (true=forward, false=barrel)
Definition:
L1MuGMTExtendedCand.h:85
l1extra::L1MuonParticle::forward_
bool forward_
Definition:
L1MuonParticle.h:117
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:41
Generated for CMSSW Reference Manual by
1.8.5