src
DataFormats
FEDRawData
interface
FEDRawDataCollection.h
Go to the documentation of this file.
1
#ifndef FEDRawData_FEDRawDataCollection_h
2
#define FEDRawData_FEDRawDataCollection_h
3
12
#include <
DataFormats/FEDRawData/interface/FEDRawData.h
>
13
#include "
DataFormats/Common/interface/traits.h
"
14
#include "
FWCore/Utilities/interface/GCCPrerequisite.h
"
15
16
#include <vector>
17
18
class
FEDRawDataCollection
:
public
edm::DoNotRecordParents
{
19
public
:
20
FEDRawDataCollection
();
21
22
virtual
~FEDRawDataCollection
();
23
25
const
FEDRawData
&
FEDData
(
int
fedid
)
const
;
26
28
FEDRawData
&
FEDData
(
int
fedid
);
29
30
FEDRawDataCollection
(
const
FEDRawDataCollection
&);
31
32
FEDRawDataCollection
&
operator=
(
const
FEDRawDataCollection
&) =
default
;
33
34
void
swap
(
FEDRawDataCollection
&
other
) {
data_
.swap(
other
.data_); }
35
36
private
:
37
std::vector<FEDRawData>
data_
;
38
};
39
40
inline
void
swap
(
FEDRawDataCollection
&
a
,
FEDRawDataCollection
&
b
) {
a
.swap(
b
); }
41
42
#endif
swap
void swap(FEDRawDataCollection &a, FEDRawDataCollection &b)
Definition:
FEDRawDataCollection.h:40
FEDRawDataCollection::operator=
FEDRawDataCollection & operator=(const FEDRawDataCollection &)=default
FEDRawDataCollection::~FEDRawDataCollection
virtual ~FEDRawDataCollection()
Definition:
FEDRawDataCollection.cc:17
traits.h
FEDRawDataCollection::swap
void swap(FEDRawDataCollection &other)
Definition:
FEDRawDataCollection.h:34
FEDRawData
Definition:
FEDRawData.h:19
trackingPlots.other
other
Definition:
trackingPlots.py:1467
FEDRawDataCollection::data_
std::vector< FEDRawData > data_
the raw data
Definition:
FEDRawDataCollection.h:37
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition:
FEDRawDataCollection.cc:19
PixelSLinkDataInputSource_cfi.fedid
fedid
Definition:
PixelSLinkDataInputSource_cfi.py:6
FEDRawDataCollection::FEDRawDataCollection
FEDRawDataCollection()
Definition:
FEDRawDataCollection.cc:14
b
double b
Definition:
hdecay.h:120
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:18
FEDRawData.h
a
double a
Definition:
hdecay.h:121
edm::DoNotRecordParents
Definition:
traits.h:95
GCCPrerequisite.h
Generated for CMSSW Reference Manual by
1.8.14