CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
HGCalHistoSeedingImpl::HistogramT< T > Class Template Reference

Public Types

using const_iterator = typename Data::const_iterator
 
using Data = std::vector< T >
 
using iterator = typename Data::iterator
 

Public Member Functions

Tat (int zside, unsigned x1, unsigned x2)
 
const Tat (int zside, unsigned x1, unsigned x2) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
 HistogramT ()
 
 HistogramT (unsigned bins1, unsigned bins2)
 

Private Member Functions

unsigned index (int zside, unsigned x1, unsigned x2) const
 

Private Attributes

unsigned bins1_ = 0
 
unsigned bins2_ = 0
 
unsigned bins_ = 0
 
Data histogram_
 

Static Private Attributes

static constexpr unsigned kSides_ = 2
 

Detailed Description

template<typename T>
class HGCalHistoSeedingImpl::HistogramT< T >

Definition at line 23 of file HGCalHistoSeedingImpl.h.

Member Typedef Documentation

◆ const_iterator

template<typename T>
using HGCalHistoSeedingImpl::HistogramT< T >::const_iterator = typename Data::const_iterator

Definition at line 27 of file HGCalHistoSeedingImpl.h.

◆ Data

template<typename T>
using HGCalHistoSeedingImpl::HistogramT< T >::Data = std::vector<T>

Definition at line 25 of file HGCalHistoSeedingImpl.h.

◆ iterator

template<typename T>
using HGCalHistoSeedingImpl::HistogramT< T >::iterator = typename Data::iterator

Definition at line 26 of file HGCalHistoSeedingImpl.h.

Constructor & Destructor Documentation

◆ HistogramT() [1/2]

template<typename T>
HGCalHistoSeedingImpl::HistogramT< T >::HistogramT ( )
inline

◆ HistogramT() [2/2]

template<typename T>
HGCalHistoSeedingImpl::HistogramT< T >::HistogramT ( unsigned  bins1,
unsigned  bins2 
)
inline

Member Function Documentation

◆ at() [1/2]

template<typename T>
T& HGCalHistoSeedingImpl::HistogramT< T >::at ( int  zside,
unsigned  x1,
unsigned  x2 
)
inline

◆ at() [2/2]

template<typename T>
const T& HGCalHistoSeedingImpl::HistogramT< T >::at ( int  zside,
unsigned  x1,
unsigned  x2 
) const
inline

◆ begin() [1/2]

template<typename T>
iterator HGCalHistoSeedingImpl::HistogramT< T >::begin ( void  )
inline

◆ begin() [2/2]

template<typename T>
const_iterator HGCalHistoSeedingImpl::HistogramT< T >::begin ( void  ) const
inline

◆ end() [1/2]

template<typename T>
iterator HGCalHistoSeedingImpl::HistogramT< T >::end ( void  )
inline

◆ end() [2/2]

template<typename T>
const_iterator HGCalHistoSeedingImpl::HistogramT< T >::end ( void  ) const
inline

◆ index()

template<typename T>
unsigned HGCalHistoSeedingImpl::HistogramT< T >::index ( int  zside,
unsigned  x1,
unsigned  x2 
) const
inlineprivate

Member Data Documentation

◆ bins1_

template<typename T>
unsigned HGCalHistoSeedingImpl::HistogramT< T >::bins1_ = 0
private

◆ bins2_

template<typename T>
unsigned HGCalHistoSeedingImpl::HistogramT< T >::bins2_ = 0
private

◆ bins_

template<typename T>
unsigned HGCalHistoSeedingImpl::HistogramT< T >::bins_ = 0
private

◆ histogram_

template<typename T>
Data HGCalHistoSeedingImpl::HistogramT< T >::histogram_
private

◆ kSides_

template<typename T>
constexpr unsigned HGCalHistoSeedingImpl::HistogramT< T >::kSides_ = 2
staticprivate

Definition at line 44 of file HGCalHistoSeedingImpl.h.