Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
NRPCRDO_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // EDM include(s):
7 // Local include(s):
9 
10 namespace {
11  static const std::string preFixStr{"MuonRdo_"};
12 }
13 #define IMPLEMENT_SETTER_GETTER( DTYPE, GETTER, SETTER) \
14  DTYPE NRPCRDO_v1::GETTER() const { \
15  static const SG::AuxElement::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
16  return acc(*this); \
17  } \
18  \
19  void NRPCRDO_v1::SETTER(DTYPE value) { \
20  static const SG::AuxElement::Accessor<DTYPE> acc{preFixStr + #GETTER}; \
21  acc(*this) = value; \
22  }
23 
24 
25 namespace xAOD{
26 
27 
28 
30 IMPLEMENT_SETTER_GETTER( float, time, setTime)
31 IMPLEMENT_SETTER_GETTER( uint16_t, subdetector, setSubdetector)
32 IMPLEMENT_SETTER_GETTER( uint16_t, boardsector, setBoardsector)
33 IMPLEMENT_SETTER_GETTER( uint16_t, board, setBoard)
35 IMPLEMENT_SETTER_GETTER( float, timeoverthr, setTimeoverthr)
36 }
37 #undef IMPLEMENT_SETTER_GETTER
NRPCRDO_v1.h
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
IMPLEMENT_SETTER_GETTER
#define IMPLEMENT_SETTER_GETTER(DTYPE, GETTER, SETTER)
Definition: NRPCRDO_v1.cxx:13