ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_RawContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AFP_RAWCONTAINER_H
6#define AFP_RAWCONTAINER_H
7
11#include <list>
12
14{
15public:
16 uint32_t timeStamp () const {return m_timeStamp;}
17 void setTimeStamp (const uint32_t timeStamp) {m_timeStamp = timeStamp;}
18
19 uint16_t bcId () const {return m_bcId;}
20 void setBCId (const uint32_t bcId) {m_bcId = bcId;}
21
22 uint32_t timeStampNS () const {return m_timeStampNS;}
24
25 uint32_t lumiBlock () const {return m_lumiBlock;}
26 void setLumiBlock (const uint32_t lumiBlock) {m_lumiBlock = lumiBlock;}
27
28 uint32_t lvl1Id () const {return m_lvl1Id;}
29 void setLvl1Id (const uint32_t lvl1ID) {m_lvl1Id = lvl1ID;}
30
31 const std::list<AFP_SiRawCollection>& collectionsSi () const {return m_collectionSi;}
33
34 const std::list<AFP_ToFRawCollection>& collectionsToF () const {return m_collectionToF;}
36
37 void clear ();
38
39private:
40 uint32_t m_lvl1Id{};
41 uint16_t m_bcId{};
42 uint32_t m_timeStamp{};
43 uint32_t m_timeStampNS{};
44 uint32_t m_lumiBlock{};
45
46 std::list<AFP_SiRawCollection> m_collectionSi;
47 std::list<AFP_ToFRawCollection> m_collectionToF;
48};
49
50
51CLASS_DEF(AFP_RawContainer, 1212355773, 1)
52
53
54
55#endif
AFP_RawCollection< AFP_SiRawData > AFP_SiRawCollection
Class representing collection of silicon detector data.
AFP_RawCollection< AFP_ToFRawData > AFP_ToFRawCollection
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
uint16_t bcId() const
uint32_t timeStampNS() const
AFP_ToFRawCollection & newCollectionToF()
void setLvl1Id(const uint32_t lvl1ID)
uint32_t timeStamp() const
void setTimeStamp(const uint32_t timeStamp)
std::list< AFP_ToFRawCollection > m_collectionToF
void setTimeStampNS(const uint32_t timeStampNS)
void setBCId(const uint32_t bcId)
const std::list< AFP_ToFRawCollection > & collectionsToF() const
uint32_t lvl1Id() const
uint32_t lumiBlock() const
std::list< AFP_SiRawCollection > m_collectionSi
void setLumiBlock(const uint32_t lumiBlock)
AFP_SiRawCollection & newCollectionSi()
const std::list< AFP_SiRawCollection > & collectionsSi() const