#include <MuonHoughHisto2DContainer.h>
Definition at line 10 of file MuonHoughHisto2DContainer.h.
◆ MuonHoughHisto2DContainer()
MuonHoughHisto2DContainer::MuonHoughHisto2DContainer |
( |
| ) |
|
|
default |
◆ ~MuonHoughHisto2DContainer()
virtual MuonHoughHisto2DContainer::~MuonHoughHisto2DContainer |
( |
| ) |
|
|
virtualdefault |
◆ getHisto()
◆ getMaximumBinnumber()
std::pair< int, int > MuonHoughHisto2DContainer::getMaximumBinnumber |
( |
| ) |
const |
return maximum of container gives first id histogram (sector) and then maximumbin
Definition at line 9 of file MuonHoughHisto2DContainer.cxx.
12 int maxid{-1}, maxbin{-1};
13 for (
int histoid = 0; histoid <
size(); histoid++) {
14 std::pair<int, double> histomax =
17 if (histomax.second > maximum) {
18 maximum = histomax.second;
20 maxbin = histomax.first;
23 return std::make_pair(maxid, maxbin);
◆ push_back()
void MuonHoughHisto2DContainer::push_back |
( |
std::unique_ptr< MuonHoughHisto2D > |
histo | ) |
|
|
inline |
◆ reserve()
void MuonHoughHisto2DContainer::reserve |
( |
int |
size | ) |
|
|
inline |
◆ reset()
void MuonHoughHisto2DContainer::reset |
( |
| ) |
const |
◆ size()
int MuonHoughHisto2DContainer::size |
( |
| ) |
const |
|
inline |
◆ m_histos
std::vector<std::unique_ptr<MuonHoughHisto2D> > MuonHoughHisto2DContainer::m_histos {} |
|
private |
The documentation for this class was generated from the following files: