ATLAS Offline Software
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 
16  #include "AthenaKernel/CLASS_DEF.h"
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:
53  int m_energy;
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
LVL1::JetInput::m_energy
int m_energy
Internal data.
Definition: JetInput.h:53
LVL1::JetInput::coord
Coordinate coord() const
return coord of JE
Definition: JetInput.cxx:75
JetInput_ClassDEF.h
LVL1::JetInput::m_eta
double m_eta
Definition: JetInput.h:55
LVL1::JetInput::m_saturationThreshold
static const int m_saturationThreshold
Definition: JetInput.h:58
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JetInput::JetInput
JetInput(double phi, double eta, int energy, int key)
LVL1::JetInput::m_key
unsigned int m_key
Definition: JetInput.h:56
LVL1::JetInput::~JetInput
virtual ~JetInput()
Definition: JetInput.cxx:35
LVL1::JetInput::phi
double phi() const
returns phi coord of tower
Definition: JetInput.cxx:55
LVL1::Coordinate
Coordinate class declaration.
Definition: TrigT1/TrigT1Interfaces/TrigT1Interfaces/Coordinate.h:50
Coordinate.h
Coordinate policies.
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
Coordinate.h
LVL1::JetInput::m_phi
double m_phi
Definition: JetInput.h:54
LVL1::JetInput
A minimal version of JetElement, containing only eta, phi, ET and a JetInputKey, ie the bare informat...
Definition: JetInput.h:34
LVL1::JetInput::eta
double eta() const
returns eta coord
Definition: JetInput.cxx:50
LVL1::JetInput::JetInput
JetInput()
Definition: JetInput.cxx:27
CLASS_DEF.h
macros to associate a CLID to a type