ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
AFP_RawEv
AFP_RawEv
AFP_RawCollection.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_RAWCOLLECTION_H
6
#define AFP_RAWCOLLECTION_H
7
8
#include "
AFP_RawEv/AFP_RawCollectionHead.h
"
9
#include <list>
10
12
template
<
typename
RAWDATA_T>
13
class
AFP_RawCollection
:
public
AFP_RawCollectionHead
14
{
15
public
:
17
const
std::list<RAWDATA_T>&
dataRecords
()
const
{
return
m_dataRecords
;}
18
20
typename
std::list<RAWDATA_T>::iterator
begin
() {
return
m_dataRecords
.begin();}
21
typename
std::list<RAWDATA_T>::iterator
end
() {
return
m_dataRecords
.end();}
22
24
RAWDATA_T&
newDataRecord
() {
m_dataRecords
.emplace_back();
return
m_dataRecords
.back();}
25
26
private
:
28
std::list<RAWDATA_T>
m_dataRecords
;
29
};
30
31
#endif
AFP_RawCollectionHead.h
AFP_RawCollectionHead
Class represnting header record in bytestream.
Definition
AFP_RawCollectionHead.h:15
AFP_RawCollection
Class representing collection of silicon detector data.
Definition
AFP_RawCollection.h:14
AFP_RawCollection::begin
std::list< RAWDATA_T >::iterator begin()
Returns iterators to the beginning and end of the list.
Definition
AFP_RawCollection.h:20
AFP_RawCollection::dataRecords
const std::list< RAWDATA_T > & dataRecords() const
Definition
AFP_RawCollection.h:17
AFP_RawCollection::newDataRecord
RAWDATA_T & newDataRecord()
Creates a new empty data record in the collection and returns reference to it.
Definition
AFP_RawCollection.h:24
AFP_RawCollection::end
std::list< RAWDATA_T >::iterator end()
Definition
AFP_RawCollection.h:21
AFP_RawCollection< AFP_SiRawData >::m_dataRecords
std::list< AFP_SiRawData > m_dataRecords
Definition
AFP_RawCollection.h:28
Generated on
for ATLAS Offline Software by
1.17.0