ATLAS Offline Software
Loading...
Searching...
No Matches
JetInput.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4/***************************************************************************
5 JetInput.cpp - description
6 -------------------
7 begin : Tue 17 Jan 2006
8 email : Alan.Watson@cern.ch
9 ***************************************************************************/
10
11
12
13
14#ifndef TRIGGERSPACE
16#else
17#include "JetInput.h"
18#endif
19
20namespace LVL1 {
21
23 m_energy(0),
24 m_phi(0.0),
25 m_eta(0.0),
26 m_key(0)
27{
28}
29
32
34LVL1::JetInput::JetInput::JetInput(double phi, double eta,
35 int energy, int key):
36 m_energy(energy),
37 m_phi(phi),
38 m_eta(eta),
39 m_key(key)
40{
41}
42
43
45double LVL1::JetInput::eta() const{
46 return m_eta;
47}
48
50double LVL1::JetInput::phi() const{
51 return m_phi;
52}
53
56 return m_energy;
57}
58
59
62unsigned int LVL1::JetInput::key(){
63 return m_key;
64}
65
70
71}// end of LVL1 namespace
72
73
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
double m_eta
Definition JetInput.h:55
Coordinate coord() const
return coord of JE
Definition JetInput.cxx:75
unsigned int m_key
Definition JetInput.h:56
int m_energy
Internal data.
Definition JetInput.h:53
bool isSaturated() const
Returns flag to indicate whether JetInput ET is saturated.
Definition JetInput.cxx:67
double m_phi
Definition JetInput.h:54
virtual ~JetInput()
Definition JetInput.cxx:30
int energy() const
returns ET
Definition JetInput.cxx:55
double eta() const
returns eta coord
Definition JetInput.cxx:45
static const int m_saturationThreshold
Definition JetInput.h:58
unsigned int key()
returns TT key - that is the key the TT had when it was created.
Definition JetInput.cxx:62
double phi() const
returns phi coord of tower
Definition JetInput.cxx:50
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...