CMS 3D CMS Logo

FEDRawDataCollection.h
Go to the documentation of this file.
1 #ifndef FEDRawData_FEDRawDataCollection_h
2 #define FEDRawData_FEDRawDataCollection_h
3 
15 
16 #include <vector>
17 
19 public:
21 
22  virtual ~FEDRawDataCollection();
23 
25  const FEDRawData& FEDData(int fedid) const;
26 
28  FEDRawData& FEDData(int fedid);
29 
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
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
FEDRawDataCollection::~FEDRawDataCollection
virtual ~FEDRawDataCollection()
Definition: FEDRawDataCollection.cc:17
FEDRawData.h
GCCPrerequisite.h
FEDRawData
Definition: FEDRawData.h:19
swap
void swap(FEDRawDataCollection &a, FEDRawDataCollection &b)
Definition: FEDRawDataCollection.h:38
FEDRawDataCollection::swap
void swap(FEDRawDataCollection &other)
Definition: FEDRawDataCollection.h:32
trackingPlots.other
other
Definition: trackingPlots.py:1467
b
double b
Definition: hdecay.h:118
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
FEDRawDataCollection::data_
std::vector< FEDRawData > data_
the raw data
Definition: FEDRawDataCollection.h:35
a
double a
Definition: hdecay.h:119
PixelSLinkDataInputSource_cfi.fedid
fedid
Definition: PixelSLinkDataInputSource_cfi.py:6
edm::DoNotRecordParents
Definition: traits.h:95
traits.h
FEDRawDataCollection::FEDRawDataCollection
FEDRawDataCollection()
Definition: FEDRawDataCollection.cc:14