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
void swap(FEDRawDataCollection &a, FEDRawDataCollection &b)
void swap(FEDRawDataCollection &other)
std::vector< FEDRawData > data_
the raw data
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119