#include <RPCMuon.h>
Classes | |
struct | TDigiLink |
Public Types | |
typedef std::vector< TDigiLink > | TDigiLinkVec |
Public Member Functions | |
RPCConst::l1RpcConeCrdnts | getConeCrdnts () const |
TDigiLinkVec | getDigiIdxVec () |
unsigned short | getFiredPlanes () const |
bits of this number denotes fired planes that conform to pattern pattern | |
int | getLogConeIdx () const |
the index in LogConesVec stored in L1RpcTrigg (accessed by GetActiveCones) | |
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 (const RPCConst::l1RpcConeCrdnts coneCrdnts, int ptCode, int quality, int sign, int patternNum, unsigned short firedPlanes) | |
Constructor. All parameters are set. | |
RPCMuon () | |
Default constructor. No muon. | |
RPCMuon (int ptCode, int quality, int sign, int patternNum, unsigned short firedPlanes) | |
Constructor. | |
void | setConeCrdnts (const RPCConst::l1RpcConeCrdnts &coneCrdnts) |
void | setDigiIdxVec (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. | |
TDigiLinkVec | m_digiIdxVec |
unsigned short | m_FiredPlanes |
bits of this number denotes fired planes that conform to pattern pattern | |
int | m_LogConeIdx |
int | m_PatternNum |
number of pattern (in given Pac), that was fit to this muon. | |
unsigned int | m_PtCode |
5 bits, 0-31. | |
unsigned int | m_Quality |
3 bits, 0-7. | |
int | m_RefStripNum |
unsigned int | m_Sign |
1 bit, 0 - negative, 1 - positive. |
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.
{ m_PtCode = 0; m_Quality = 0; m_Sign = 0; m_PatternNum = -1; m_RefStripNum = -1; }
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, and m_Sign.
{ m_ConeCrdnts = coneCrdnts; m_PtCode = ptCode; m_Quality = quality; m_Sign = sign; m_PatternNum = patternNum; m_FiredPlanes = firedPlanes; }
RPCMuon::RPCMuon | ( | int | ptCode, |
int | quality, | ||
int | sign, | ||
int | patternNum, | ||
unsigned short | firedPlanes | ||
) |
Constructor.
Definition at line 38 of file RPCMuon.cc.
References m_ConeCrdnts, m_FiredPlanes, m_PatternNum, m_PtCode, m_Quality, and m_Sign.
{ m_ConeCrdnts = RPCConst::l1RpcConeCrdnts(); m_PtCode = ptCode; m_Quality = quality; m_Sign = sign; m_PatternNum = patternNum; m_FiredPlanes = firedPlanes; }
RPCConst::l1RpcConeCrdnts RPCMuon::getConeCrdnts | ( | ) | const |
TDigiLinkVec RPCMuon::getDigiIdxVec | ( | ) | [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 86 of file RPCMuon.cc.
References m_FiredPlanes.
{ return m_FiredPlanes; }
int RPCMuon::getLogConeIdx | ( | ) | const |
the index in LogConesVec stored in L1RpcTrigg (accessed by GetActiveCones)
Definition at line 83 of file RPCMuon.cc.
References m_LogConeIdx.
{ return m_LogConeIdx; }
int RPCMuon::getLogSector | ( | ) | const |
Definition at line 60 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSector.
Referenced by RPCTBMuon::printDebugInfo().
{ return m_ConeCrdnts.m_LogSector; }
int RPCMuon::getLogSegment | ( | ) | const |
Definition at line 62 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSegment.
Referenced by RPCTBMuon::printDebugInfo().
{ return m_ConeCrdnts.m_LogSegment; }
int RPCMuon::getPatternNum | ( | ) | const |
int RPCMuon::getPtCode | ( | ) | const |
Definition at line 66 of file RPCMuon.cc.
References m_PtCode.
Referenced by MuonsGrabber::addMuon(), and RPCTBMuon::printDebugInfo().
{ return m_PtCode; }
int RPCMuon::getQuality | ( | ) | const |
Definition at line 70 of file RPCMuon.cc.
References m_Quality.
Referenced by RPCTBMuon::printDebugInfo(), and RPCPac::runTrackPatternsGroup().
{ return m_Quality; }
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)]) + m_CurrConeCrdnts.m_LogSector * 96 + m_CurrConeCrdnts.m_LogSegment * 8;
Definition at line 95 of file RPCMuon.cc.
References m_RefStripNum.
{ return m_RefStripNum; }
int RPCMuon::getSign | ( | ) | const |
Definition at line 74 of file RPCMuon.cc.
References m_Sign.
Referenced by RPCTBMuon::printDebugInfo().
{ return m_Sign; }
int RPCMuon::getTower | ( | ) | const |
Definition at line 58 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_Tower.
Referenced by RPCTBMuon::printDebugInfo().
{ return m_ConeCrdnts.m_Tower;}
void RPCMuon::setConeCrdnts | ( | const RPCConst::l1RpcConeCrdnts & | coneCrdnts | ) |
Definition at line 54 of file RPCMuon.cc.
References m_ConeCrdnts.
Referenced by RPCPac::run().
{ m_ConeCrdnts = coneCrdnts; }
void RPCMuon::setDigiIdxVec | ( | TDigiLinkVec | d | ) | [inline] |
Definition at line 80 of file RPCMuon.h.
References m_digiIdxVec.
Referenced by RPCPac::runEnergeticPatternsGroups(), and RPCPac::runTrackPatternsGroup().
{m_digiIdxVec = d;};
void RPCMuon::setLogConeIdx | ( | int | logConeIdx | ) |
Definition at line 80 of file RPCMuon.cc.
References m_LogConeIdx.
Referenced by RPCPac::run().
{ m_LogConeIdx = logConeIdx; }
void RPCMuon::setPatternNum | ( | int | patternNum | ) |
Reimplemented in RPCPacMuon.
Definition at line 78 of file RPCMuon.cc.
References m_PatternNum.
{ m_PatternNum = patternNum; }
void RPCMuon::setPtCode | ( | int | ptCode | ) |
void RPCMuon::setQuality | ( | int | quality | ) |
void RPCMuon::setRefStripNum | ( | int | refStripNum | ) |
Definition at line 88 of file RPCMuon.cc.
References m_RefStripNum.
{ m_RefStripNum = refStripNum; }
void RPCMuon::setSign | ( | int | sign | ) |
RPCConst::l1RpcConeCrdnts RPCMuon::m_ConeCrdnts [protected] |
The coordinates of LogCone, in which the muon was found.
Definition at line 80 of file RPCMuon.h.
Referenced by getConeCrdnts(), getLogSector(), getLogSegment(), getTower(), RPCMuon(), and setConeCrdnts().
TDigiLinkVec RPCMuon::m_digiIdxVec [protected] |
Definition at line 106 of file RPCMuon.h.
Referenced by getDigiIdxVec(), and setDigiIdxVec().
unsigned short RPCMuon::m_FiredPlanes [protected] |
bits of this number denotes fired planes that conform to pattern pattern
Definition at line 101 of file RPCMuon.h.
Referenced by getFiredPlanes(), RPCMuon(), and RPCPacMuon::setAll().
int RPCMuon::m_LogConeIdx [protected] |
Definition at line 98 of file RPCMuon.h.
Referenced by getLogConeIdx(), and setLogConeIdx().
int RPCMuon::m_PatternNum [protected] |
number of pattern (in given Pac), that was fit to this muon.
Definition at line 96 of file RPCMuon.h.
Referenced by getPatternNum(), RPCMuon(), RPCPacMuon::setAll(), setPatternNum(), and RPCPacMuon::setPatternNum().
unsigned int RPCMuon::m_PtCode [protected] |
5 bits, 0-31.
Definition at line 87 of file RPCMuon.h.
Referenced by RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), RPCTBMuon::PACOut::fromBits(), RPCTBMuon::getCode(), getPtCode(), RPCTBMuon::isLive(), RPCPacMuon::operator<(), RPCPacMuon::operator==(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), RPCTBMuon::setCode(), setPtCode(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::FSBOut::toBits(), RPCTBMuon::toString(), and RPCTBMuon::wasKilled().
unsigned int RPCMuon::m_Quality [protected] |
3 bits, 0-7.
Definition at line 90 of file RPCMuon.h.
Referenced by RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), RPCTBMuon::PACOut::fromBits(), RPCTBMuon::getCode(), getQuality(), RPCPacMuon::operator<(), RPCPacMuon::operator==(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), RPCTBMuon::setCode(), setQuality(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::FSBOut::toBits(), and RPCTBMuon::toString().
int RPCMuon::m_RefStripNum [protected] |
Definition at line 103 of file RPCMuon.h.
Referenced by getRefStripNum(), RPCMuon(), and setRefStripNum().
unsigned int RPCMuon::m_Sign [protected] |
1 bit, 0 - negative, 1 - positive.
Definition at line 93 of file RPCMuon.h.
Referenced by RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), RPCTBMuon::PACOut::fromBits(), RPCTBMuon::getCode(), getSign(), RPCPacMuon::operator<(), RPCPacMuon::operator==(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), setSign(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::FSBOut::toBits(), and RPCTBMuon::toString().