DESY Hbb Analysis Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Analysis
Tools
src
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
9
#include "
Analysis/Tools/interface/TriggerObject.h
"
10
11
12
//
13
// class declaration
14
//
15
16
using namespace
analysis
;
17
using namespace
analysis::tools
;
18
19
//
20
// constructors and destructor
21
//
22
TriggerObject::TriggerObject
() :
Candidate
()
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
}
29
TriggerObject::~TriggerObject
()
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
; }
analysis::tools::Candidate::eta
float eta() const
returns the pseudorapidity
Definition:
Candidate.cc:134
analysis::tools::TriggerObject::TriggerObject
TriggerObject()
Definition:
TriggerObject.cc:22
analysis::tools::TriggerObject::~TriggerObject
~TriggerObject()
Definition:
TriggerObject.cc:29
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::Candidate
Definition:
Candidate.h:37
analysis::tools::TriggerObject::type
int type() const
returns the type of the trigger object (L1mu, L1jet, hltmu, etc)
Definition:
TriggerObject.cc:40
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
TriggerObject.h
analysis::tools::TriggerObject::type_
int type_
Definition:
TriggerObject.h:49
Generated by
1.8.11