ATLAS Offline Software
NSWTPRDO_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_NSWTPRDO_V1_H
6 #define XAODMUONRDO_VERSION_NSWTPRDO_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 namespace xAOD {
19 
21 
22  class NSWTPRDO_v1 : public SG::AuxElement {
23 
24  public:
25 
27  NSWTPRDO_v1() = default;
29  virtual ~NSWTPRDO_v1() = default;
30 
31  // Method to access stored quantities
35 
39  DECLARE_SCALAR_MEMBER(uint16_t, window_open_bcid)
40  DECLARE_SCALAR_MEMBER(uint16_t, l1a_request_bcid)
41  DECLARE_SCALAR_MEMBER(uint16_t, window_close_bcid)
42  DECLARE_SCALAR_MEMBER(uint16_t, config_window_open_bcid_offset)
43  DECLARE_SCALAR_MEMBER(uint16_t, config_l1a_request_bcid_offset)
44  DECLARE_SCALAR_MEMBER(uint16_t, config_window_close_bcid_offset)
45 
46  // these are the stream variables in the nTuple
47  DECLARE_VEC_MEMBER(uint16_t, pad_coincidence_wedge)
48  DECLARE_VEC_MEMBER(uint8_t , pad_candidateNumber)
49 
50  DECLARE_VEC_MEMBER(uint8_t , pad_phiID)
51  DECLARE_VEC_MEMBER(uint8_t , pad_bandID)
52  DECLARE_VEC_MEMBER(uint16_t , pad_BCID)
53  DECLARE_VEC_MEMBER(uint8_t , pad_idleFlag)
54 
55 
56 
57 
58  DECLARE_VEC_MEMBER(uint32_t, merge_LUT_choiceSelection)
59  DECLARE_VEC_MEMBER(uint16_t, merge_nsw_segmentSelector)
60  DECLARE_VEC_MEMBER(uint16_t, merge_valid_segmentSelector)
61 
62 
63 
64  DECLARE_VEC_MEMBER(uint32_t, merge_segments)
66  DECLARE_VEC_MEMBER(uint16_t, merge_BCID_sectorID)
67 
68  DECLARE_VEC_MEMBER(uint8_t , merge_candidateNumber)
69  };
70 
71 }
72 
75 
76 #undef DECLARE_VEC_MEMBER
77 #undef DECLARE_SCALAR_MEMBER
78 #endif // XAODMUONRDO_VERSION_NRPCRDO_V1_H
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
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:446
DECLARE_SCALAR_MEMBER
#define DECLARE_SCALAR_MEMBER(DATA_TYPE, SCALAR_NAME)
Definition: NSWTPRDO_v1.h:15
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::NSWTPRDO_v1::NSWTPRDO_v1
NSWTPRDO_v1()=default
Default constructor.
PixelByteStreamErrors::BCID
@ BCID
Definition: PixelByteStreamErrors.h:13
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
DECLARE_VEC_MEMBER
#define DECLARE_VEC_MEMBER(DATA_TYPE, VEC_NAME)
Definition: NSWTPRDO_v1.h:11
xAOD::NSWTPRDO_v1
Definition: NSWTPRDO_v1.h:22
xAOD::NSWTPRDO_v1::~NSWTPRDO_v1
virtual ~NSWTPRDO_v1()=default
Virtual destructor.
SG_BASE
SG_BASE(xAOD::NSWTPRDO_v1, SG::AuxElement)
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
AuxElement.h
Base class for elements of a container that can have aux data.