src
DataFormats
L1ScoutingRawData
interface
SDSRawDataCollection.h
Go to the documentation of this file.
1
#ifndef L1ScoutingRawData_SDSRawDataCollection_h
2
#define L1ScoutingRawData_SDSRawDataCollection_h
3
4
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
5
#include "
DataFormats/Common/interface/traits.h
"
6
14
class
SDSRawDataCollection
:
public
edm::DoNotRecordParents
{
15
public
:
16
SDSRawDataCollection
();
17
SDSRawDataCollection
(
const
SDSRawDataCollection
&) =
default
;
18
SDSRawDataCollection
(
SDSRawDataCollection
&&) noexcept =
default
;
19
SDSRawDataCollection
&
operator=
(
const
SDSRawDataCollection
&) =
default
;
20
SDSRawDataCollection
&
operator=
(
SDSRawDataCollection
&&) noexcept =
default
;
21
22
// retrive data for the scouting source at sourceId
23
const
FEDRawData
&
FEDData
(
int
sourceId
)
const
;
24
25
// retrive data for the scouting source at sourceId
26
FEDRawData
&
FEDData
(
int
sourceId
);
27
28
void
swap
(
SDSRawDataCollection
&
other
) {
data_
.swap(
other
.data_); }
29
30
private
:
31
std::vector<FEDRawData>
data_
;
// vector of raw data
32
};
33
34
inline
void
swap
(
SDSRawDataCollection
&
a
,
SDSRawDataCollection
&
b
) {
a
.swap(
b
); }
35
36
#endif // L1ScoutingRawData_SDSRawDataCollection_h
SDSRawDataCollection::FEDData
const FEDRawData & FEDData(int sourceId) const
Definition:
SDSRawDataCollection.cc:6
traits.h
FEDRawData
Definition:
FEDRawData.h:19
trackingPlots.other
other
Definition:
trackingPlots.py:1467
objects.autophobj.sourceId
sourceId
Definition:
autophobj.py:239
SDSRawDataCollection
Definition:
SDSRawDataCollection.h:14
SDSRawDataCollection::swap
void swap(SDSRawDataCollection &other)
Definition:
SDSRawDataCollection.h:28
b
double b
Definition:
hdecay.h:120
FEDRawData.h
a
double a
Definition:
hdecay.h:121
swap
void swap(SDSRawDataCollection &a, SDSRawDataCollection &b)
Definition:
SDSRawDataCollection.h:34
SDSRawDataCollection::data_
std::vector< FEDRawData > data_
Definition:
SDSRawDataCollection.h:31
SDSRawDataCollection::SDSRawDataCollection
SDSRawDataCollection()
Definition:
SDSRawDataCollection.cc:4
edm::DoNotRecordParents
Definition:
traits.h:95
SDSRawDataCollection::operator=
SDSRawDataCollection & operator=(const SDSRawDataCollection &)=default
Generated for CMSSW Reference Manual by
1.8.14