CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SDSRawDataCollection Class Reference

#include <SDSRawDataCollection.h>

Inheritance diagram for SDSRawDataCollection:
edm::DoNotRecordParents

Public Member Functions

const FEDRawDataFEDData (int sourceId) const
 
FEDRawDataFEDData (int sourceId)
 
SDSRawDataCollectionoperator= (const SDSRawDataCollection &)=default
 
SDSRawDataCollectionoperator= (SDSRawDataCollection &&) noexcept=default
 
 SDSRawDataCollection ()
 
 SDSRawDataCollection (const SDSRawDataCollection &)=default
 
 SDSRawDataCollection (SDSRawDataCollection &&) noexcept=default
 
void swap (SDSRawDataCollection &other)
 

Private Attributes

std::vector< FEDRawDatadata_
 

Detailed Description

This collection holds the raw data for all the scouting data sources. It is a collection of FEDRawData

Definition at line 14 of file SDSRawDataCollection.h.

Constructor & Destructor Documentation

◆ SDSRawDataCollection() [1/3]

SDSRawDataCollection::SDSRawDataCollection ( )

Definition at line 4 of file SDSRawDataCollection.cc.

static constexpr int lastSDSId()
Definition: SDSNumbering.h:13
std::vector< FEDRawData > data_

◆ SDSRawDataCollection() [2/3]

SDSRawDataCollection::SDSRawDataCollection ( const SDSRawDataCollection )
default

◆ SDSRawDataCollection() [3/3]

SDSRawDataCollection::SDSRawDataCollection ( SDSRawDataCollection &&  )
defaultnoexcept

Member Function Documentation

◆ FEDData() [1/2]

const FEDRawData & SDSRawDataCollection::FEDData ( int  sourceId) const

◆ FEDData() [2/2]

FEDRawData & SDSRawDataCollection::FEDData ( int  sourceId)

Definition at line 8 of file SDSRawDataCollection.cc.

References data_, and objects.autophobj::sourceId.

8 { return data_[sourceId]; }
std::vector< FEDRawData > data_

◆ operator=() [1/2]

SDSRawDataCollection& SDSRawDataCollection::operator= ( const SDSRawDataCollection )
default

◆ operator=() [2/2]

SDSRawDataCollection& SDSRawDataCollection::operator= ( SDSRawDataCollection &&  )
defaultnoexcept

◆ swap()

void SDSRawDataCollection::swap ( SDSRawDataCollection other)
inline

Definition at line 28 of file SDSRawDataCollection.h.

References data_, and trackingPlots::other.

28 { data_.swap(other.data_); }
std::vector< FEDRawData > data_

Member Data Documentation

◆ data_

std::vector<FEDRawData> SDSRawDataCollection::data_
private

Definition at line 31 of file SDSRawDataCollection.h.

Referenced by FEDData(), and swap().