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)
 
 SDSRawDataCollection ()
 
 SDSRawDataCollection (const SDSRawDataCollection &)
 
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/2]

SDSRawDataCollection::SDSRawDataCollection ( )

Definition at line 4 of file SDSRawDataCollection.cc.

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

◆ SDSRawDataCollection() [2/2]

SDSRawDataCollection::SDSRawDataCollection ( const SDSRawDataCollection in)

Definition at line 6 of file SDSRawDataCollection.cc.

6 : data_(in.data_) {}
std::vector< FEDRawData > data_

Member Function Documentation

◆ FEDData() [1/2]

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

Definition at line 8 of file SDSRawDataCollection.cc.

References data_, and objects.autophobj::sourceId.

Referenced by ScCaloRawToDigi::produce(), and ScGMTRawToDigi::produce().

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

◆ FEDData() [2/2]

FEDRawData & SDSRawDataCollection::FEDData ( int  sourceId)

Definition at line 10 of file SDSRawDataCollection.cc.

References data_, and objects.autophobj::sourceId.

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

◆ swap()

void SDSRawDataCollection::swap ( SDSRawDataCollection other)
inline

Definition at line 26 of file SDSRawDataCollection.h.

References data_, and trackingPlots::other.

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

Member Data Documentation

◆ data_

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

Definition at line 29 of file SDSRawDataCollection.h.

Referenced by FEDData(), and swap().