CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
edm::DetSet< T > Struct Template Reference

#include <DetSet.h>

Public Types

typedef std::vector< Tcollection_type
 
typedef collection_type::const_iterator const_iterator
 
typedef collection_type::const_reference const_reference
 
typedef collection_type::iterator iterator
 
typedef collection_type::reference reference
 
typedef collection_type::size_type size_type
 
typedef collection_type::value_type value_type
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
det_id_type detId () const
 
 DetSet ()
 default constructor More...
 
 DetSet (det_id_type i)
 constructor by detector identifier More...
 
template<class... Args>
decltype(auto) emplace_back (Args &&... args)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
reference operator[] (size_type i)
 
const_reference operator[] (size_type i) const
 
void push_back (const T &t)
 
void reserve (size_t s)
 
size_type size () const
 
void swap (DetSet< T > &other) noexcept
 

Static Public Member Functions

static short Class_Version ()
 

Public Attributes

collection_type data
 
det_id_type id
 

Detailed Description

template<class T>
struct edm::DetSet< T >

Definition at line 23 of file DetSet.h.

Member Typedef Documentation

◆ collection_type

template<class T>
typedef std::vector<T> edm::DetSet< T >::collection_type

Definition at line 24 of file DetSet.h.

◆ const_iterator

template<class T>
typedef collection_type::const_iterator edm::DetSet< T >::const_iterator

Definition at line 31 of file DetSet.h.

◆ const_reference

template<class T>
typedef collection_type::const_reference edm::DetSet< T >::const_reference

Definition at line 29 of file DetSet.h.

◆ iterator

template<class T>
typedef collection_type::iterator edm::DetSet< T >::iterator

Definition at line 30 of file DetSet.h.

◆ reference

template<class T>
typedef collection_type::reference edm::DetSet< T >::reference

Definition at line 28 of file DetSet.h.

◆ size_type

template<class T>
typedef collection_type::size_type edm::DetSet< T >::size_type

Definition at line 32 of file DetSet.h.

◆ value_type

template<class T>
typedef collection_type::value_type edm::DetSet< T >::value_type

Definition at line 27 of file DetSet.h.

Constructor & Destructor Documentation

◆ DetSet() [1/2]

template<class T>
edm::DetSet< T >::DetSet ( )
inline

default constructor

Definition at line 35 of file DetSet.h.

35 : id(0), data() {}

◆ DetSet() [2/2]

template<class T>
edm::DetSet< T >::DetSet ( det_id_type  i)
inlineexplicit

constructor by detector identifier

Definition at line 37 of file DetSet.h.

37 : id(i), data() {}

Member Function Documentation

◆ begin() [1/2]

template<class T>
iterator edm::DetSet< T >::begin ( void  )
inline

◆ begin() [2/2]

template<class T>
const_iterator edm::DetSet< T >::begin ( void  ) const
inline

Definition at line 59 of file DetSet.h.

59 { return data.begin(); }

◆ Class_Version()

template<class T>
static short edm::DetSet< T >::Class_Version ( )
inlinestatic

Definition at line 77 of file DetSet.h.

