#include <RPCMuon.h>
Classes | |
struct | TDigiLink |
Public Types | |
typedef std::vector< TDigiLink > | TDigiLinkVec |
Public Member Functions | |
RPCConst::l1RpcConeCrdnts | getConeCrdnts () const |
TDigiLinkVec | getDigiIdxVec () const |
unsigned short | getFiredPlanes () const |
bits of this number denotes fired planes that conform to pattern pattern More... | |
int | getLogConeIdx () const |
the index in LogConesVec stored in L1RpcTrigg (accessed by GetActiveCones) More... | |
int | getLogSector () const |
int | getLogSegment () const |
int | getPatternNum () const |
int | getPtCode () const |
int | getQuality () const |
int | getRefStripNum () const |
int | getSign () const |
int | getTower () const |
RPCMuon () | |
Default constructor. No muon. More... | |
RPCMuon (const RPCConst::l1RpcConeCrdnts coneCrdnts, int ptCode, int quality, int sign, int patternNum, unsigned short firedPlanes) | |
Constructor. All parameters are set. More... | |
RPCMuon (int ptCode, int quality, int sign, int patternNum, unsigned short firedPlanes) | |
Constructor. More... | |
void | setConeCrdnts (const RPCConst::l1RpcConeCrdnts &coneCrdnts) |
void | setDigiIdxVec (const TDigiLinkVec &d) |
void | setLogConeIdx (int logConeIdx) |
void | setPatternNum (int patternNum) |
void | setPtCode (int ptCode) |
void | setQuality (int quality) |
void | setRefStripNum (int refStripNum) |
void | setSign (int sign) |
Protected Attributes | |
RPCConst::l1RpcConeCrdnts | m_ConeCrdnts |
The coordinates of LogCone, in which the muon was found. More... | |
TDigiLinkVec | m_digiIdxVec |
unsigned short | m_FiredPlanes |
bits of this number denotes fired planes that conform to pattern pattern More... | |
int | m_LogConeIdx |
int | m_PatternNum |
number of pattern (in given Pac), that was fit to this muon. More... | |
unsigned int | m_PtCode |
5 bits, 0-31. More... | |
unsigned int | m_Quality |
3 bits, 0-7. More... | |
int | m_RefStripNum |
unsigned int | m_Sign |
1 bit, 0 - negative, 1 - positive. More... | |
Basic L1RPC muon candidate. Containes coordinates of LogCone, in which the muon was found, ptCode (0 - 31, 0 means no muon), track quality (depends on count of fired planes), sign and number of pattern, that was fit to hits by m_PAC
typedef std::vector<TDigiLink> RPCMuon::TDigiLinkVec |
RPCMuon::RPCMuon | ( | ) |
Default constructor. No muon.
Definition at line 9 of file RPCMuon.cc.
References m_PatternNum, m_PtCode, m_Quality, m_RefStripNum, and m_Sign.
RPCMuon::RPCMuon | ( | const RPCConst::l1RpcConeCrdnts | coneCrdnts, |
int | ptCode, | ||
int | quality, | ||
int | sign, | ||
int | patternNum, | ||
unsigned short | firedPlanes | ||
) |
Constructor. All parameters are set.
Definition at line 22 of file RPCMuon.cc.
References m_ConeCrdnts, m_FiredPlanes, m_PatternNum, m_PtCode, m_Quality, m_Sign, qcdUeDQM_cfi::quality, and Validation_hcalonly_cfi::sign.
RPCMuon::RPCMuon | ( | int | ptCode, |
int | quality, | ||
int | sign, | ||
int | patternNum, | ||
unsigned short | firedPlanes | ||
) |
Constructor.
Definition at line 40 of file RPCMuon.cc.
References m_ConeCrdnts, m_FiredPlanes, m_PatternNum, m_PtCode, m_Quality, m_Sign, qcdUeDQM_cfi::quality, and Validation_hcalonly_cfi::sign.
RPCConst::l1RpcConeCrdnts RPCMuon::getConeCrdnts | ( | ) | const |
|
inline |
unsigned short RPCMuon::getFiredPlanes | ( | ) | const |
bits of this number denotes fired planes that conform to pattern pattern
bits of this number denote fired planes that conform to pattern pattern
Definition at line 85 of file RPCMuon.cc.
References m_FiredPlanes.
int RPCMuon::getLogConeIdx | ( | ) | const |
the index in LogConesVec stored in L1RpcTrigg (accessed by GetActiveCones)
Definition at line 82 of file RPCMuon.cc.
References m_LogConeIdx.
int RPCMuon::getLogSector | ( | ) | const |
Definition at line 59 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSector.
Referenced by RPCTBMuon::printDebugInfo().
int RPCMuon::getLogSegment | ( | ) | const |
Definition at line 61 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSegment.
Referenced by RPCTBMuon::printDebugInfo().
int RPCMuon::getPatternNum | ( | ) | const |
int RPCMuon::getPtCode | ( | ) | const |
Definition at line 65 of file RPCMuon.cc.
References m_PtCode.
Referenced by RPCTBMuon::printDebugInfo().
int RPCMuon::getQuality | ( | ) | const |
Definition at line 69 of file RPCMuon.cc.
References m_Quality.
Referenced by RPCTBMuon::printDebugInfo(), and RPCPac::runTrackPatternsGroup().
int RPCMuon::getRefStripNum | ( | ) | const |
continous number of strip in reference plane, set by RPCPacData::run int refStripNum = getPattern(bestMuon.getPatternNum()).getStripFrom(m_REF_PLANE[abs(m_CurrConeCrdnts.m_Tower)])
Definition at line 94 of file RPCMuon.cc.
References m_RefStripNum.
int RPCMuon::getSign | ( | ) | const |
Definition at line 73 of file RPCMuon.cc.
References m_Sign.
Referenced by RPCTBMuon::printDebugInfo().
int RPCMuon::getTower | ( | ) | const |
Definition at line 57 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_Tower.
Referenced by RPCTBMuon::printDebugInfo().
void RPCMuon::setConeCrdnts | ( | const RPCConst::l1RpcConeCrdnts & | coneCrdnts | ) |
|
inline |
Definition at line 83 of file RPCMuon.h.
References ztail::d, and m_digiIdxVec.
Referenced by RPCPac::runEnergeticPatternsGroups(), and RPCPac::runTrackPatternsGroup().
void RPCMuon::setLogConeIdx | ( | int | logConeIdx | ) |
void RPCMuon::setPatternNum | ( | int | patternNum | ) |
void RPCMuon::setPtCode | ( | int | ptCode | ) |
void RPCMuon::setQuality | ( | int | quality | ) |
Definition at line 67 of file RPCMuon.cc.
References m_Quality, and qcdUeDQM_cfi::quality.
void RPCMuon::setRefStripNum | ( | int | refStripNum | ) |
void RPCMuon::setSign | ( | int | sign | ) |
Definition at line 71 of file RPCMuon.cc.
References m_Sign, and Validation_hcalonly_cfi::sign.
|
protected |
The coordinates of LogCone, in which the muon was found.
Definition at line 83 of file RPCMuon.h.
Referenced by getConeCrdnts(), getLogSector(), getLogSegment(), getTower(), RPCMuon(), and setConeCrdnts().
|
protected |
Definition at line 108 of file RPCMuon.h.
Referenced by getDigiIdxVec(), and setDigiIdxVec().
|
protected |
bits of this number denotes fired planes that conform to pattern pattern
Definition at line 104 of file RPCMuon.h.
Referenced by getFiredPlanes(), RPCMuon(), and RPCPacMuon::setAll().
|
protected |
Definition at line 101 of file RPCMuon.h.
Referenced by getLogConeIdx(), and setLogConeIdx().
|
protected |
number of pattern (in given Pac), that was fit to this muon.
Definition at line 99 of file RPCMuon.h.
Referenced by getPatternNum(), RPCMuon(), RPCPacMuon::setAll(), RPCPacMuon::setPatternNum(), and setPatternNum().
|
protected |
5 bits, 0-31.
Definition at line 90 of file RPCMuon.h.
Referenced by RPCTBMuon::getCode(), getPtCode(), RPCTBMuon::isLive(), RPCPacMuon::operator<(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), RPCTBMuon::setCode(), setPtCode(), RPCTBMuon::toString(), and RPCTBMuon::wasKilled().
|
protected |
3 bits, 0-7.
Definition at line 93 of file RPCMuon.h.
Referenced by RPCTBMuon::getCode(), getQuality(), RPCPacMuon::operator<(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), RPCTBMuon::setCode(), setQuality(), and RPCTBMuon::toString().
|
protected |
Definition at line 106 of file RPCMuon.h.
Referenced by getRefStripNum(), RPCMuon(), and setRefStripNum().
|
protected |
1 bit, 0 - negative, 1 - positive.
Definition at line 96 of file RPCMuon.h.
Referenced by RPCTBMuon::getCode(), getSign(), RPCPacMuon::operator<(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), setSign(), and RPCTBMuon::toString().