|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONHOUGHPATTERNEVENT_MUONHOUGHHISTO2DCONTAINER_H
6 #define MUONHOUGHPATTERNEVENT_MUONHOUGHHISTO2DCONTAINER_H
31 void push_back(std::unique_ptr<MuonHoughHisto2D>);
35 std::vector<std::unique_ptr<MuonHoughHisto2D>>
m_histos{};
43 #endif // MUONHOUGHPATTERNEVENT_MUONHOUGHHISTO2DCONTAINER_H
void reserve(int)
reserve a certain size (memory) for m_histos
MuonHoughHisto2D * getHisto(int id) const
return histogram at place id
void push_back(std::unique_ptr< MuonHoughHisto2D >)
push_back a histogram
int size() const
returns size of container
std::vector< std::unique_ptr< MuonHoughHisto2D > > m_histos
vector of MuonHoughHisto2D*
void reset() const
resets histograms
virtual ~MuonHoughHisto2DContainer()=default
destructor
std::pair< int, int > getMaximumBinnumber() const
return maximum of container gives first id histogram (sector) and then maximumbin
MuonHoughHisto2DContainer()
constructor
Histogram class, similar to Root's TH2D.