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
void
swap
(
FEDRawDataCollection
&
other
) {
data_
.swap(
other
.data_); }
33
34
private
:
35
std::vector<FEDRawData>
data_
;
36
};
37
38
inline
void
swap
(
FEDRawDataCollection
&
a
,
FEDRawDataCollection
&
b
) {
a
.swap(
b
); }
39
40
#endif
swap
void swap(FEDRawDataCollection &a, FEDRawDataCollection &b)
Definition:
FEDRawDataCollection.h:38
FEDRawDataCollection::~FEDRawDataCollection
virtual ~FEDRawDataCollection()
Definition:
FEDRawDataCollection.cc:17
traits.h
FEDRawDataCollection::swap
void swap(FEDRawDataCollection &other)
Definition:
FEDRawDataCollection.h:32
FEDRawData
Definition:
FEDRawData.h:19
trackingPlots.other
other
Definition:
trackingPlots.py:1464
FEDRawDataCollection::data_
std::vector< FEDRawData > data_
the raw data
Definition:
FEDRawDataCollection.h:35
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:118
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:18
FEDRawData.h
a
double a
Definition:
hdecay.h:119
edm::DoNotRecordParents
Definition:
traits.h:95
GCCPrerequisite.h
Generated for CMSSW Reference Manual by
1.8.14