ATLAS Offline Software
Loading...
Searching...
No Matches
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
double phi () const
 returns phi coord of tower
int energy () const
 returns ET
unsigned int key ()
 returns TT key - that is the key the TT had when it was created.
bool isSaturated () const
 Returns flag to indicate whether JetInput ET is saturated.
Coordinate coord () const
 return coord of JE

Private Attributes

int m_energy
 Internal data.
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 22 of file JetInput.cxx.

22 :
23 m_energy(0),
24 m_phi(0.0),
25 m_eta(0.0),
26 m_key(0)
27{
28}
double m_eta
Definition JetInput.h:55
unsigned int m_key
Definition JetInput.h:56
int m_energy
Internal data.
Definition JetInput.h:53
double m_phi
Definition JetInput.h:54

◆ JetInput() [2/2]

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

◆ ~JetInput()

LVL1::JetInput::~JetInput ( )
virtual

Definition at line 30 of file JetInput.cxx.

30 {
31}

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 55 of file JetInput.cxx.

55 {
56 return m_energy;
57}

◆ eta()

double LVL1::JetInput::eta ( ) const

returns eta coord

Definition at line 45 of file JetInput.cxx.

45 {
46 return m_eta;
47}

◆ isSaturated()

bool LVL1::JetInput::isSaturated ( ) const

Returns flag to indicate whether JetInput ET is saturated.

Definition at line 67 of file JetInput.cxx.

67 {
69}
static const int m_saturationThreshold
Definition JetInput.h:58

◆ 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 62 of file JetInput.cxx.

62 {
63 return m_key;
64}

◆ phi()

double LVL1::JetInput::phi ( ) const

returns phi coord of tower

Definition at line 50 of file JetInput.cxx.

50 {
51 return m_phi;
52}

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: