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

A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word. More...

#include <JetEtRoIDecoder.h>

Collaboration diagram for LVL1::JetEtRoIDecoder:

Public Member Functions

 JetEtRoIDecoder ()
 
virtual ~JetEtRoIDecoder ()
 
unsigned int energy (unsigned int roiWord) const
 returns a 4b number which represents the Jet Et energy in GeV More...
 

Private Member Functions

unsigned int extractBits (unsigned int word, const unsigned int start, const unsigned int length) const
 returns the value of bits in word between bit "start" and bit "start" + "length" More...
 

Detailed Description

A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.

Author
E.Moyse
Todo:
this should probably be a static class.

Definition at line 28 of file JetEtRoIDecoder.h.

Constructor & Destructor Documentation

◆ JetEtRoIDecoder()

LVL1::JetEtRoIDecoder::JetEtRoIDecoder ( )

Definition at line 24 of file JetEtRoIDecoder.cxx.

◆ ~JetEtRoIDecoder()

LVL1::JetEtRoIDecoder::~JetEtRoIDecoder ( )
virtual

Definition at line 28 of file JetEtRoIDecoder.cxx.

28  {
29  return roiWord & 0xF;
30  }

Member Function Documentation

◆ energy()

unsigned int LVL1::JetEtRoIDecoder::energy ( unsigned int  roiWord) const

returns a 4b number which represents the Jet Et energy in GeV

returns a 4b number which represents the thresholds passed

Definition at line 33 of file JetEtRoIDecoder.cxx.

33  {
34 
35  // this works as follows. Imagine start=3, bits=4 and word=11011100

◆ extractBits()

unsigned int LVL1::JetEtRoIDecoder::extractBits ( unsigned int  word,
const unsigned int  start,
const unsigned int  length 
) const
private

returns the value of bits in word between bit "start" and bit "start" + "length"

Definition at line 38 of file JetEtRoIDecoder.cxx.


The documentation for this class was generated from the following files:
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36