ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::JEMTobRoI_v1 Class Reference

Description of JEMTobRoI_v1. More...

#include <JEMTobRoI_v1.h>

Inheritance diagram for xAOD::JEMTobRoI_v1:
Collaboration diagram for xAOD::JEMTobRoI_v1:

Public Member Functions

 JEMTobRoI_v1 ()
 Default constructor.
virtual ~JEMTobRoI_v1 ()
 Default desturctor.
uint32_t roiWord () const
 get roiWord
void setRoiWord (uint32_t)
 set roiWord
int crate () const
 Return crate number (0-1).
int jem () const
 Return JEM number (0-15).
int frame () const
 Return RoI frame number (0-7).
int location () const
 Return location (RoI local coords) (0-3).
int energyLarge () const
 Return energy large window size.
int energySmall () const
 Return energy small window size.
virtual void initialize (const int crate, const int jem, const int frame, const int location, const int energyLarge, const int energySmall)

Static Private Attributes

static const int s_wordIdVal = 0
 RoI word ID.
static const int s_wordIdBit = 29
static const int s_crateBit = 28
static const int s_jemBit = 24
static const int s_frameBit = 21
static const int s_locationBit = 19
static const int s_energySmallBit = 10
static const int s_energyLargeBit = 0
static const int s_wordIdMask = 0x7
static const int s_crateMask = 0x1
static const int s_jemMask = 0xf
static const int s_frameMask = 0x7
static const int s_locationMask = 0x3
static const int s_energySmallMask = 0x1ff
static const int s_energyLargeMask = 0x3ff

Detailed Description

Description of JEMTobRoI_v1.

Author
John Morris john..nosp@m.morr.nosp@m.is@ce.nosp@m.rn.c.nosp@m.h
Revision
685662
Date
2015-07-27 12:30:15 +0200 (Mon, 27 Jul 2015)

Definition at line 25 of file JEMTobRoI_v1.h.

Constructor & Destructor Documentation

◆ JEMTobRoI_v1()

xAOD::JEMTobRoI_v1::JEMTobRoI_v1 ( )

Default constructor.

Definition at line 15 of file JEMTobRoI_v1.cxx.

15 :
17 {
18 }
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.

◆ ~JEMTobRoI_v1()

virtual xAOD::JEMTobRoI_v1::~JEMTobRoI_v1 ( )
inlinevirtual

Default desturctor.

Definition at line 30 of file JEMTobRoI_v1.h.

30{}

Member Function Documentation

◆ crate()

int xAOD::JEMTobRoI_v1::crate ( ) const

Return crate number (0-1).

Definition at line 37 of file JEMTobRoI_v1.cxx.

38 {
39 return (roiWord() >> s_crateBit) & s_crateMask;
40 }
uint32_t roiWord() const
get roiWord
static const int s_crateMask
static const int s_crateBit

◆ energyLarge()

int xAOD::JEMTobRoI_v1::energyLarge ( ) const

Return energy large window size.

Definition at line 61 of file JEMTobRoI_v1.cxx.

62 {
64 }
static const int s_energyLargeBit
static const int s_energyLargeMask

◆ energySmall()

int xAOD::JEMTobRoI_v1::energySmall ( ) const

Return energy small window size.

Definition at line 67 of file JEMTobRoI_v1.cxx.

68 {
70 }
static const int s_energySmallBit
static const int s_energySmallMask

◆ frame()

int xAOD::JEMTobRoI_v1::frame ( ) const

Return RoI frame number (0-7).

Definition at line 49 of file JEMTobRoI_v1.cxx.

50 {
51 return (roiWord() >> s_frameBit) & s_frameMask;
52 }
static const int s_frameMask
static const int s_frameBit

◆ initialize()

void xAOD::JEMTobRoI_v1::initialize ( const int crate,
const int jem,
const int frame,
const int location,
const int energyLarge,
const int energySmall )
virtual

Definition at line 23 of file JEMTobRoI_v1.cxx.

