ATLAS Offline Software
Loading...
Searching...
No Matches
NSW_MMTP_RawDataCollection.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 MUONRDO_NSW_MMTP_RAWDATACOLLECTION_H
6#define MUONRDO_NSW_MMTP_RAWDATACOLLECTION_H
7
13
14namespace Muon
15{
17 {
19 public:
20 //NSW_MMTP_RawDataCollection(IdentifierHash hash) : m_idHash(hash) {}
21 NSW_MMTP_RawDataCollection(uint32_t sourceID, uint32_t L1ID, uint16_t BCID, uint16_t L1Arequest, uint16_t L1Aopen, uint16_t L1Aclose);
22 //const IdentifierHash& identifierHash() const { return m_idHash; }
23
24 uint32_t sourceID () const {return m_sourceID;};
25 uint32_t L1ID () const {return m_L1ID;};
26 uint16_t BCID () const {return m_BCID;};
27 uint16_t L1Arequest () const {return m_L1Arequest;};
28 uint16_t L1Aopen () const {return m_L1Aopen;};
29 uint16_t L1Aclose () const {return m_L1Aclose;};
30
31 const DataVector<NSW_MMTP_RawDataHit>& hits () const { return m_hits; }
33
34 void addHit (uint16_t art_BCID, uint8_t art_layer, uint16_t art_channel) {m_hits.push_back(new NSW_MMTP_RawDataHit(art_BCID, art_layer, art_channel));}
35 void addSegment (uint16_t trig_BCID, uint8_t trig_dTheta, uint8_t trig_rBin, uint8_t trig_phiBin) {m_segments.push_back(new NSW_MMTP_RawDataSegment(trig_BCID, trig_dTheta, trig_rBin, trig_phiBin));}
36
37 private:
38 //IdentifierHash m_idHash;
39 uint32_t m_sourceID{0};
40 uint32_t m_L1ID{0};
41 uint16_t m_BCID{0};
42 uint16_t m_L1Arequest{0};
43 uint16_t m_L1Aopen{0};
44 uint16_t m_L1Aclose{0};
45
48
49 };
50}
51
52#endif
macros to associate a CLID to a type
An STL vector of pointers that by default owns its pointed-to elements.
Derived DataVector<T>.
Definition DataVector.h:795
DataVector< NSW_MMTP_RawDataSegment > m_segments
void addHit(uint16_t art_BCID, uint8_t art_layer, uint16_t art_channel)
const DataVector< NSW_MMTP_RawDataHit > & hits() const
const DataVector< NSW_MMTP_RawDataSegment > & segments() const
void addSegment(uint16_t trig_BCID, uint8_t trig_dTheta, uint8_t trig_rBin, uint8_t trig_phiBin)
DataVector< NSW_MMTP_RawDataHit > m_hits
NSW_MMTP_RawDataCollection(uint32_t sourceID, uint32_t L1ID, uint16_t BCID, uint16_t L1Arequest, uint16_t L1Aopen, uint16_t L1Aclose)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.