DESY Hbb Analysis Framework
L1TMuon.h
Go to the documentation of this file.
1 #ifndef Analysis_Tools_L1TMuon_h
2 #define Analysis_Tools_L1TMuon_h 1
3 
4 // -*- C++ -*-
5 //
6 // Package: Analysis/Tools
7 // Class: L1TMuon
8 //
16 //
17 // Original Author: Roberval Walsh Bastos Rangel
18 // Created: Mon, 20 Oct 2014 14:24:08 GMT
19 //
20 //
21 
22 // system include files
23 #include <memory>
24 //
25 // user include files
27 //
28 // class declaration
29 //
30 
31 namespace analysis {
32  namespace tools {
33 
34  class L1TMuon : public Candidate {
35  public:
37  L1TMuon();
39  L1TMuon(const float & pt, const float & eta, const float & phi, const float & e, const float & q);
41  ~L1TMuon();
42 // using Candidate::set; // in case needed to overload the function set
43  // Gets
44  int hwQual() const ;
45  float etaAtVtx() const ;
46  float phiAtVtx() const ;
47 
48  // Sets
49  void hwQual (const int & hwQual);
50  void etaAtVtx(const float & etaAtVtx);
51  void phiAtVtx(const float & phiAtVtx);
52 
53  protected:
54  // ----------member data ---------------------------
55  int hwQual_;
56  float etaAtVtx_;
57  float phiAtVtx_;
58 
59  private:
60  // ----------member data ---------------------------
61 
62  //
63  };
64  }
65 }
66 
67 #endif // Analysis_Tools_Muon_h
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