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 230 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 237 of file layer1_emulator.h.

◆ iterator

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

Definition at line 238 of file layer1_emulator.h.

Constructor & Destructor Documentation

◆ DetectorSector() [1/2]

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

Definition at line 233 of file layer1_emulator.h.

233 {}

◆ 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

Definition at line 234 of file layer1_emulator.h.

235  : region(etamin, etamax, phicenter, phiwidth, etaextra, phiextra) {}

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 241 of file layer1_emulator.h.

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

◆ begin() [2/2]

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

Definition at line 242 of file layer1_emulator.h.

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

◆ clear()

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

Definition at line 247 of file layer1_emulator.h.

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

◆ end() [1/2]

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

Definition at line 243 of file layer1_emulator.h.

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

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

◆ end() [2/2]

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

Definition at line 244 of file layer1_emulator.h.

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

244 { 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 239 of file layer1_emulator.h.

239 { 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 240 of file layer1_emulator.h.

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

◆ resize()

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

Definition at line 246 of file layer1_emulator.h.

246 { 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