LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "CMatchBookKeeper.h"
Public Member Functions | |
CMatchBookKeeper () | |
Default constructor. More... | |
virtual | ~CMatchBookKeeper () |
Default destructor. More... | |
void | Reset () |
Reset method. More... | |
void | Match (const std::vector< unsigned int > &matched_indexes, const float &score) |
Method to register matched clusters. More... | |
std::vector< std::vector< unsigned int > > | GetResult () const |
Method to get result. More... | |
void | PassResult (std::vector< std::vector< unsigned int > > &result) const |
Method to pass result. More... | |
Protected Attributes | |
std::multimap< float, std::vector< unsigned int > > | _register |
User defined class CMatchBookKeeper ... these comments are used to generate doxygen documentation!
Definition at line 28 of file CMatchBookKeeper.h.
cmtool::CMatchBookKeeper::CMatchBookKeeper | ( | ) |
|
inlinevirtual |
Default destructor.
Definition at line 36 of file CMatchBookKeeper.h.
References GetResult(), Match(), PassResult(), Reset(), and lar::dump::vector().
std::vector< std::vector< unsigned int > > cmtool::CMatchBookKeeper::GetResult | ( | ) | const |
Method to get result.
Definition at line 25 of file CMatchBookKeeper.cxx.
References PassResult().
Referenced by showerreco::ShowerRecoManager::Reconstruct(), and ~CMatchBookKeeper().
void cmtool::CMatchBookKeeper::Match | ( | const std::vector< unsigned int > & | matched_indexes, |
const float & | score | ||
) |
Method to register matched clusters.
Definition at line 18 of file CMatchBookKeeper.cxx.
References _register.
Referenced by cmtool::CMatchManager::IterationProcess(), and ~CMatchBookKeeper().
void cmtool::CMatchBookKeeper::PassResult | ( | std::vector< std::vector< unsigned int > > & | result | ) | const |
Method to pass result.
Definition at line 36 of file CMatchBookKeeper.cxx.
References _register.
Referenced by GetResult(), and ~CMatchBookKeeper().
void cmtool::CMatchBookKeeper::Reset | ( | ) |
Reset method.
Definition at line 13 of file CMatchBookKeeper.cxx.
References _register.
Referenced by CMatchBookKeeper(), cmtool::CMatchManager::Reset(), and ~CMatchBookKeeper().
|
protected |
Definition at line 53 of file CMatchBookKeeper.h.
Referenced by Match(), PassResult(), and Reset().