CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

edm::DetSet< T > Struct Template Reference

#include <DetSet.h>

List of all members.

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 (det_id_type i)
 constructor by detector identifier
 DetSet ()
 default constructor
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

Public Attributes

collection_type data
det_id_type id

Detailed Description

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

Definition at line 25 of file DetSet.h.


Member Typedef Documentation

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

Definition at line 27 of file DetSet.h.

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

Definition at line 34 of file DetSet.h.

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

Definition at line 32 of file DetSet.h.

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

Definition at line 33 of file DetSet.h.

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

Definition at line 31 of file DetSet.h.

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

Definition at line 35 of file DetSet.h.

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

Definition at line 30 of file DetSet.h.


Constructor & Destructor Documentation

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

default constructor

Definition at line 38 of file DetSet.h.

: id(0), data() { }
template<class T>
edm::DetSet< T >::DetSet ( det_id_type  i) [inline, explicit]

constructor by detector identifier

Definition at line 40 of file DetSet.h.

: id(i), data() { }

Member Function Documentation

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

Definition at line 62 of file DetSet.h.

{ return data.begin(); }
template<class T>
void edm::DetSet< T >::clear ( void  ) [inline]
template<class T>
det_id_type edm::DetSet< T >::detId ( ) const [inline]
template<class T>
bool edm::DetSet< T >::empty ( ) const [inline]

Definition at line 65 of file DetSet.h.

{ return data.empty(); }
template<class T>
const_iterator edm::DetSet< T >::end ( void  ) const [inline]

Definition at line 63 of file DetSet.h.

{ return data.end(); }
template<class T>
iterator edm::DetSet< T >::end ( void  ) [inline]
template<class T>
const_reference edm::DetSet< T >::operator[] ( size_type  i) const [inline]

Definition at line 67 of file DetSet.h.

{ return data[ i ]; }
template<class T>
reference edm::DetSet< T >::operator[] ( size_type  i) [inline]

Definition at line 66 of file DetSet.h.

{ return data[ i ]; }
template<class T>
void edm::DetSet< T >::push_back ( const T t) [inline]
template<class T>
void edm::DetSet< T >::reserve ( size_t  s) [inline]

Definition at line 68 of file DetSet.h.

{ data.reserve(s); }
template<class T>
size_type edm::DetSet< T >::size ( void  ) const [inline]
template<class T>
void edm::DetSet< T >::swap ( DetSet< T > &  other) [inline]

Definition at line 112 of file DetSet.h.

References edm::DetSet< T >::data.

Referenced by edm::swap().

                                            {
    data.swap(other.data);
    std::swap(id, other.id);
  }

Member Data Documentation

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

Definition at line 79 of file DetSet.h.

Referenced by SiPixelOfflineCalibAnalysisBase::analyze(), SiStripMonitorDigi::analyze(), TrackerHitAssociator::associatePixelRecHit(), TrackerHitAssociator::associateSimpleRecHitCluster(), edm::DetSet< StripDigiSimLink >::begin(), FWSiStripDigiProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), edm::DetSet< StripDigiSimLink >::clear(), SiStripProcessedRawDigiProducer::common_process(), sistrip::DigiToRaw::createFedBuffers_(), SiStripDigitizerAlgorithm::digitize(), edm::DetSet< StripDigiSimLink >::empty(), edm::DetSet< StripDigiSimLink >::end(), ApvTimingTask::fill(), DaqScopeModeTask::fill(), OptoScanTask::fill(), FedTimingTask::fill(), LatencyTask::fill(), PedsFullNoiseTask::fill(), CalibrationScanTask::fill(), FineDelayTask::fill(), CalibrationTask::fill(), PedestalsTask::fill(), FastFedCablingTask::fill(), VpspScanTask::fill(), ClusterTPAssociationProducer::getSimTrackId(), TT6PedestalCalculator::initializePedestal(), SimplePedestalCalculator::initializePedestal(), OptoScanTask::locateTicks(), SiStripSpyDisplayModule::MakeDigiHist_(), SiStripSpyDisplayModule::MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule::MakeRawDigiHist_(), edm::dslv::LazyAdapter< T >::operator()(), edm::DetSet< StripDigiSimLink >::operator[](), SiStripClusterToDigiProducer::process(), SiClusterTranslator::produce(), SiPixelCalibDigiProducer::produce(), SiPixelRawToDigi::produce(), edm::DetSet< StripDigiSimLink >::push_back(), TT6PedestalCalculator::refinePedestal(), SimplePedestalCalculator::refinePedestal(), edm::DetSet< StripDigiSimLink >::reserve(), SiStripApvShotCleaner::reset(), DigiSimLinkAlgorithm::run(), edm::DetSet< StripDigiSimLink >::size(), TrackClusterSplitter::splitCluster(), SiStripFedZeroSuppression::suppress(), edm::DetSet< T >::swap(), ApvAnalysisFactory::update(), ApvAnalysis::updateCalibration(), and ApvAnalysisFactory::updatePair().

template<class T>
det_id_type edm::DetSet< T >::id