ATLAS Offline Software
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 
20 namespace LVL1 {
21 
23  m_energy(0),
24  m_phi(0.0),
25  m_eta(0.0),
26  m_key(0)
27 {
28 }
29 
31 }
32 
34 LVL1::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 
45 double LVL1::JetInput::eta() const{
46  return m_eta;
47 }
48 
50 double LVL1::JetInput::phi() const{
51  return m_phi;
52 }
53 
56  return m_energy;
57 }
58 
59 
62 unsigned int LVL1::JetInput::key(){
63  return m_key;
64 }
65 
68  return (m_energy >= m_saturationThreshold);
69 }
70 
71 }// end of LVL1 namespace
72 
73 
76  return Coordinate(m_phi,m_eta);
77 }
LVL1::JetInput::coord
Coordinate coord() const
return coord of JE
Definition: JetInput.cxx:75
LVL1::JetInput::m_eta
double m_eta
Definition: JetInput.h:55
JetInput.h
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JetInput::~JetInput
virtual ~JetInput()
Definition: JetInput.cxx:35
LVL1::JetInput::phi
double phi() const
returns phi coord of tower
Definition: JetInput.cxx:55
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
LVL1::Coordinate
Coordinate class declaration.
Definition: TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h:50
LVL1::JetInput::energy
int energy() const
returns ET
Definition: JetInput.cxx:60
LVL1::JetInput::isSaturated
bool isSaturated() const
Returns flag to indicate whether JetInput ET is saturated.
Definition: JetInput.cxx:72
LVL1::JetInput::key
unsigned int key()
returns TT key - that is the key the TT had when it was created.
Definition: JetInput.cxx:67
LVL1::JetInput::m_phi
double m_phi
Definition: JetInput.h:54
LVL1::JetInput::eta
double eta() const
returns eta coord
Definition: JetInput.cxx:50
LVL1::JetInput::JetInput
JetInput()
Definition: JetInput.cxx:27
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37