DESY Hbb Analysis Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Analysis
Tools
src
L1TMuon.cc
Go to the documentation of this file.
1
// system include files
2
//
3
// user include files
4
#include "FWCore/Framework/interface/Event.h"
5
//
6
#include "FWCore/ParameterSet/interface/ParameterSet.h"
7
8
#include "
Analysis/Tools/interface/L1TMuon.h
"
9
10
11
//
12
// class declaration
13
//
14
15
using namespace
analysis
;
16
using namespace
analysis::tools
;
17
18
//
19
// constructors and destructor
20
//
21
L1TMuon::L1TMuon
() :
Candidate
()
22
{
23
}
24
L1TMuon::L1TMuon
(
const
float
&
pt
,
const
float
&
eta
,
const
float
&
phi
,
const
float
&
e
,
const
float
&
q
) :
25
Candidate
(pt,eta,phi,e,q)
26
{
27
}
28
L1TMuon::~L1TMuon
()
29
{
30
// do anything here that needs to be done at desctruction time
31
// (e.g. close files, deallocate resources etc.)
32
}
33
34
35
//
36
// member functions
37
//
38
39
// Gets
40
41
// pat muons
42
int
L1TMuon::hwQual
()
const
{
return
hwQual_
; }
43
float
L1TMuon::etaAtVtx
()
const
{
return
etaAtVtx_
; }
44
float
L1TMuon::phiAtVtx
()
const
{
return
phiAtVtx_
; }
45
46
// Sets
47
48
void
L1TMuon::hwQual
(
const
int
&
hwQual
) {
hwQual_
=
hwQual
; }
49
void
L1TMuon::etaAtVtx
(
const
float
&
etaAtVtx
) {
etaAtVtx_
=
etaAtVtx
; }
50
void
L1TMuon::phiAtVtx
(
const
float
&
phiAtVtx
) {
phiAtVtx_
=
phiAtVtx
; }
51
52
53
// ------------ methods ------------
analysis::tools::L1TMuon::phiAtVtx_
float phiAtVtx_
Definition:
L1TMuon.h:57
analysis::tools::Candidate::eta
float eta() const
returns the pseudorapidity
Definition:
Candidate.cc:134
analysis::tools::L1TMuon::phiAtVtx
float phiAtVtx() const
Definition:
L1TMuon.cc:44
L1TMuon.h
analysis::tools::Candidate::e
float e() const
returns the energy
Definition:
Candidate.cc:136
analysis
Definition:
MssmHbbAnalyser.h:35
analysis::tools
Definition:
Analyser.h:38
analysis::tools::L1TMuon::L1TMuon
L1TMuon()
default constructor
Definition:
L1TMuon.cc:21
analysis::tools::Candidate
Definition:
Candidate.h:37
analysis::tools::Candidate::phi
float phi() const
returns the azimuthal angle
Definition:
Candidate.cc:135
analysis::tools::Candidate::pt
float pt() const
returns the transverse momentum
Definition:
Candidate.cc:133
analysis::tools::L1TMuon::etaAtVtx_
float etaAtVtx_
Definition:
L1TMuon.h:56
analysis::tools::L1TMuon::~L1TMuon
~L1TMuon()
destructor
Definition:
L1TMuon.cc:28
analysis::tools::L1TMuon::hwQual
int hwQual() const
Definition:
L1TMuon.cc:42
analysis::tools::Candidate::q
int q() const
returns the charge
Definition:
Candidate.cc:139
analysis::tools::L1TMuon::hwQual_
int hwQual_
Definition:
L1TMuon.h:55
analysis::tools::L1TMuon::etaAtVtx
float etaAtVtx() const
Definition:
L1TMuon.cc:43
Generated by
1.8.11