DESY Hbb Analysis Framework
TriggerObject.h
Go to the documentation of this file.
1 #ifndef Analysis_Tools_TriggerObject_h
2 #define Analysis_Tools_TriggerObject_h 1
3 
4 // -*- C++ -*-
5 //
6 // Package: Analysis/Tools
7 // Class: TriggerObject
8 //
16 //
17 // Original Author: Rostyslav Shevchenko
18 // Created: Fri, 08 Oct 2015 17:56:18 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 TriggerObject : public Candidate {
35  public:
36  TriggerObject();
37  TriggerObject(const float & pt, const float & eta, const float & phi, const float & e);
39 
40  //Gets
42  int type() const;
43 
44  //Sets
45  //sets the type of the trigger object
46  void type(const int &);
47 
48  protected:
49  int type_;
50 
51  private:
52  // ----------member data ---------------------------
53  //
54  };
55  }
56 }
57 
58 #endif // Analysis_Tools_TriggerObject_h
float eta() const
returns the pseudorapidity
Definition: Candidate.cc:134
float e() const
returns the energy
Definition: Candidate.cc:136
int type() const
returns the type of the trigger object (L1mu, L1jet, hltmu, etc)
float phi() const
returns the azimuthal angle
Definition: Candidate.cc:135
float pt() const
returns the transverse momentum
Definition: Candidate.cc:133