DESY Hbb Analysis Framework
TriggerObject.cc
Go to the documentation of this file.
1 
2 // system include files
3 //
4 // user include files
5 #include "FWCore/Framework/interface/Event.h"
6 //
7 #include "FWCore/ParameterSet/interface/ParameterSet.h"
8 
10 
11 
12 //
13 // class declaration
14 //
15 
16 using namespace analysis;
17 using namespace analysis::tools;
18 
19 //
20 // constructors and destructor
21 //
23 {
24 }
25 TriggerObject::TriggerObject(const float & pt, const float & eta, const float & phi, const float & e) :
26  Candidate(pt,eta,phi,e,0)
27 {
28 }
30 {
31  // do anything here that needs to be done at desctruction time
32  // (e.g. close files, deallocate resources etc.)
33 }
34 
35 
36 //
37 // member functions
38 //
39 // Gets
40 int TriggerObject::type() const { return type_; }
41 
42 // Sets
43 void TriggerObject::type (const int & type) { type_ = type; }
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