#include <GoldenPatternBase.h>
Public Types | |
typedef boost::multi_array< GoldenPatternResult, 2 > | resultsArrayType |
typedef std::vector< int > | vector1D |
Public Member Functions | |
virtual void | finalise (unsigned int procIndx) |
last step of the event processing, before sorting and ghost busting More... | |
const OMTFConfiguration * | getConfig () const |
virtual int | getDistPhiBitShift (unsigned int iLayer, unsigned int iRefLayer) const =0 |
resultsArrayType & | getResults () |
GoldenPatternBase (const Key &aKey) | |
GoldenPatternBase (const Key &aKey, const OMTFConfiguration *omtfConfig) | |
virtual Key & | key () |
virtual int | meanDistPhiValue (unsigned int iLayer, unsigned int iRefLayer, int refLayerPhiB=0) const =0 |
virtual PdfValueType | pdfValue (unsigned int iLayer, unsigned int iRefLayer, unsigned int iBin, int refLayerPhiB=0) const =0 |
virtual StubResult | process1Layer1RefLayer (unsigned int iRefLayer, unsigned int iLayer, MuonStubPtrs1D layerStubs, const std::vector< int > &extrapolatedPhi, const MuonStubPtr &refStub) |
virtual int | propagateRefPhi (int phiRef, int etaRef, unsigned int iRefLayer)=0 |
virtual void | setConfig (const OMTFConfiguration *omtfConfig) |
virtual void | setDistPhiBitShift (int value, unsigned int iLayer, unsigned int iRefLayer)=0 |
virtual void | setMeanDistPhiValue (int value, unsigned int iLayer, unsigned int iRefLayer, unsigned int paramIndex=0)=0 |
virtual void | setPdfValue (PdfValueType value, unsigned int iLayer, unsigned int iRefLayer, unsigned int iBin, int refLayerPhiB=0)=0 |
virtual | ~GoldenPatternBase () |
Protected Attributes | |
const OMTFConfiguration * | myOmtfConfig |
resultsArrayType | results |
Key | theKey |
Pattern kinematic identification (iEta,iPt,iCharge) More... | |
Definition at line 61 of file GoldenPatternBase.h.
typedef boost::multi_array<GoldenPatternResult, 2> GoldenPatternBase::resultsArrayType |
Definition at line 65 of file GoldenPatternBase.h.
typedef std::vector<int> GoldenPatternBase::vector1D |
Definition at line 63 of file GoldenPatternBase.h.
GoldenPatternBase::GoldenPatternBase | ( | const Key & | aKey | ) |
Definition at line 20 of file GoldenPatternBase.cc.
GoldenPatternBase::GoldenPatternBase | ( | const Key & | aKey, |
const OMTFConfiguration * | omtfConfig | ||
) |
Definition at line 22 of file GoldenPatternBase.cc.
References results.
|
inlinevirtual |
Definition at line 73 of file GoldenPatternBase.h.
|
virtual |
last step of the event processing, before sorting and ghost busting
Definition at line 134 of file GoldenPatternBase.cc.
References getResults(), and mps_fire::result.
|
inline |
Definition at line 77 of file GoldenPatternBase.h.
References myOmtfConfig.
|
pure virtual |
Implemented in GoldenPattern.
Referenced by process1Layer1RefLayer().
|
inline |
Definition at line 113 of file GoldenPatternBase.h.
References results.
Referenced by finalise(), PatternGenerator::updateStat(), and PatternGenerator::updateStatUsingMatcher2().
|
inlinevirtual |
Definition at line 79 of file GoldenPatternBase.h.
References theKey.
Referenced by AlgoMuon::getChargeConstr(), AlgoMuon::getHwPatternNumConstr(), AlgoMuon::getHwPatternNumUnconstr(), AlgoMuon::getPatternNum(), AlgoMuon::getPatternNumConstr(), AlgoMuon::getPatternNumUnconstr(), AlgoMuon::getPtConstr(), and AlgoMuon::getPtUnconstr().
|
pure virtual |
Implemented in GoldenPattern.
Referenced by process1Layer1RefLayer().
|
pure virtual |
Implemented in GoldenPattern.
Referenced by process1Layer1RefLayer().
|
virtual |
Process single measurement layer with a single ref layer Method should be thread safe
Select hit closest to the mean of probability distribution in given layer
Check if phiDistMin is within pdf range -63 +63 in firmware here the arithmetic "value and sign" is used, therefore the range is -63 +63, and not -64 +63
Shift phidist, so 0 is at the middle of the range
Definition at line 45 of file GoldenPatternBase.cc.
References funct::abs(), ProcConfigurationBase::foldPhi(), getDistPhiBitShift(), OMTFConfiguration::isBendingLayer(), OMTFConfiguration::isNoHitValueInPdf(), meanDistPhiValue(), myOmtfConfig, OMTFConfiguration::nPdfAddrBits(), OMTFConfiguration::nPhiBins(), pdfValue(), and Validation_hcalonly_cfi::sign.
|
pure virtual |
Propagate phi from given reference layer to MB2 or ME2 ME2 is used if eta of reference hit is larger than 1.1 expressed in integer MicroGMT scale: 1.1/2.61*240 = 101
Implemented in GoldenPattern, and GoldenPattern.
|
virtual |
Definition at line 33 of file GoldenPatternBase.cc.
References myOmtfConfig, OMTFConfiguration::nTestRefHits(), OMTFConfiguration::processorCnt(), and results.
|
pure virtual |
Implemented in GoldenPattern.
|
pure virtual |
Implemented in GoldenPattern.
|
pure virtual |
Implemented in GoldenPattern.
|
protected |
Definition at line 122 of file GoldenPatternBase.h.
Referenced by getConfig(), process1Layer1RefLayer(), and setConfig().
|
protected |
Definition at line 124 of file GoldenPatternBase.h.
Referenced by getResults(), GoldenPatternBase(), and setConfig().
|
protected |
Pattern kinematic identification (iEta,iPt,iCharge)
Definition at line 120 of file GoldenPatternBase.h.
Referenced by key().