ATLAS Offline Software
Loading...
Searching...
No Matches
JEMTobRoI_v1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id: JEMTobRoI_v1.cxx 685662 2015-07-27 10:30:15Z amazurov $
6
7// EDM includes(s):
9
10// Local include(s):
12
13namespace xAOD{
14
19
21
22
35
38 {
39 return (roiWord() >> s_crateBit) & s_crateMask;
40 }
41
44 {
45 return (roiWord() >> s_jemBit) & s_jemMask;
46 }
47
50 {
51 return (roiWord() >> s_frameBit) & s_frameMask;
52 }
53
56 {
57 return (roiWord() >> s_locationBit) & s_locationMask;
58 }
59
62 {
64 }
65
68 {
70 }
71
72
73 std::ostream &operator<<(std::ostream &os, const xAOD::JEMTobRoI_v1 &el)
74 {
75 os << "xAOD::JEMTobRoI crate=" << int(el.crate())
76 << " jem=" << el.jem()
77 << " frame=" << el.frame()
78 << " location=" << el.location()
79 << " energyLarge=" << el.energyLarge()
80 << " energySmall=" << el.energySmall();
81 return os;
82 }
83
84
85} // namespace xAOD
86
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
AuxElement()
Default constructor.
Description of JEMTobRoI_v1.
JEMTobRoI_v1()
Default constructor.
static const int s_locationBit
static const int s_wordIdBit
static const int s_jemBit
static const int s_energySmallBit
static const int s_energyLargeBit
static const int s_jemMask
uint32_t roiWord() const
get roiWord
static const int s_energyLargeMask
int frame() const
Return RoI frame number (0-7)
void setRoiWord(uint32_t)
set roiWord
int energyLarge() const
Return energy large window size.
static const int s_crateMask
int crate() const
Return crate number (0-1)
static const int s_energySmallMask
int energySmall() const
Return energy small window size.
static const int s_frameMask
static const int s_frameBit
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_crateBit
virtual void initialize(const int crate, const int jem, const int frame, const int location, const int energyLarge, const int energySmall)
static const int s_locationMask
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setRawEt setRawPhi int
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
setEventNumber uint32_t