#include <MuonLayerHoughSelector.h>
Definition at line 12 of file MuonLayerHoughSelector.h.
◆ MuonLayerHoughSelector() [1/4]
| MuonHough::MuonLayerHoughSelector::MuonLayerHoughSelector |
( |
| ) |
|
|
default |
◆ MuonLayerHoughSelector() [2/4]
◆ MuonLayerHoughSelector() [3/4]
◆ MuonLayerHoughSelector() [4/4]
| MuonHough::MuonLayerHoughSelector::MuonLayerHoughSelector |
( |
std::vector< std::pair< int, float > > | cutValues | ) |
|
Definition at line 16 of file MuonLayerHoughSelector.cxx.
18 {
21
22 if (
getMinCutValue() < 0) std::cout << std::endl <<
"MuonLayerHoughSelector: Negative cuts found!!!" << std::endl;
23 }
std::vector< std::pair< int, float > > m_cutValues
float getMinCutValue() const
std::pair< int, float > valPair
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
◆ ~MuonLayerHoughSelector()
| MuonHough::MuonLayerHoughSelector::~MuonLayerHoughSelector |
( |
| ) |
|
|
virtualdefault |
◆ getCutValue()
| float MuonHough::MuonLayerHoughSelector::getCutValue |
( |
float | pos | ) |
const |
Getter Methods.
Definition at line 27 of file MuonLayerHoughSelector.cxx.
27 {
28 const float pos = std::abs(position);
30 if (
cut.first < pos)
return cut.second;
31 }
33 }
cut
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
◆ getMinCutValue()
| float MuonHough::MuonLayerHoughSelector::getMinCutValue |
( |
| ) |
const |
Definition at line 35 of file MuonLayerHoughSelector.cxx.
35 {
37 std::cout << "MuonLayerHoughSelector: cutValues not available, returning invalid value";
38 return -999;
39 }
41 }
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ passesCutValue()
| bool MuonHough::MuonLayerHoughSelector::passesCutValue |
( |
float | testValue, |
|
|
float | position ) const |
◆ m_cutValues
| std::vector<std::pair<int, float> > MuonHough::MuonLayerHoughSelector::m_cutValues |
|
private |
The documentation for this class was generated from the following files: