#include <GoldenPatternResult.h>
Public Member Functions | |
void | finalise0 () |
void | finalise1 () |
void | finalise10 () |
void | finalise11 () |
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 |
PdfValueType | getPdfSumUnconstr () 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. More... | |
double | gpProbability1 = 0 |
double | gpProbability2 = 0 |
const OMTFConfiguration * | omtfConfig = nullptr |
double | pdfSum = 0 |
Sum of pdfValues. More... | |
double | pdfSumUnconstr = 0 |
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 101 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 112 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 140 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise10 | ( | ) |
Definition at line 321 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getLogicToLogic(), OMTFConfiguration::getRefToLogicNumber(), OMTFConfiguration::isBendingLayer(), omtfConfig, pdfSum, pdfSumUnconstr, refLayer, stubResults, OMTFConfiguration::usePhiBExtrapolationMB1(), OMTFConfiguration::usePhiBExtrapolationMB2(), and valid.
Referenced by init().
void GoldenPatternResult::finalise11 | ( | ) |
Definition at line 389 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getLogicToLogic(), OMTFConfiguration::getRefToLogicNumber(), OMTFConfiguration::isBendingLayer(), omtfConfig, pdfSum, pdfSumUnconstr, refLayer, stubResults, OMTFConfiguration::usePhiBExtrapolationMB1(), OMTFConfiguration::usePhiBExtrapolationMB2(), and valid.
Referenced by init().
void GoldenPatternResult::finalise2 | ( | ) |
Definition at line 156 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 185 of file GoldenPatternResult.cc.
References firedLayerCnt, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise5 | ( | ) |
Definition at line 201 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 224 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 248 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, pdfSum, stubResults, and valid.
Referenced by init().
void GoldenPatternResult::finalise8 | ( | ) |
Definition at line 260 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 282 of file GoldenPatternResult.cc.
References firedLayerBits, firedLayerCnt, OMTFConfiguration::getLogicToLogic(), OMTFConfiguration::isBendingLayer(), omtfConfig, pdfSum, stubResults, and valid.
Referenced by init().
|
inline |
Definition at line 69 of file GoldenPatternResult.h.
References eta.
Referenced by AlgoMuon::getEtaHw().
|
inline |
Definition at line 73 of file GoldenPatternResult.h.
References firedLayerBits.
Referenced by AlgoMuon::getFiredLayerBits().
|
inline |
Definition at line 77 of file GoldenPatternResult.h.
References firedLayerCnt.
Referenced by AlgoMuon::getFiredLayerCnt(), AlgoMuon::getFiredLayerCntConstr(), AlgoMuon::getQ(), and operator<<().
|
inline |
Definition at line 137 of file GoldenPatternResult.h.
References gpProbability1.
Referenced by operator<<().
|
inline |
Definition at line 141 of file GoldenPatternResult.h.
References gpProbability2.
Referenced by operator<<().
|
inline |
Definition at line 85 of file GoldenPatternResult.h.
References pdfSum.
Referenced by AlgoMuon::getDisc(), AlgoMuon::getFiredLayerBits(), AlgoMuon::getFiredLayerCnt(), AlgoMuon::getPatternNum(), AlgoMuon::getPdfSum(), AlgoMuon::getPdfSumConstr(), AlgoMuon::getPhi(), AlgoMuon::getQ(), and operator<<().
|
inline |
Definition at line 87 of file GoldenPatternResult.h.
References pdfSumUnconstr.
Referenced by AlgoMuon::getDisc(), AlgoMuon::getFiredLayerBits(), AlgoMuon::getFiredLayerCnt(), AlgoMuon::getPatternNum(), AlgoMuon::getPdfSum(), AlgoMuon::getPhi(), AlgoMuon::getQ(), and operator<<().
|
inline |
Definition at line 91 of file GoldenPatternResult.h.
References phi.
Referenced by AlgoMuon::getPhi().
|
inline |
Definition at line 95 of file GoldenPatternResult.h.
References refHitPhi.
Referenced by AlgoMuon::getPhiRHit().
|
inline |
Definition at line 65 of file GoldenPatternResult.h.
References refLayer.
Referenced by AlgoMuon::getRefLayer(), operator<<(), and XMLConfigWriter::writeResultsData().
|
inline |
Definition at line 89 of file GoldenPatternResult.h.
References stubResults.
Referenced by AlgoMuon::getStubResult(), AlgoMuon::getStubResultsConstr(), and XMLConfigWriter::writeResultsData().
void GoldenPatternResult::init | ( | const OMTFConfiguration * | omtfConfig | ) |
Definition at line 60 of file GoldenPatternResult.cc.
References finalise, finalise0(), finalise1(), finalise10(), finalise11(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), finalizeFunction, OMTFConfiguration::getGoldenPatternResultFinalizeFunction(), OMTFConfiguration::nLayers(), omtfConfig, reset(), and stubResults.
|
inline |
Definition at line 99 of file GoldenPatternResult.h.
References firedLayerBits.
Referenced by operator<<().
|
inline |
Definition at line 55 of file GoldenPatternResult.h.
References valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), core.AutoHandle.AutoHandle::ReallyLoad(), and set().
void GoldenPatternResult::reset | ( | void | ) |
Definition at line 92 of file GoldenPatternResult.cc.
References eta, firedLayerBits, firedLayerCnt, gpProbability1, gpProbability2, pdfSum, pdfSumUnconstr, 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 71 of file GoldenPatternResult.h.
References eta.
Referenced by AlgoMuon::setEta().
|
inline |
Definition at line 75 of file GoldenPatternResult.h.
References firedLayerBits.
|
inline |
Definition at line 79 of file GoldenPatternResult.h.
References firedLayerCnt.
|
inline |
Definition at line 139 of file GoldenPatternResult.h.
|
inline |
Definition at line 143 of file GoldenPatternResult.h.
|
inline |
Definition at line 93 of file GoldenPatternResult.h.
References phi.
|
inline |
Definition at line 97 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 441 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 106 of file GoldenPatternResult.h.
Referenced by init().
|
private |
Definition at line 42 of file GoldenPatternResult.h.
Referenced by init().
|
private |
bits representing fired logicLayers (including bending layers),
Definition at line 37 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise10(), finalise11(), finalise2(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), getFiredLayerBits(), isLayerFired(), reset(), setFiredLayerBits(), and setStubResult().
|
private |
Number of fired layers.
Definition at line 34 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise10(), finalise11(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), getFiredLayerCnt(), reset(), and setFiredLayerCnt().
|
private |
Definition at line 44 of file GoldenPatternResult.h.
Referenced by getGpProbability1(), and reset().
|
private |
Definition at line 46 of file GoldenPatternResult.h.
Referenced by getGpProbability2(), and reset().
|
private |
Definition at line 146 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise10(), finalise11(), finalise2(), finalise5(), finalise6(), finalise8(), finalise9(), init(), and operator<<().
|
private |
Sum of pdfValues.
Definition at line 26 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise10(), finalise11(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), getPdfSum(), and reset().
|
private |
Number of fired layers - excluding bending layers Sum of pdfValues without vertex constraint (unconstrained pt)
Definition at line 31 of file GoldenPatternResult.h.
Referenced by finalise10(), finalise11(), getPdfSumUnconstr(), 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 40 of file GoldenPatternResult.h.
Referenced by getRefHitPhi(), reset(), set(), and setRefHitPhi().
|
private |
Definition at line 17 of file GoldenPatternResult.h.
Referenced by finalise10(), finalise11(), getRefLayer(), reset(), set(), and setRefLayer().
|
private |
Definition at line 48 of file GoldenPatternResult.h.
Referenced by finalise0(), finalise1(), finalise10(), finalise11(), 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(), finalise10(), finalise11(), finalise2(), finalise3(), finalise5(), finalise6(), finalise7(), finalise8(), finalise9(), isValid(), reset(), setStubResult(), and setValid().