#include <AlgoMuon.h>
Public Member Functions | |
AlgoMuon () | |
AlgoMuon () | |
AlgoMuon (int disc=-999, int phi=9999, int eta=99, int refLayer=-1, int hits=0, int q=-1, int bx=0, int pt=-1, int charge=99) | |
AlgoMuon (const GoldenPatternResult &gpResult, GoldenPatternBase *gp, unsigned int refHitNumber, int bx=0) | |
int | getBx () const |
int | getBx () const |
int | getCharge () const |
int | getChargeConstr () const |
int | getChargeNNConstr () const |
int | getChargeNNUnconstr () const |
int | getDisc () const |
PdfValueType | getDisc () const |
int | getEta () const |
int | getEtaHw () const |
unsigned int | getFiredLayerBits () const |
unsigned int | getFiredLayerCnt () const |
unsigned int | getFiredLayerCntConstr () const |
GoldenPatternBase * | getGoldenPatern () const |
GoldenPatternBase * | getGoldenPaternUnconstr () const |
const GoldenPatternResult & | getGpResultConstr () const |
const GoldenPatternResult & | getGpResultUnconstr () const |
int | getHits () const |
unsigned int | getHwPatternNumConstr () const |
unsigned int | getHwPatternNumUnconstr () const |
std::vector< std::shared_ptr< AlgoMuon > > & | getKilledMuons () |
unsigned int | getPatternNum () const |
unsigned int | getPatternNumber () const |
unsigned int | getPatternNumConstr () const |
unsigned int | getPatternNumUnconstr () const |
double | getPdfSum () const |
double | getPdfSumConstr () const |
int | getPhi () const |
int | getPhi () const |
int | getPhiRHit () const |
int | getPhiRHit () const |
int | getPt () const |
int | getPtConstr () const |
int | getPtNNConstr () const |
int | getPtNNUnconstr () const |
int | getPtUnconstr () const |
int | getQ () const |
int | getQ () const |
unsigned int | getRefHitNumber () const |
unsigned int | getRefHitNumber () const |
int | getRefLayer () const |
int | getRefLayer () const |
const StubResult & | getStubResult (unsigned int iLayer) const |
const StubResults & | getStubResultsConstr () const |
const bool | isKilled () const |
bool | isValid () const |
bool | isValid () const |
void | kill () |
bool | operator< (const AlgoMuon &o) const |
void | setBx (int bx) |
void | setCharge (int charge) |
void | setChargeNNConstr (int chargeNn=0) |
void | setChargeNNUnconstr (int chargeNnUnconstr=0) |
void | setDisc (int disc) |
void | setEta (int eta) |
void | setEta (int eta) |
void | setGoldenPaternUnconstr (GoldenPatternBase *goldenPaternUnconstr) |
void | setGpResultUnconstr (const GoldenPatternResult &gpResultUnconstr) |
void | setHits (int hits) |
void | setPatternNumber (unsigned int aPatNum) |
void | setPhi (int phi) |
void | setPhiRHit (int phiRHit) |
void | setPt (int pt) |
void | setPtNNConstr (int ptNn=0) |
void | setPtNNUnconstr (int ptNnUnconstr=0) |
void | setQ (int q) |
void | setRefHitNumber (unsigned int aRefHitNum) |
void | setRefHitNumber (unsigned int aRefHitNum) |
void | setRefLayer (int refLayer) |
~AlgoMuon () | |
virtual | ~AlgoMuon () |
Private Attributes | |
int | chargeNNConstr = 0 |
int | chargeNNUnconstr = 0 |
GoldenPatternBase * | goldenPaternConstr = nullptr |
GoldenPatternBase * | goldenPaternUnconstr = nullptr |
GoldenPatternResult | gpResultConstr |
FIXME maybe the gpResult cannot be a reference or pointer, ad not a copy. More... | |
GoldenPatternResult | gpResultUnconstr |
unsigned int | index = 0 |
bool | killed = false |
std::vector< std::shared_ptr< AlgoMuon > > | killedMuons |
int | m_bx = 0 |
int | m_charge |
int | m_disc |
int | m_eta |
int | m_hits |
unsigned int | m_patNumb |
int | m_phi |
int | m_phiRHit |
int | m_pt |
int | m_q |
int | m_refLayer |
unsigned int | m_rhitNumb = 0 |
int | ptNNConstr = 0 |
int | ptNNUnconstr = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const AlgoMuon &o) |
std::ostream & | operator<< (std::ostream &out, const AlgoMuon &o) |
Definition at line 6 of file AlgoMuon.h.
|
inline |
|
inline |
Definition at line 11 of file AlgoMuon.h.
|
inlinevirtual |
Definition at line 32 of file AlgoMuon.h.
|
inline |
Definition at line 10 of file AlgoMuon.h.
|
inline |
Definition at line 12 of file AlgoMuon.h.
|
inline |
Definition at line 21 of file AlgoMuon.h.
|
inline |
|
inline |
|
inline |
Definition at line 42 of file AlgoMuon.h.
References m_charge.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 50 of file AlgoMuon.h.
References goldenPaternConstr, GoldenPatternBase::key(), and Key::theCharge.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
|
inline |
|
inline |
Definition at line 34 of file AlgoMuon.h.
References m_disc.
Referenced by operator<(), and XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 83 of file AlgoMuon.h.
References GoldenPatternResult::getPdfSum(), GoldenPatternResult::getPdfSumUnconstr(), gpResultConstr, and gpResultUnconstr.
|
inline |
Definition at line 36 of file AlgoMuon.h.
References m_eta.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 32 of file AlgoMuon.h.
References GoldenPatternResult::getEta(), and gpResultConstr.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 100 of file AlgoMuon.h.
References GoldenPatternResult::getFiredLayerBits(), GoldenPatternResult::getPdfSum(), GoldenPatternResult::getPdfSumUnconstr(), gpResultConstr, and gpResultUnconstr.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 93 of file AlgoMuon.h.
References GoldenPatternResult::getFiredLayerCnt(), GoldenPatternResult::getPdfSum(), GoldenPatternResult::getPdfSumUnconstr(), gpResultConstr, and gpResultUnconstr.
|
inline |
Definition at line 98 of file AlgoMuon.h.
References GoldenPatternResult::getFiredLayerCnt(), and gpResultConstr.
|
inline |
|
inline |
|
inline |
Definition at line 24 of file AlgoMuon.h.
References gpResultConstr.
|
inline |
|
inline |
Definition at line 38 of file AlgoMuon.h.
References m_hits.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 64 of file AlgoMuon.h.
References Key::getHwPatternNumber(), goldenPaternConstr, and GoldenPatternBase::key().
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 68 of file AlgoMuon.h.
References Key::getHwPatternNumber(), goldenPaternUnconstr, and GoldenPatternBase::key().
|
inline |
Definition at line 120 of file AlgoMuon.h.
References killedMuons.
unsigned int AlgoMuon::getPatternNum | ( | ) | const |
Definition at line 18 of file AlgoMuon.cc.
References GoldenPatternResult::getPdfSum(), GoldenPatternResult::getPdfSumUnconstr(), goldenPaternConstr, goldenPaternUnconstr, gpResultConstr, gpResultUnconstr, GoldenPatternBase::key(), and Key::theNumber.
|
inline |
Definition at line 44 of file AlgoMuon.h.
References m_patNumb.
Referenced by operator<(), and XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 56 of file AlgoMuon.h.
References goldenPaternConstr, GoldenPatternBase::key(), and Key::theNumber.
|
inline |
Definition at line 60 of file AlgoMuon.h.
References goldenPaternUnconstr, GoldenPatternBase::key(), and Key::theNumber.
|
inline |
Definition at line 78 of file AlgoMuon.h.
References GoldenPatternResult::getPdfSum(), GoldenPatternResult::getPdfSumUnconstr(), gpResultConstr, and gpResultUnconstr.
|
inline |
Definition at line 76 of file AlgoMuon.h.
References GoldenPatternResult::getPdfSum(), and gpResultConstr.
|
inline |
Definition at line 35 of file AlgoMuon.h.
References m_phi.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 88 of file AlgoMuon.h.
References GoldenPatternResult::getPdfSum(), GoldenPatternResult::getPdfSumUnconstr(), GoldenPatternResult::getPhi(), gpResultConstr, and gpResultUnconstr.
|
inline |
Definition at line 43 of file AlgoMuon.h.
References m_phiRHit.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 52 of file AlgoMuon.h.
References GoldenPatternResult::getRefHitPhi(), and gpResultConstr.
|
inline |
Definition at line 41 of file AlgoMuon.h.
References m_pt.
Referenced by XMLConfigWriter::writeAlgoMuon(), and OMTFReconstruction::writeResultToXML().
|
inline |
Definition at line 43 of file AlgoMuon.h.
References goldenPaternConstr, GoldenPatternBase::key(), and Key::thePt.
Referenced by isValid(), and XMLConfigWriter::writeAlgoMuon().
|
inline |
|
inline |
|
inline |
Definition at line 46 of file AlgoMuon.h.
References goldenPaternUnconstr, GoldenPatternBase::key(), and Key::thePt.
Referenced by isValid().
|
inline |
Definition at line 39 of file AlgoMuon.h.
References m_q.
Referenced by operator<(), and XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 105 of file AlgoMuon.h.
References GoldenPatternResult::getFiredLayerCnt(), GoldenPatternResult::getPdfSum(), GoldenPatternResult::getPdfSumUnconstr(), gpResultConstr, and gpResultUnconstr.
|
inline |
|
inline |
Definition at line 45 of file AlgoMuon.h.
References m_rhitNumb.
Referenced by operator<(), and XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 37 of file AlgoMuon.h.
References m_refLayer.
Referenced by XMLConfigWriter::writeAlgoMuon().
|
inline |
Definition at line 38 of file AlgoMuon.h.
References GoldenPatternResult::getRefLayer(), and gpResultConstr.
|
inline |
Definition at line 110 of file AlgoMuon.h.
References GoldenPatternResult::getStubResults(), and gpResultConstr.
|
inline |
Definition at line 112 of file AlgoMuon.h.
References GoldenPatternResult::getStubResults(), and gpResultConstr.
|
inline |
bool AlgoMuon::isValid | ( | void | ) | const |
Definition at line 6 of file AlgoMuon.cc.
References m_q.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 72 of file AlgoMuon.h.
References getPtConstr(), and getPtUnconstr().
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
bool AlgoMuon::operator< | ( | const AlgoMuon & | o | ) | const |
Definition at line 8 of file AlgoMuon.cc.
References getDisc(), getPatternNumber(), getQ(), getRefHitNumber(), and EcalTangentSkim_cfg::o.
|
inline |
|
inline |
Definition at line 55 of file AlgoMuon.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, and m_charge.
|
inline |
|
inline |
|
inline |
Definition at line 47 of file AlgoMuon.h.
References TtSemiLepEvtBuilder_cfi::disc, and m_disc.
Referenced by OMTFSorter< GoldenPatternType >::sortSingleResult().
|
inline |
Definition at line 30 of file AlgoMuon.h.
References PVValHelper::eta, gpResultConstr, and GoldenPatternResult::setEta().
|
inline |
Definition at line 49 of file AlgoMuon.h.
References PVValHelper::eta, and m_eta.
Referenced by OMTFSorter< GoldenPatternType >::sortSingleResult().
|
inline |
|
inline |
|
inline |
Definition at line 51 of file AlgoMuon.h.
References hfClusterShapes_cfi::hits, and m_hits.
Referenced by OMTFSorter< GoldenPatternType >::sortSingleResult().
|
inline |
Definition at line 57 of file AlgoMuon.h.
References m_patNumb.
Referenced by OMTFSorter< GoldenPatternType >::sortRefHitResults().
|
inline |
Definition at line 48 of file AlgoMuon.h.
Referenced by OMTFSorter< GoldenPatternType >::sortSingleResult().
|
inline |
Definition at line 56 of file AlgoMuon.h.
References m_phiRHit.
Referenced by OMTFSorter< GoldenPatternType >::sortRefHitResults(), and OMTFSorter< GoldenPatternType >::sortSingleResult().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 52 of file AlgoMuon.h.
References m_q, and submitPVResolutionJobs::q.
Referenced by OMTFSorter< GoldenPatternType >::sortSingleResult().
|
inline |
|
inline |
|
inline |
Definition at line 50 of file AlgoMuon.h.
References m_refLayer.
Referenced by OMTFSorter< GoldenPatternType >::sortSingleResult().
|
friend |
|
friend |
|
private |
Definition at line 169 of file AlgoMuon.h.
Referenced by getChargeNNConstr(), and setChargeNNConstr().
|
private |
Definition at line 172 of file AlgoMuon.h.
Referenced by getChargeNNUnconstr(), and setChargeNNUnconstr().
|
private |
Definition at line 152 of file AlgoMuon.h.
Referenced by getChargeConstr(), getGoldenPatern(), getHwPatternNumConstr(), getPatternNum(), getPatternNumConstr(), and getPtConstr().
|
private |
Definition at line 155 of file AlgoMuon.h.
Referenced by getGoldenPaternUnconstr(), getHwPatternNumUnconstr(), getPatternNum(), getPatternNumUnconstr(), getPtUnconstr(), and setGoldenPaternUnconstr().
|
private |
FIXME maybe the gpResult cannot be a reference or pointer, ad not a copy.
Definition at line 146 of file AlgoMuon.h.
Referenced by getDisc(), getEtaHw(), getFiredLayerBits(), getFiredLayerCnt(), getFiredLayerCntConstr(), getGpResultConstr(), getPatternNum(), getPdfSum(), getPdfSumConstr(), getPhi(), getPhiRHit(), getQ(), getRefLayer(), getStubResult(), getStubResultsConstr(), and setEta().
|
private |
Definition at line 150 of file AlgoMuon.h.
Referenced by getDisc(), getFiredLayerBits(), getFiredLayerCnt(), getGpResultUnconstr(), getPatternNum(), getPdfSum(), getPhi(), getQ(), and setGpResultUnconstr().
|
private |
Definition at line 164 of file AlgoMuon.h.
|
private |
Definition at line 162 of file AlgoMuon.h.
Referenced by isKilled(), and kill().
|
private |
Definition at line 166 of file AlgoMuon.h.
Referenced by getKilledMuons().
|
private |
Definition at line 73 of file AlgoMuon.h.
|
private |
Definition at line 75 of file AlgoMuon.h.
Referenced by getCharge(), and setCharge().
|
private |
Definition at line 67 of file AlgoMuon.h.
|
private |
Definition at line 69 of file AlgoMuon.h.
|
private |
Definition at line 71 of file AlgoMuon.h.
|
private |
Definition at line 79 of file AlgoMuon.h.
Referenced by getPatternNumber(), and setPatternNumber().
|
private |
Definition at line 68 of file AlgoMuon.h.
|
private |
Definition at line 76 of file AlgoMuon.h.
Referenced by getPhiRHit(), and setPhiRHit().
|
private |
Definition at line 74 of file AlgoMuon.h.
|
private |
Definition at line 72 of file AlgoMuon.h.
|
private |
Definition at line 70 of file AlgoMuon.h.
Referenced by getRefLayer(), and setRefLayer().
|
private |
Definition at line 80 of file AlgoMuon.h.
Referenced by getRefHitNumber(), and setRefHitNumber().
|
private |
Definition at line 168 of file AlgoMuon.h.
Referenced by getPtNNConstr(), and setPtNNConstr().
|
private |
Definition at line 171 of file AlgoMuon.h.
Referenced by getPtNNUnconstr(), and setPtNNUnconstr().