CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
l1ct::DetectorSector< T > Struct Template Reference

#include <layer1_emulator.h>

Public Types

typedef std::vector< T >::const_iterator const_iterator
 
typedef std::vector< T >::iterator iterator
 

Public Member Functions

const_iterator begin () const
 
iterator begin ()
 
void clear ()
 
 DetectorSector ()
 
 DetectorSector (float etamin, float etamax, float phicenter, float phiwidth, float etaextra=0, float phiextra=0)
 
const_iterator end () const
 
iterator end ()
 
const Toperator[] (unsigned int i) const
 
Toperator[] (unsigned int i)
 
void resize (unsigned int size)
 
unsigned int size () const
 

Public Attributes

std::vector< Tobj
 
PFRegionEmu region
 

Detailed Description

template<typename T>
struct l1ct::DetectorSector< T >

Definition at line 234 of file layer1_emulator.h.

Member Typedef Documentation

◆ const_iterator

template<typename T>
typedef std::vector<T>::const_iterator l1ct::DetectorSector< T >::const_iterator

Definition at line 241 of file layer1_emulator.h.

◆ iterator

template<typename T>
typedef std::vector<T>::iterator l1ct::DetectorSector< T >::iterator

Definition at line 242 of file layer1_emulator.h.

Constructor & Destructor Documentation

◆ DetectorSector() [1/2]

template<typename T>
l1ct::DetectorSector< T >::DetectorSector ( )
inline

Definition at line 237 of file layer1_emulator.h.

237 {}

◆ DetectorSector() [2/2]

template<typename T>
l1ct::DetectorSector< T >::DetectorSector ( float  etamin,
float  etamax,
float  phicenter,
float  phiwidth,
float  etaextra = 0,
float  phiextra = 0 
)
inline

Member Function Documentation

◆ begin() [1/2]

template<typename T>
const_iterator l1ct::DetectorSector< T >::begin ( void  ) const
inline

Definition at line 245 of file layer1_emulator.h.

245 { return obj.begin(); }
std::vector< T > obj

◆ begin() [2/2]

template<typename T>
iterator l1ct::DetectorSector< T >::begin ( void  )
inline

Definition at line 246 of file layer1_emulator.h.

246 { return obj.begin(); }
std::vector< T > obj

◆ clear()

template<typename T>
void l1ct::DetectorSector< T >::clear ( void  )
inline

Definition at line 251 of file layer1_emulator.h.

251 { obj.clear(); }
std::vector< T > obj

◆ end() [1/2]

template<typename T>
const_iterator l1ct::DetectorSector< T >::end ( void  ) const
inline

Definition at line 247 of file layer1_emulator.h.

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

247 { return obj.end(); }
std::vector< T > obj

◆ end() [2/2]

template<typename T>
iterator l1ct::DetectorSector< T >::end ( void  )
inline

Definition at line 248 of file layer1_emulator.h.

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

248 { return obj.end(); }
std::vector< T > obj

◆ operator[]() [1/2]

template<typename T>
const T& l1ct::DetectorSector< T >::operator[] ( unsigned int  i) const
inline

Definition at line 243 of file layer1_emulator.h.

243 { return obj[i]; }
std::vector< T > obj

◆ operator[]() [2/2]

template<typename T>
T& l1ct::DetectorSector< T >::operator[] ( unsigned int  i)
inline

Definition at line 244 of file layer1_emulator.h.

244 { return obj[i]; }
std::vector< T > obj

◆ resize()

template<typename T>
void l1ct::DetectorSector< T >::resize ( unsigned int  size)
inline

Definition at line 250 of file layer1_emulator.h.

250 { obj.resize(size); }
std::vector< T > obj
unsigned int size() const

◆ size()

template<typename T>
unsigned int l1ct::DetectorSector< T >::size ( void  ) const
inline

Member Data Documentation

◆ obj

template<typename T>
std::vector<T> l1ct::DetectorSector< T >::obj

◆ region

template<typename T>
PFRegionEmu l1ct::DetectorSector< T >::region