ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_RawContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AFP_RAWCONTAINER_H
6#define AFP_RAWCONTAINER_H
7
11
13{
14public:
15 uint32_t timeStamp () const {return m_timeStamp;}
16 void setTimeStamp (const uint32_t timeStamp) {m_timeStamp = timeStamp;}
17
18 uint16_t bcId () const {return m_bcId;}
19 void setBCId (const uint32_t bcId) {m_bcId = bcId;}
20
21 uint32_t timeStampNS () const {return m_timeStampNS;}
23
24 uint32_t lumiBlock () const {return m_lumiBlock;}
25 void setLumiBlock (const uint32_t lumiBlock) {m_lumiBlock = lumiBlock;}
26
27 uint32_t lvl1Id () const {return m_lvl1Id;}
28 void setLvl1Id (const uint32_t lvl1ID) {m_lvl1Id = lvl1ID;}
29
30 const std::list<AFP_SiRawCollection>& collectionsSi () const {return m_collectionSi;}
32
33 const std::list<AFP_ToFRawCollection>& collectionsToF () const {return m_collectionToF;}
35
36 void clear ();
37
38private:
39 uint32_t m_lvl1Id;
40 uint16_t m_bcId;
41 uint32_t m_timeStamp;
42 uint32_t m_timeStampNS;
43 uint32_t m_lumiBlock;
44
45 std::list<AFP_SiRawCollection> m_collectionSi;
46 std::list<AFP_ToFRawCollection> m_collectionToF;
47};
48
49
50CLASS_DEF(AFP_RawContainer, 1212355773, 1)
51
52
53
54#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