24 {
27 roiWord |= (jem & s_jemMask) << s_jemBit;
32
34 }
static const int s_locationBit
static const int s_wordIdBit
static const int s_jemBit
static const int s_jemMask
int frame() const
Return RoI frame number (0-7).
void setRoiWord(uint32_t)
set roiWord
int energyLarge() const
Return energy large window size.
int crate() const
Return crate number (0-1).
int energySmall() const
Return energy small window size.
static const int s_wordIdVal
RoI word ID.
int jem() const
Return JEM number (0-15).
int location() const
Return location (RoI local coords) (0-3).
static const int s_locationMask
setEventNumber uint32_t

◆ jem()

int xAOD::JEMTobRoI_v1::jem ( ) const

Return JEM number (0-15).

Definition at line 43 of file JEMTobRoI_v1.cxx.

44 {
45 return (roiWord() >> s_jemBit) & s_jemMask;
46 }

◆ location()

int xAOD::JEMTobRoI_v1::location ( ) const

Return location (RoI local coords) (0-3).

Definition at line 55 of file JEMTobRoI_v1.cxx.

56 {
57 return (roiWord() >> s_locationBit) & s_locationMask;
58 }

◆ roiWord()

uint32_t xAOD::JEMTobRoI_v1::roiWord ( ) const

get roiWord

◆ setRoiWord()

void xAOD::JEMTobRoI_v1::setRoiWord ( uint32_t )

set roiWord

Member Data Documentation

◆ s_crateBit

const int xAOD::JEMTobRoI_v1::s_crateBit = 28
staticprivate

Definition at line 59 of file JEMTobRoI_v1.h.

◆ s_crateMask

const int xAOD::JEMTobRoI_v1::s_crateMask = 0x1
staticprivate

Definition at line 67 of file JEMTobRoI_v1.h.

◆ s_energyLargeBit

const int xAOD::JEMTobRoI_v1::s_energyLargeBit = 0
staticprivate

Definition at line 64 of file JEMTobRoI_v1.h.

◆ s_energyLargeMask

const int xAOD::JEMTobRoI_v1::s_energyLargeMask = 0x3ff
staticprivate

Definition at line 72 of file JEMTobRoI_v1.h.

◆ s_energySmallBit

const int xAOD::JEMTobRoI_v1::s_energySmallBit = 10
staticprivate

Definition at line 63 of file JEMTobRoI_v1.h.

◆ s_energySmallMask

const int xAOD::JEMTobRoI_v1::s_energySmallMask = 0x1ff
staticprivate

Definition at line 71 of file JEMTobRoI_v1.h.

◆ s_frameBit

const int xAOD::JEMTobRoI_v1::s_frameBit = 21
staticprivate

Definition at line 61 of file JEMTobRoI_v1.h.

◆ s_frameMask

const int xAOD::JEMTobRoI_v1::s_frameMask = 0x7
staticprivate

Definition at line 69 of file JEMTobRoI_v1.h.

◆ s_jemBit

const int xAOD::JEMTobRoI_v1::s_jemBit = 24
staticprivate

Definition at line 60 of file JEMTobRoI_v1.h.

◆ s_jemMask

const int xAOD::JEMTobRoI_v1::s_jemMask = 0xf
staticprivate

Definition at line 68 of file JEMTobRoI_v1.h.

◆ s_locationBit

const int xAOD::JEMTobRoI_v1::s_locationBit = 19
staticprivate

Definition at line 62 of file JEMTobRoI_v1.h.

◆ s_locationMask

const int xAOD::JEMTobRoI_v1::s_locationMask = 0x3
staticprivate

Definition at line 70 of file JEMTobRoI_v1.h.

◆ s_wordIdBit

const int xAOD::JEMTobRoI_v1::s_wordIdBit = 29
staticprivate

Definition at line 58 of file JEMTobRoI_v1.h.

◆ s_wordIdMask

const int xAOD::JEMTobRoI_v1::s_wordIdMask = 0x7
staticprivate

Definition at line 66 of file JEMTobRoI_v1.h.

◆ s_wordIdVal

const int xAOD::JEMTobRoI_v1::s_wordIdVal = 0
staticprivate

RoI word ID.

Definition at line 56 of file JEMTobRoI_v1.h.


The documentation for this class was generated from the following files: