DESY Hbb Analysis Framework
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 
9 
10 
11 //
12 // class declaration
13 //
14 
15 using namespace analysis;
16 using namespace analysis::tools;
17 
18 //
19 // constructors and destructor
20 //
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 }
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 ------------
float eta() const
returns the pseudorapidity
Definition: Candidate.cc:134
float phiAtVtx() const
Definition: L1TMuon.cc:44
float e() const
returns the energy
Definition: Candidate.cc:136
L1TMuon()
default constructor
Definition: L1TMuon.cc:21
float phi() const
returns the azimuthal angle
Definition: Candidate.cc:135
float pt() const
returns the transverse momentum
Definition: Candidate.cc:133
~L1TMuon()
destructor
Definition: L1TMuon.cc:28
int hwQual() const
Definition: L1TMuon.cc:42
int q() const
returns the charge
Definition: Candidate.cc:139
float etaAtVtx() const
Definition: L1TMuon.cc:43