#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, and shift_rpc_layout::quality.
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, m_Sign, and shift_rpc_layout::quality.
RPCConst::l1RpcConeCrdnts RPCMuon::getConeCrdnts | ( | ) | const |
Definition at line 52 of file RPCMuon.cc.
References m_ConeCrdnts.
|
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.
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.
int RPCMuon::getLogSector | ( | ) | const |
Definition at line 60 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSector.
Referenced by RPCTBMuon::printDebugInfo().
int RPCMuon::getLogSegment | ( | ) | const |
Definition at line 62 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSegment.
Referenced by RPCTBMuon::printDebugInfo().
int RPCMuon::getPatternNum | ( | ) | const |
Definition at line 76 of file RPCMuon.cc.
References m_PatternNum.
int RPCMuon::getPtCode | ( | ) | const |
Definition at line 66 of file RPCMuon.cc.
References m_PtCode.
Referenced by MuonsGrabber::addMuon(), and RPCTBMuon::printDebugInfo().
int RPCMuon::getQuality | ( | ) | const |
Definition at line 70 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 95 of file RPCMuon.cc.
References m_RefStripNum.
int RPCMuon::getSign | ( | ) | const |
Definition at line 74 of file RPCMuon.cc.
References m_Sign.
Referenced by RPCTBMuon::printDebugInfo().
int RPCMuon::getTower | ( | ) | const |
Definition at line 58 of file RPCMuon.cc.
References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_Tower.
Referenced by RPCTBMuon::printDebugInfo().
void RPCMuon::setConeCrdnts | ( | const RPCConst::l1RpcConeCrdnts & | coneCrdnts | ) |
Definition at line 54 of file RPCMuon.cc.
References m_ConeCrdnts.
Referenced by RPCPac::run().
|
inline |
Definition at line 80 of file RPCMuon.h.
References m_digiIdxVec.
Referenced by RPCPac::runEnergeticPatternsGroups(), and RPCPac::runTrackPatternsGroup().
void RPCMuon::setLogConeIdx | ( | int | logConeIdx | ) |
void RPCMuon::setPatternNum | ( | int | patternNum | ) |
Definition at line 78 of file RPCMuon.cc.
References m_PatternNum.
void RPCMuon::setPtCode | ( | int | ptCode | ) |
void RPCMuon::setQuality | ( | int | quality | ) |
void RPCMuon::setRefStripNum | ( | int | refStripNum | ) |
void RPCMuon::setSign | ( | int | sign | ) |
|
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().
|
protected |
Definition at line 106 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 101 of file RPCMuon.h.
Referenced by getFiredPlanes(), RPCMuon(), and RPCPacMuon::setAll().
|
protected |
Definition at line 98 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 96 of file RPCMuon.h.
Referenced by getPatternNum(), RPCMuon(), RPCPacMuon::setAll(), RPCPacMuon::setPatternNum(), and setPatternNum().
|
protected |
5 bits, 0-31.
Definition at line 87 of file RPCMuon.h.
Referenced by RPCTBMuon::PACOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), RPCTBMuon::getCode(), getPtCode(), RPCTBMuon::isLive(), RPCPacMuon::operator<(), RPCPacMuon::operator==(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), RPCTBMuon::setCode(), setPtCode(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), RPCTBMuon::toString(), and RPCTBMuon::wasKilled().
|
protected |
3 bits, 0-7.
Definition at line 90 of file RPCMuon.h.
Referenced by RPCTBMuon::PACOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), RPCTBMuon::getCode(), getQuality(), RPCPacMuon::operator<(), RPCPacMuon::operator==(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), RPCTBMuon::setCode(), setQuality(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), and RPCTBMuon::toString().
|
protected |
Definition at line 103 of file RPCMuon.h.
Referenced by getRefStripNum(), RPCMuon(), and setRefStripNum().
|
protected |
1 bit, 0 - negative, 1 - positive.
Definition at line 93 of file RPCMuon.h.
Referenced by RPCTBMuon::PACOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), RPCTBMuon::getCode(), getSign(), RPCPacMuon::operator<(), RPCPacMuon::operator==(), RPCPacMuon::operator>(), RPCMuon(), RPCPacMuon::setAll(), setSign(), RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), and RPCTBMuon::toString().