#include <GoldenPatternResult.h>
Public Member Functions | |
void | finalise0 () |
void | finalise1 () |
void | finalise2 () |
void | finalise3 () |
void | finalise5 () |
void | finalise6 () |
void | finalise7 () |
void | finalise8 () |
void | finalise9 () |
int | getEta () const |
unsigned int | getFiredLayerBits () const |
unsigned int | getFiredLayerCnt () const |
double | getGpProbability1 () const |
double | getGpProbability2 () const |
PdfValueType | getPdfSum () const |
int | getPhi () const |
int | getRefHitPhi () const |
int | getRefLayer () const |
const StubResults & | getStubResults () const |
GoldenPatternResult () | |
GoldenPatternResult (const OMTFConfiguration *omtfConfig) | |
void | init (const OMTFConfiguration *omtfConfig) |
bool | isLayerFired (unsigned int iLayer) const |
bool | isValid () const |
void | reset () |
void | set (int refLayer, int phi, int eta, int refHitPhi) |
void | setEta (int eta) |
void | setFiredLayerBits (unsigned int firedLayerBits) |
void | setFiredLayerCnt (unsigned int firedLayerCnt) |
void | setGpProbability1 (double probability1=0) |
void | setGpProbability2 (double probability2=0) |
void | setPhi (int phi) |
void | setRefHitPhi (int refHitPhi) |
void | setRefLayer (int refLayer) |
void | setStubResult (float pdfVal, bool valid, int pdfBin, int layer, MuonStubPtr stub) |
void | setStubResult (int layer, StubResult &stubResult) |
void | setValid (bool valid) |
Public Attributes | |
std::function< void()> | finalise |
Private Attributes | |
int | eta = 0 |
eta at the 2nd muon station More... | |
int | finalizeFunction = 0 |
unsigned int | firedLayerBits = 0 |
bits representing fired logicLayers (including bending layers), More... | |
unsigned int | firedLayerCnt = 0 |
Number of fired layers - excluding bending layers. More... | |
double | gpProbability1 = 0 |
double | gpProbability2 = 0 |
const OMTFConfiguration * | omtfConfig = nullptr |
double | pdfSum = 0 |
Sum of pdfValues. More... | |
int | phi = 0 |
phi at the 2nd muon station (propagated refHitPhi) More... | |
int | refHitPhi = 0 |
phi of the reference hits More... | |
int | refLayer = 0 |
StubResults | stubResults |
bool | valid = false |
Friends | |
std::ostream & | operator<< (std::ostream &out, const GoldenPatternResult &aResult) |
Definition at line 11 of file GoldenPatternResult.h.
|
inline |
Definition at line 95 of file GoldenPatternResult.h.
GoldenPatternResult::GoldenPatternResult | ( | const OMTFConfiguration * | omtfConfig | ) |
Definition at line 16 of file GoldenPatternResult.cc.
References finalise0().
void GoldenPatternResult::finalise0 | ( | ) |
Definition at line 107 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::fwVersion(), OMTFConfiguration::getBendingLayers(), OMTFConfiguration::getLogicToLogic(), omtfConfig, pdfSum, stubResults, and valid.
Referenced by GoldenPatternResult(), and init().
void GoldenPatternResult::finalise1 | ( | ) |
Definition at line 135 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise2 | ( | ) |
Definition at line 152 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getBendingLayers(), OMTFConfiguration::getLogicToLogic(), omtfConfig, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise3 | ( | ) |
Definition at line 181 of file GoldenPatternResult.cc.
References firedLayerCnt, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise5 | ( | ) |
Definition at line 197 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getLogicToLogic(), OMTFConfiguration::isBendingLayer(), omtfConfig, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise6 | ( | ) |
Definition at line 220 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getLogicToLogic(), OMTFConfiguration::isBendingLayer(), omtfConfig, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise7 | ( | ) |
Definition at line 244 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise8 | ( | ) |
Definition at line 256 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getLogicToLogic(), OMTFConfiguration::isBendingLayer(), omtfConfig, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise9 | ( | ) |
Definition at line 279 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getLogicToLogic(), OMTFConfiguration::isBendingLayer(), omtfConfig, pdfSum, stubResults, and valid.
Referenced by init().
|
inline |
Definition at line 65 of file GoldenPatternResult.h.
References eta.
Referenced by AlgoMuon::getEtaHw().
|
inline |
Definition at line 69 of file GoldenPatternResult.h.
References firedLayerBits.
Referenced by AlgoMuon::getFiredLayerBits().
|
inline |
Definition at line 73 of file GoldenPatternResult.h.
References firedLayerCnt.
Referenced by AlgoMuon::getFiredLayerCnt(), and operator<<().
|
inline |
Definition at line 127 of file GoldenPatternResult.h.
References gpProbability1.
Referenced by operator<<().
|
inline |
Definition at line 131 of file GoldenPatternResult.h.
References gpProbability2.
Referenced by operator<<().
|
inline |
Definition at line 81 of file GoldenPatternResult.h.
References pdfSum.
Referenced by AlgoMuon::getDisc(), AlgoMuon::getPdfSum(), and operator<<().
|
inline |
Definition at line 85 of file GoldenPatternResult.h.
References phi.
Referenced by AlgoMuon::getPhi().
|
inline |
Definition at line 89 of file GoldenPatternResult.h.
References refHitPhi.
Referenced by AlgoMuon::getPhiRHit().
|
inline |
Definition at line 61 of file GoldenPatternResult.h.
References refLayer.
Referenced by AlgoMuon::getRefLayer(), operator<<(), and XMLConfigWriter::writeResultsData().
|
inline |
Definition at line 83 of file GoldenPatternResult.h.
References stubResults.
Referenced by AlgoMuon::getStubResult(), AlgoMuon::getStubResults(), and XMLConfigWriter::writeResultsData().
void GoldenPatternResult::init | ( | const OMTFConfiguration * | omtfConfig | ) |
Definition at line 60 of file GoldenPatternResult.cc.
References finalise, finalise0(), finalise1(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), finalizeFunction, OMTFConfiguration::getGoldenPatternResultFinalizeFunction(), OMTFConfiguration::nLayers(), omtfConfig, reset(), and stubResults.
|
inline |
Definition at line 93 of file GoldenPatternResult.h.
References firedLayerBits.
Referenced by operator<<().
|
inline |
Definition at line 51 of file GoldenPatternResult.h.
References valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), core.AutoHandle.AutoHandle::ReallyLoad(), and set().
void GoldenPatternResult::reset | ( | void | ) |
Definition at line 88 of file GoldenPatternResult.cc.
References eta, firedLayerBits, firedLayerCnt, gpProbability1, gpProbability2, pdfSum, phi, refHitPhi, refLayer, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::set | ( | int | refLayer, |
int | phi, | ||
int | eta, | ||
int | refHitPhi | ||
) |
Definition at line 25 of file GoldenPatternResult.cc.
References cms::cuda::assert(), gather_cfg::cout, eta, isValid(), phi, refHitPhi, and refLayer.
|
inline |
Definition at line 67 of file GoldenPatternResult.h.
References eta.
Referenced by AlgoMuon::setEta().
|
inline |
Definition at line 71 of file GoldenPatternResult.h.
References firedLayerBits.
|
inline |
Definition at line 75 of file GoldenPatternResult.h.
References firedLayerCnt.
|
inline |
Definition at line 129 of file GoldenPatternResult.h.
|
inline |
Definition at line 133 of file GoldenPatternResult.h.
|
inline |
Definition at line 87 of file GoldenPatternResult.h.
References phi.
|
inline |
Definition at line 91 of file GoldenPatternResult.h.
References refHitPhi.
|
inline |
void GoldenPatternResult::setStubResult | ( | float | pdfVal, |
bool | valid, | ||
int | pdfBin, | ||
int | layer, | ||
MuonStubPtr | stub | ||
) |
Definition at line 38 of file GoldenPatternResult.cc.
References firedLayerBits, nano_mu_digi_cff::layer, stubResults, and valid.
void GoldenPatternResult::setStubResult | ( | int | layer, |
StubResult & | stubResult | ||
) |
Definition at line 48 of file GoldenPatternResult.cc.
References firedLayerBits, StubResult::getValid(), nano_mu_digi_cff::layer, and stubResults.
|
inline |
|
friend |
Definition at line 321 of file GoldenPatternResult.cc.
|
private |
eta at the 2nd muon station
Definition at line 23 of file GoldenPatternResult.h.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), getEta(), Jet.Jet::jetID(), datamodel.Object::p4(), Jet.Jet::puJetId(), reset(), set(), and setEta().
std::function<void()> GoldenPatternResult::finalise |
Definition at line 100 of file GoldenPatternResult.h.
Referenced by init().
|
private |
Definition at line 38 of file GoldenPatternResult.h.
Referenced by init().
|
private |
bits representing fired logicLayers (including bending layers),
Definition at line 33 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise2(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), getFiredLayerBits(), isLayerFired(), reset(), setFiredLayerBits(), and setStubResult().
|
private |
Number of fired layers - excluding bending layers.
Definition at line 30 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), getFiredLayerCnt(), reset(), and setFiredLayerCnt().
|
private |
Definition at line 40 of file GoldenPatternResult.h.
Referenced by getGpProbability1(), and reset().
|
private |
Definition at line 42 of file GoldenPatternResult.h.
Referenced by getGpProbability2(), and reset().
|
private |
Definition at line 136 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise2(), finalise5(), finalise6(), finalise8(), finalise9(), init(), and operator<<().
|
private |
Sum of pdfValues.
Definition at line 27 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), getPdfSum(), and reset().
|
private |
phi at the 2nd muon station (propagated refHitPhi)
Definition at line 20 of file GoldenPatternResult.h.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), getPhi(), datamodel.Object::p4(), ntupleDataFormat.Track::phiPull(), reset(), set(), and setPhi().
|
private |
phi of the reference hits
Definition at line 36 of file GoldenPatternResult.h.
Referenced by getRefHitPhi(), reset(), set(), and setRefHitPhi().
|
private |
Definition at line 17 of file GoldenPatternResult.h.
Referenced by getRefLayer(), reset(), set(), and setRefLayer().
|
private |
Definition at line 44 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), getStubResults(), init(), operator<<(), reset(), and setStubResult().
|
private |
Definition at line 14 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), isValid(), reset(), setStubResult(), and setValid().