CMS 3D CMS Logo

SDSRawDataCollection.h
Go to the documentation of this file.
1 #ifndef L1ScoutingRawData_SDSRawDataCollection_h
2 #define L1ScoutingRawData_SDSRawDataCollection_h
3 
6 
15 public:
18  SDSRawDataCollection(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
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
const FEDRawData & FEDData(int sourceId) const
void swap(SDSRawDataCollection &other)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
void swap(SDSRawDataCollection &a, SDSRawDataCollection &b)
std::vector< FEDRawData > data_
SDSRawDataCollection & operator=(const SDSRawDataCollection &)=default