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 
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
void swap(FEDRawDataCollection &a, FEDRawDataCollection &b)
FEDRawDataCollection & operator=(const FEDRawDataCollection &)=default
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:120
double a
Definition: hdecay.h:121