ATLAS Offline Software
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
LVL1::JetInput Class Reference

A minimal version of JetElement, containing only eta, phi, ET and a JetInputKey, ie the bare information needed to execute the Jet trigger algorithm. More...

#include <JetInput.h>

Collaboration diagram for LVL1::JetInput:

Public Member Functions

 JetInput ()
 
 JetInput (double phi, double eta, int energy, int key)
 
virtual ~JetInput ()
 
double eta () const
 returns eta coord More...
 
double phi () const
 returns phi coord of tower More...
 
int energy () const
 returns ET More...
 
unsigned int key ()
 returns TT key - that is the key the TT had when it was created. More...
 
bool isSaturated () const
 Returns flag to indicate whether JetInput ET is saturated. More...
 
Coordinate coord () const
 return coord of JE More...
 

Private Attributes

int m_energy
 Internal data. More...
 
double m_phi
 
double m_eta
 
unsigned int m_key
 

Static Private Attributes

static const int m_saturationThreshold = 1023
 

Detailed Description

A minimal version of JetElement, containing only eta, phi, ET and a JetInputKey, ie the bare information needed to execute the Jet trigger algorithm.

JetInputs are only used as local objects within JetTrigger, i.e. not placed in StoreGate.

Definition at line 34 of file JetInput.h.

Constructor & Destructor Documentation

◆ JetInput() [1/2]

LVL1::JetInput::JetInput ( )

Definition at line 27 of file JetInput.cxx.

27 {
28 }
29 
31 }
32 

◆ JetInput() [2/2]

LVL1::JetInput::JetInput ( double  phi,
double  eta,
int  energy,
int  key 
)

◆ ~JetInput()

LVL1::JetInput::~JetInput ( )
virtual

Definition at line 35 of file JetInput.cxx.

35  :

Member Function Documentation

◆ coord()

LVL1::Coordinate LVL1::JetInput::coord ( ) const

return coord of JE

Definition at line 75 of file JetInput.cxx.

75  {
76  return Coordinate(m_phi,m_eta);
77 }

◆ energy()

int LVL1::JetInput::energy ( ) const

returns ET

Definition at line 60 of file JetInput.cxx.

62  {

◆ eta()

double LVL1::JetInput::eta ( ) const

returns eta coord

Definition at line 50 of file JetInput.cxx.

50  {
51  return m_phi;
52 }

◆ isSaturated()

bool LVL1::JetInput::isSaturated ( ) const

Returns flag to indicate whether JetInput ET is saturated.

Definition at line 72 of file JetInput.cxx.

◆ key()

unsigned int LVL1::JetInput::key ( )

returns TT key - that is the key the TT had when it was created.

Added for bug-testing.

Definition at line 67 of file JetInput.cxx.

67  {
68  return (m_energy >= m_saturationThreshold);
69 }

◆ phi()

double LVL1::JetInput::phi ( ) const

returns phi coord of tower

Definition at line 55 of file JetInput.cxx.

55  {
56  return m_energy;
57 }

Member Data Documentation

◆ m_energy

int LVL1::JetInput::m_energy
private

Internal data.

Definition at line 53 of file JetInput.h.

◆ m_eta

double LVL1::JetInput::m_eta
private

Definition at line 55 of file JetInput.h.

◆ m_key

unsigned int LVL1::JetInput::m_key
private

Definition at line 56 of file JetInput.h.

◆ m_phi

double LVL1::JetInput::m_phi
private

Definition at line 54 of file JetInput.h.

◆ m_saturationThreshold

const int LVL1::JetInput::m_saturationThreshold = 1023
staticprivate

Definition at line 58 of file JetInput.h.


The documentation for this class was generated from the following files:
LVL1::JetInput::m_energy
int m_energy
Internal data.
Definition: JetInput.h:53
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::JetInput::~JetInput
virtual ~JetInput()
Definition: JetInput.cxx:35
LVL1::JetInput::energy
int energy() const
returns ET
Definition: JetInput.cxx:60
LVL1::JetInput::m_phi
double m_phi
Definition: JetInput.h:54