ATLAS Offline Software
Loading...
Searching...
No Matches
JetInput.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
5 //***************************************************************************
6 // JetInput.h - description
7 // -------------------
8 // begin : Tue 17 Jan 2006
9 // email : Alan.Watson@cern.ch
10 // ***************************************************************************/
11
12
13 #ifndef JetInput_H
14 #define JetInput_H
15
17
18
19 #include <iostream>
20 #ifndef TRIGGERSPACE
22 #else
23 #include "Coordinate.h"
24 #endif
25
26 namespace LVL1 {
27 //Doxygen class description below:
34 class JetInput {
35 public:
36
37 JetInput();
38 JetInput(double phi, double eta, int energy, int key);
39
40 virtual ~JetInput();
41
42 double eta() const;
43 double phi() const;
44 int energy() const;
45 unsigned int key();
46 bool isSaturated() const;
47
49 Coordinate coord() const;
50
52 private:
54 double m_phi;
55 double m_eta;
56 unsigned int m_key;
57
58 static const int m_saturationThreshold = 1023;
59
60 };
61 } // end of namespace
62
63#ifndef JetInput_ClassDEF_H
65#endif
66
67#endif
macros to associate a CLID to a type
Coordinate policies.
double m_eta
Definition JetInput.h:55
Coordinate coord() const
return coord of JE
Definition JetInput.cxx:75
JetInput(double phi, double eta, int energy, int key)
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...