CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
edm::DetSet< T > Class 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...
 
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)
 

Public Attributes

collection_type data
 
det_id_type id
 

Detailed Description

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

Definition at line 23 of file DetSet.h.

Member Typedef Documentation

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

Definition at line 25 of file DetSet.h.

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

Definition at line 32 of file DetSet.h.

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

Definition at line 30 of file DetSet.h.

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

Definition at line 31 of file DetSet.h.

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

Definition at line 29 of file DetSet.h.

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

Definition at line 33 of file DetSet.h.

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

Definition at line 28 of file DetSet.h.

Constructor & Destructor Documentation

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

default constructor

Definition at line 36 of file DetSet.h.

36 : id(0), data() { }
collection_type data
Definition: DetSet.h:77
det_id_type id
Definition: DetSet.h:76
template<class T>
edm::DetSet< T >::DetSet ( det_id_type  i)
inlineexplicit

constructor by detector identifier

Definition at line 38 of file DetSet.h.

38 : id(i), data() { }
int i
Definition: DBlmapReader.cc:9
collection_type data
Definition: DetSet.h:77
det_id_type id
Definition: DetSet.h:76

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 60 of file DetSet.h.

60 { return data.begin(); }
collection_type data
Definition: DetSet.h:77
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 63 of file DetSet.h.

Referenced by python.Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and python.Vispa.Gui.VispaWidget.TextField::setAutotruncate().

63 { return data.empty(); }
collection_type data
Definition: DetSet.h:77
template<class T>
iterator edm::DetSet< T >::end ( void  )
inline
template<class T>
const_iterator edm::DetSet< T >::end ( void  ) const
inline

Definition at line 61 of file DetSet.h.

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

61 { return data.end(); }
collection_type data
Definition: DetSet.h:77
template<class T>
reference edm::DetSet< T >::operator[] ( size_type  i)
inline

Definition at line 64 of file DetSet.h.

64 { return data[ i ]; }
int i
Definition: DBlmapReader.cc:9
collection_type data
Definition: DetSet.h:77
template<class T>
const_reference edm::DetSet< T >::operator[] ( size_type  i) const
inline

Definition at line 65 of file DetSet.h.

65 { return data[ i ]; }
int i
Definition: DBlmapReader.cc:9
collection_type data
Definition: DetSet.h:77
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 66 of file DetSet.h.

66 { data.reserve(s); }
collection_type data
Definition: DetSet.h:77
string s
Definition: asciidump.py:422
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 110 of file DetSet.h.

References edm::DetSet< T >::data, edm::DetSet< T >::id, and std::swap().

Referenced by edm::swap().

110  {
111  data.swap(other.data);
112  std::swap(id, other.id);
113  }
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
collection_type data
Definition: DetSet.h:77

Member Data Documentation

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

Definition at line 77 of file DetSet.h.

Referenced by confdb.HLTProcess::_fix_parameter(), confdb.HLTProcess::addGlobalOptions(), SiStripMonitorDigi::analyze(), SiPixelOfflineCalibAnalysisBase::analyze(), TrackerHitAssociator::associatePixelRecHit(), TrackerHitAssociator::associateSimpleRecHitCluster(), edm::DetSet< StripDigiSimLink >::begin(), FWSiStripDigiProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), edm::DetSet< StripDigiSimLink >::clear(), SiStripProcessedRawDigiProducer::common_process(), sistrip::DigiToRaw::createFedBuffers_(), confdb.HLTProcess::customize(), confdb.HLTProcess::dump(), edm::DetSet< StripDigiSimLink >::empty(), edm::DetSet< StripDigiSimLink >::end(), FastFedCablingTask::fill(), VpspScanTask::fill(), ApvTimingTask::fill(), DaqScopeModeTask::fill(), FedTimingTask::fill(), PedestalsTask::fill(), OptoScanTask::fill(), CalibrationScanTask::fill(), CalibrationTask::fill(), FineDelayTask::fill(), LatencyTask::fill(), PedsFullNoiseTask::fill(), confdb.HLTProcess::fixForFastSim(), confdb.HLTProcess::getRawConfigurationFromDB(), TT6PedestalCalculator::initializePedestal(), SimplePedestalCalculator::initializePedestal(), confdb.HLTProcess::instrumentOpenMode(), confdb.HLTProcess::instrumentTiming(), confdb.HLTProcess::loadAdditionalConditions(), OptoScanTask::locateTicks(), SiStripSpyDisplayModule::MakeDigiHist_(), SiStripSpyDisplayModule::MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule::MakeRawDigiHist_(), edm::dslv::LazyAdapter< T >::operator()(), edm::DetSet< StripDigiSimLink >::operator[](), confdb.HLTProcess::overrideGlobalTag(), confdb.HLTProcess::overrideOutput(), confdb.HLTProcess::overrideProcessName(), SiPixelRawToDigi::produce(), SiClusterTranslator::produce(), cms::SiPixelDigitizer::produce(), SiPixelCalibDigiProducer::produce(), edm::DetSet< StripDigiSimLink >::push_back(), TT6PedestalCalculator::refinePedestal(), SimplePedestalCalculator::refinePedestal(), edm::DetSet< StripDigiSimLink >::reserve(), SiStripDigitizerAlgorithm::run(), edm::DetSet< StripDigiSimLink >::size(), SiStripFedZeroSuppression::suppress(), edm::DetSet< T >::swap(), confdb.HLTProcess::unprescale(), ApvAnalysisFactory::update(), ApvAnalysis::updateCalibration(), confdb.HLTProcess::updateMessageLogger(), and ApvAnalysisFactory::updatePair().

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