20 unsigned int ibin_qOverPt,
23 : settings_(settings),
28 etaMinSector_(etaMinSector),
29 etaMaxSector_(etaMaxSector),
31 qOverPtCell_(qOverPt),
33 ibin_qOverPt_(ibin_qOverPt),
34 mergedCell_(mergedCell),
36 miniHTcell_(miniHTcell),
37 invPtToDphi_(settings->invPtToDphi()),
39 useBendFilter_(settings->useBendFilter()),
41 numSubSecs_(settings->numSubSecsEta()) {
65 constexpr
unsigned int disableThreshold = 999;
91 vector<const Stub*> stubsInSubSec;
94 if (inSubSec[iSubSec])
95 stubsInSubSec.push_back(
s);
105 vector<Stub*> filteredStubs;
106 for (
Stub*
s : stubs) {
109 unsigned int minBin =
s->min_qOverPt_bin();
110 unsigned int maxBin =
s->max_qOverPt_bin();
116 filteredStubs.push_back(
s);
119 return filteredStubs;
126 vector<Stub*> filteredStubs;
131 filteredStubs.push_back(stubs[
i]);
133 filteredStubs.push_back(stubs[stubs.size() - 1]);
135 filteredStubs =
stubs;
137 return filteredStubs;
unsigned int calcNumFilteredLayers() const
constexpr unsigned int maxBin
unsigned int numFilteredLayersInCellBestSubSec_
unsigned int ibin_qOverPt_
std::vector< Stub * > maxStubCountFilter(const std::vector< Stub * > &stubs) const
std::vector< Stub * > vFilteredStubs_
std::vector< Stub * > vStubs_
unsigned int maxStubsInCell_
std::map< const Stub *, std::vector< bool > > subSectors_
const std::vector< Stub * > & stubs() const
const Settings * settings_
unsigned int numFilteredLayersInCell_
std::vector< Stub * > bendFilter(const std::vector< Stub * > &stubs) const
unsigned int countLayers(const Settings *settings, const std::vector< const Stub * > &stubs, bool disableReducedLayerID=false, bool onlyPS=false)
unsigned int maxStubsInCellMiniHough() const
unsigned int maxStubsInCell() const
constexpr unsigned int minBin