ATLAS Offline Software
NSWMMTPRDO_v1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef XAODMUONRDO_VERSION_NSWMMTPRDO_V1_H
6 #define XAODMUONRDO_VERSION_NSWMMTPRDO_V1_H
7 
9 #include "Identifier/Identifier.h"
10 
11 #define DECLARE_VEC_MEMBER(DATA_TYPE, VEC_NAME) \
12  const std::vector<DATA_TYPE>& VEC_NAME () const; \
13  std::vector<DATA_TYPE>& VEC_NAME();
14 
15 #define DECLARE_SCALAR_MEMBER(DATA_TYPE, SCALAR_NAME) \
16  DATA_TYPE SCALAR_NAME() const; \
17  void set_##SCALAR_NAME(const DATA_TYPE val);
18 
19 namespace xAOD {
20 
22 
23  class NSWMMTPRDO_v1 : public SG::AuxElement {
24 
25  public:
26 
28  NSWMMTPRDO_v1() = default;
30  virtual ~NSWMMTPRDO_v1() = default;
31 
32  // Method to access stored quantities
33  //ROD info
38 
39  //TP head
44 
45  //TP L1A head
46  DECLARE_SCALAR_MEMBER(uint16_t, l1a_request_BCID)
47  DECLARE_SCALAR_MEMBER(uint16_t, l1a_release_BCID)
48  DECLARE_SCALAR_MEMBER(uint16_t, l1a_window_open)
49  DECLARE_SCALAR_MEMBER(uint16_t, l1a_window_center)
50  DECLARE_SCALAR_MEMBER(uint16_t, l1a_window_close)
51  DECLARE_SCALAR_MEMBER(uint16_t, l1a_window_open_offset)
52  DECLARE_SCALAR_MEMBER(uint16_t, l1a_window_center_offset)
53  DECLARE_SCALAR_MEMBER(uint16_t, l1a_window_close_offset)
54 
55  //l1a data quality
56  DECLARE_SCALAR_MEMBER(uint16_t, l1a_timeout)
57  DECLARE_SCALAR_MEMBER(uint16_t, l1a_engines)
58 
59  //ART data
60  DECLARE_VEC_MEMBER(uint16_t, art_BCID)
61  DECLARE_VEC_MEMBER(uint8_t, art_layer)
62  DECLARE_VEC_MEMBER(uint16_t, art_channel)
63 
64  //trigger data
65  DECLARE_VEC_MEMBER(uint16_t, trig_BCID)
66  DECLARE_VEC_MEMBER(uint8_t, trig_dTheta)
67  DECLARE_VEC_MEMBER(uint8_t, trig_ROI_rID)
68  DECLARE_VEC_MEMBER(uint8_t, trig_ROI_phiID)
69 
70 
71 
72  };
73 
74 }
75 
78 
79 #undef DECLARE_VEC_MEMBER
80 #undef DECLARE_SCALAR_MEMBER
81 #endif // XAODMUONRDO_VERSION_NSWMMTPRDO_V1_H
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
DECLARE_VEC_MEMBER
#define DECLARE_VEC_MEMBER(DATA_TYPE, VEC_NAME)
Definition: NSWMMTPRDO_v1.h:11
PixelByteStreamErrors::BCID
@ BCID
Definition: PixelByteStreamErrors.h:13
SG_BASE
SG_BASE(xAOD::NSWMMTPRDO_v1, SG::AuxElement)
xAOD::NSWMMTPRDO_v1::~NSWMMTPRDO_v1
virtual ~NSWMMTPRDO_v1()=default
Virtual destructor.
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
xAOD::NSWMMTPRDO_v1
Definition: NSWMMTPRDO_v1.h:23
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
TRT_PAI_gasdata::EC
const float EC[NC]
Energy levels for Carbon.
Definition: TRT_PAI_gasdata.h:241
xAOD::NSWMMTPRDO_v1::NSWMMTPRDO_v1
NSWMMTPRDO_v1()=default
Default constructor.
DECLARE_SCALAR_MEMBER
#define DECLARE_SCALAR_MEMBER(DATA_TYPE, SCALAR_NAME)
Definition: NSWMMTPRDO_v1.h:15
AuxElement.h
Base class for elements of a container that can have aux data.