89 {

◆ clear()

template<class T>
void edm::DetSet< T >::clear ( void  )
inline

◆ detId()

template<class T>
det_id_type edm::DetSet< T >::detId ( ) const
inline

◆ emplace_back()

template<class T>
template<class... Args>
decltype(auto) edm::DetSet< T >::emplace_back ( Args &&...  args)
inline

Definition at line 68 of file DetSet.h.

68  {
69  return data.emplace_back(std::forward<Args>(args)...);
70  }

Referenced by CTPPSDiamondRecHitProducerAlgorithm::build(), SiStripDigitizerAlgorithm::digitize(), and RawToDigiConverter::run().

◆ empty()

template<class T>
bool edm::DetSet< T >::empty ( ) const
inline

◆ end() [1/2]

template<class T>
iterator edm::DetSet< T >::end ( void  )
inline

◆ end() [2/2]

template<class T>
const_iterator edm::DetSet< T >::end ( void  ) const
inline

Definition at line 60 of file DetSet.h.

60 { return data.end(); }

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

◆ operator[]() [1/2]

template<class T>
reference edm::DetSet< T >::operator[] ( size_type  i)
inline

Definition at line 63 of file DetSet.h.

63 { return data[i]; }

◆ operator[]() [2/2]

template<class T>
const_reference edm::DetSet< T >::operator[] ( size_type  i) const
inline

Definition at line 64 of file DetSet.h.

64 { return data[i]; }

◆ push_back()

template<class T>
void edm::DetSet< T >::push_back ( const T t)
inline

◆ reserve()

template<class T>
void edm::DetSet< T >::reserve ( size_t  s)
inline

◆ size()

template<class T>
size_type edm::DetSet< T >::size ( void  ) const
inline

◆ swap()

template<class T>
void edm::DetSet< T >::swap ( DetSet< T > &  other)
inlinenoexcept

Definition at line 104 of file DetSet.h.

104  {
105  data.swap(other.data);
106  std::swap(id, other.id);
107  }

Member Data Documentation

◆ data

template<class T>
collection_type edm::DetSet< T >::data

Definition at line 80 of file DetSet.h.

Referenced by data_sources.node::__str__(), confdb.HLTProcess::_fix_parameter(), confdb.HLTProcess::addEras(), confdb.HLTProcess::addGlobalOptions(), cms::Phase2TrackerDigitizer::addOuterTrackerCollection(), cms::Phase2TrackerDigitizer::addPixelCollection(), SiStripMonitorDigi::analyze(), confdb.HLTProcess::append_filenames(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), edm::DetSet< StripDigiSimLink >::begin(), FWSiStripDigiProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), confdb.HLTProcess::build_source(), edm::DetSet< StripDigiSimLink >::clear(), SiStripProcessedRawDigiProducer::common_process(), RPDigiProducer::convertRPStripDetSet(), sistrip::DigiToRaw::createFedBuffers_(), confdb.HLTProcess::customize(), SiStripDigitizerAlgorithm::digitize(), confdb.HLTProcess::dump(), edm::DetSet< StripDigiSimLink >::emplace_back(), edm::DetSet< StripDigiSimLink >::empty(), edm::DetSet< StripDigiSimLink >::end(), FastFedCablingTask::fill(), VpspScanTask::fill(), ApvTimingTask::fill(), FedTimingTask::fill(), OptoScanTask::fill(), PedestalsTask::fill(), FineDelayTask::fill(), LatencyTask::fill(), DaqScopeModeTask::fill(), CalibrationScanTask::fill(), CalibrationTask::fill(), PedsFullNoiseTask::fill(), confdb.HLTProcess::fixPrescales(), data_sources.json_list::get_members(), confdb.HLTProcess::getRawConfigurationFromDB(), ClusterTPAssociationProducer::getSimTrackId(), Phase2TrackerValidateDigi::getSimTrackId(), confdb.HLTProcess::instrumentDQM(), confdb.HLTProcess::instrumentOpenMode(), confdb.HLTProcess::instrumentTiming(), CTPPSPixelDataFormatter::interpretRawData(), PixelDataFormatter::interpretRawData(), data_sources.json_list::last(), confdb.HLTProcess::loadAdditionalConditions(), confdb.HLTProcess::loadCff(), confdb.HLTProcess::loadSetupCff(), OptoScanTask::locateTicks(), SiStripSpyDisplayModule::MakeDigiHist_(), SiStripSpyDisplayModule::MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule::MakeRawDigiHist_(), edm::DetSet< StripDigiSimLink >::operator[](), confdb.HLTProcess::overrideGlobalTag(), confdb.HLTProcess::overrideL1MenuXml(), confdb.HLTProcess::overrideOutput(), confdb.HLTProcess::overrideParameters(), confdb.HLTProcess::overrideProcessName(), SiStripClusterToDigiProducer::process(), TTClusterAssociator< T >::produce(), CTPPSPixelRawToDigi::produce(), SiPixelRawToDigi::produce(), SiPixelCalibDigiProducer::produce(), RPDigiProducer::produce(), CTPPSPixelDigiProducer::produce(), edm::DetSet< StripDigiSimLink >::push_back(), PreMixingSiStripWorker::put(), edm::DetSet< StripDigiSimLink >::reserve(), CTPPSPixelRecHitProducer::run(), TotemRPClusterProducer::run(), DigiSimLinkAlgorithm::run(), CTPPSPixelClusterProducer::run(), confdb.HLTProcess::runL1Emulator(), edm::DetSet< StripDigiSimLink >::size(), confdb.HLTProcess::specificCustomize(), cuy.FindIssue::startElement(), edm::DetSet< StripDigiSimLink >::swap(), ApvAnalysisFactory::update(), edmStreamStallGrapher.Stack::update(), confdb.HLTProcess::updateMessageLogger(), and ApvAnalysisFactory::updatePair().

◆ id

template<class T>
det_id_type edm::DetSet< T >::id
writedatasetfile.args
args
Definition: writedatasetfile.py:18
mps_fire.i
i
Definition: mps_fire.py:428
edm::DetSet::id
det_id_type id
Definition: DetSet.h:79
alignCSCRings.s
s
Definition: alignCSCRings.py:92
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition: DataFrameContainer.h:209
trackingPlots.other
other
Definition: trackingPlots.py:1467
edm::DetSet::data
collection_type data
Definition: DetSet.h:80
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644