ATLAS Offline Software
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 
11 #include "AthenaKernel/CLASS_DEF.h"
13 
14 namespace Muon
15 {
17  {
19  public:
20  //NSW_MMTP_RawDataCollection(IdentifierHash hash) : m_idHash(hash) {}
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;
45 
48 
49  };
50 }
51 
52 #endif
Muon::NSW_MMTP_RawDataHit
Definition: NSW_MMTP_RawDataHit.h:13
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
Muon::NSW_MMTP_RawDataCollection::L1Arequest
uint16_t L1Arequest() const
Definition: NSW_MMTP_RawDataCollection.h:27
Muon::NSW_MMTP_RawDataCollection::m_BCID
uint16_t m_BCID
Definition: NSW_MMTP_RawDataCollection.h:41
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Muon::NSW_MMTP_RawDataCollection::m_sourceID
uint32_t m_sourceID
Definition: NSW_MMTP_RawDataCollection.h:39
Muon::NSW_MMTP_RawDataCollection::BCID
uint16_t BCID() const
Definition: NSW_MMTP_RawDataCollection.h:26
Muon::NSW_MMTP_RawDataCollection::m_L1Aopen
uint16_t m_L1Aopen
Definition: NSW_MMTP_RawDataCollection.h:43
Muon::NSW_MMTP_RawDataCollection::sourceID
uint32_t sourceID() const
Definition: NSW_MMTP_RawDataCollection.h:24
Muon::NSW_MMTP_RawDataCollection::NSW_MMTP_RawDataContainerCnv_p1
friend class NSW_MMTP_RawDataContainerCnv_p1
Definition: NSW_MMTP_RawDataCollection.h:18
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
Muon::NSW_MMTP_RawDataCollection::m_segments
DataVector< NSW_MMTP_RawDataSegment > m_segments
Definition: NSW_MMTP_RawDataCollection.h:47
Muon::NSW_MMTP_RawDataCollection::m_L1Arequest
uint16_t m_L1Arequest
Definition: NSW_MMTP_RawDataCollection.h:42
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
Muon::NSW_MMTP_RawDataCollection::L1Aclose
uint16_t L1Aclose() const
Definition: NSW_MMTP_RawDataCollection.h:29
Muon::NSW_MMTP_RawDataCollection::hits
const DataVector< NSW_MMTP_RawDataHit > & hits() const
Definition: NSW_MMTP_RawDataCollection.h:31
Muon::NSW_MMTP_RawDataCollection
Definition: NSW_MMTP_RawDataCollection.h:17
Muon::NSW_MMTP_RawDataCollection::NSW_MMTP_RawDataCollection
NSW_MMTP_RawDataCollection(uint32_t sourceID, uint32_t L1ID, uint16_t BCID, uint16_t L1Arequest, uint16_t L1Aopen, uint16_t L1Aclose)
Definition: NSW_MMTP_RawDataCollection.cxx:7
Muon::NSW_MMTP_RawDataCollection::m_hits
DataVector< NSW_MMTP_RawDataHit > m_hits
Definition: NSW_MMTP_RawDataCollection.h:46
Muon::NSW_MMTP_RawDataCollection::L1ID
uint32_t L1ID() const
Definition: NSW_MMTP_RawDataCollection.h:25
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Muon::NSW_MMTP_RawDataCollection::addSegment
void addSegment(uint16_t trig_BCID, uint8_t trig_dTheta, uint8_t trig_rBin, uint8_t trig_phiBin)
Definition: NSW_MMTP_RawDataCollection.h:35
NSW_MMTP_RawDataHit.h
Muon::NSW_MMTP_RawDataCollection::m_L1Aclose
uint16_t m_L1Aclose
Definition: NSW_MMTP_RawDataCollection.h:44
IdentifierHash.h
Muon::NSW_MMTP_RawDataCollection::segments
const DataVector< NSW_MMTP_RawDataSegment > & segments() const
Definition: NSW_MMTP_RawDataCollection.h:32
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Muon::NSW_MMTP_RawDataCollection::L1Aopen
uint16_t L1Aopen() const
Definition: NSW_MMTP_RawDataCollection.h:28
Muon::NSW_MMTP_RawDataCollection::addHit
void addHit(uint16_t art_BCID, uint8_t art_layer, uint16_t art_channel)
Definition: NSW_MMTP_RawDataCollection.h:34
CLASS_DEF.h
macros to associate a CLID to a type
NSW_MMTP_RawDataSegment.h
Muon::NSW_MMTP_RawDataSegment
Definition: NSW_MMTP_RawDataSegment.h:13
Muon::NSW_MMTP_RawDataCollection::m_L1ID
uint32_t m_L1ID
Definition: NSW_MMTP_RawDataCollection.h:40