#include <RPCTBMuon.h>
Classes | |
class | FSBOut |
class | HSBOut |
class | PACOut |
class | TBOut |
class | TCOut |
struct | TMuonMore |
Used in sorting. More... | |
Public Types | |
enum | MuonBitsType { mbtPACOut, mbtTBSortOut, mbtTCSortOut, mbtHSBOut, mbtFSBOut, mbtUnset } |
Public Types inherited from RPCMuon | |
typedef std::vector< TDigiLink > | TDigiLinkVec |
Public Member Functions | |
void | fromBits (MuonBitsType muonBitsType, unsigned int value) |
bool | gBDataKilledFirst () const |
bool | gBDataKilledLast () const |
int | getCode () const |
Combined quality and ptCode, 8 bits [7...6 m_Quality, 5...1 m_PtCode, 0 sign], used in GhoustBusters. More... | |
int | getContinSegmAddr () const |
int | getEtaAddr () const |
int | getGBData () const |
std::string | getGBDataBitStr () const |
int | getPhiAddr () const |
int | getSectorAddr () const |
int | getSegmentAddr () const |
bool | isLive () const |
void | kill () |
std::string | printDebugInfo (int debugFormat) const |
Gives debuging info in human readable format (1) or technicall format (2) More... | |
std::string | printExtDebugInfo (int, int, int) const |
RPCTBMuon () | |
Empty muon. More... | |
RPCTBMuon (int ptCode, int quality, int sign, int patternNum, unsigned short firedPlanes) | |
RPCTBMuon (int ptCode, int quality, int sign, MuonBitsType muonBitsType) | |
RPCTBMuon (const RPCPacMuon &pacMuon) | |
void | setAddress (int etaAddr, int phiAddr) |
void | setAddress (int tbNumber, int tbTower, int phiAddr) |
void | setCode (int code) |
Sets combined code: 8 bits [7...5 m_Quality, 4...0 m_PtCode]. More... | |
void | setCodeAndEtaAddr (int code, int etaAddr) |
void | setCodeAndPhiAddr (int code, int phiAddr) |
void | setEtaAddr (int etaAddr) |
void | setGBData (unsigned int gbData) |
void | setGBDataKilledFirst () |
void | setGBDataKilledLast () |
void | setPhiAddr (int phiAddr) |
void | setSectorAddr (int sectorAddr) |
unsigned int | toBits (MuonBitsType muonBitsType) const |
unsigned int | toBits () const |
std::string | toString (int format) const |
bool | wasKilled () const |
Public Member Functions inherited from RPCMuon | |
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) |
Private Attributes | |
unsigned int | m_EtaAddress |
unsigned int | m_GBData |
bool | m_Killed |
true means that muon was killed during GB More... | |
MuonBitsType | m_muonBitsType |
unsigned int | m_PhiAddress |
Friends | |
class | FSBOut |
class | HSBOut |
class | PACOut |
class | TBOut |
class | TCOut |
Additional Inherited Members | |
Protected Attributes inherited from RPCMuon | |
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... | |
Used in Ghoust Busters and sorters. Has additionall filds: m_Killed, m_GBData, m_EtaAddress, m_PhiAddress need in these algorithms.
Definition at line 19 of file RPCTBMuon.h.
Enumerator | |
---|---|
mbtPACOut | |
mbtTBSortOut | |
mbtTCSortOut | |
mbtHSBOut | |
mbtFSBOut | |
mbtUnset |
Definition at line 21 of file RPCTBMuon.h.
RPCTBMuon::RPCTBMuon | ( | ) |
Empty muon.
Definition at line 14 of file RPCTBMuon.cc.
References m_EtaAddress, m_GBData, m_Killed, and m_PhiAddress.
RPCTBMuon::RPCTBMuon | ( | int | ptCode, |
int | quality, | ||
int | sign, | ||
int | patternNum, | ||
unsigned short | firedPlanes | ||
) |
Definition at line 23 of file RPCTBMuon.cc.
References m_EtaAddress, m_GBData, m_Killed, m_muonBitsType, m_PhiAddress, and mbtUnset.
RPCTBMuon::RPCTBMuon | ( | int | ptCode, |
int | quality, | ||
int | sign, | ||
MuonBitsType | muonBitsType | ||
) |
Definition at line 37 of file RPCTBMuon.cc.
References m_EtaAddress, m_GBData, m_Killed, m_muonBitsType, and m_PhiAddress.
RPCTBMuon::RPCTBMuon | ( | const RPCPacMuon & | pacMuon | ) |
Definition at line 187 of file RPCTBMuon.cc.
References m_EtaAddress, m_GBData, m_Killed, and m_PhiAddress.
void RPCTBMuon::fromBits | ( | RPCTBMuon::MuonBitsType | muonBitsType, |
unsigned int | value | ||
) |
Definition at line 223 of file RPCTBMuon.cc.
References RPCTBMuon::PACOut::fromBits(), RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), mbtFSBOut, mbtHSBOut, mbtPACOut, mbtTBSortOut, and mbtTCSortOut.
Referenced by toBits().
bool RPCTBMuon::gBDataKilledFirst | ( | ) | const |
bool RPCTBMuon::gBDataKilledLast | ( | ) | const |
int RPCTBMuon::getCode | ( | ) | const |
Combined quality and ptCode, 8 bits [7...6 m_Quality, 5...1 m_PtCode, 0 sign], used in GhoustBusters.
Definition at line 88 of file RPCTBMuon.cc.
References RPCMuon::m_PtCode, RPCMuon::m_Quality, and RPCMuon::m_Sign.
Referenced by RPCTBMuon::TMuonMore::operator()().
int RPCTBMuon::getContinSegmAddr | ( | ) | const |
int RPCTBMuon::getEtaAddr | ( | ) | const |
Definition at line 124 of file RPCTBMuon.cc.
References m_EtaAddress.
Referenced by printDebugInfo().
int RPCTBMuon::getGBData | ( | ) | const |
std::string RPCTBMuon::getGBDataBitStr | ( | ) | const |
Definition at line 146 of file RPCTBMuon.cc.
References m_GBData, harvestTrackValidationPlots::str, and AlCaHLTBitMon_QueryRunRegistry::string.
int RPCTBMuon::getPhiAddr | ( | ) | const |
Definition at line 126 of file RPCTBMuon.cc.
References m_PhiAddress.
Referenced by printDebugInfo().
int RPCTBMuon::getSectorAddr | ( | ) | const |
Definition at line 130 of file RPCTBMuon.cc.
References m_PhiAddress.
Referenced by getContinSegmAddr(), and printDebugInfo().
int RPCTBMuon::getSegmentAddr | ( | ) | const |
Definition at line 128 of file RPCTBMuon.cc.
References m_PhiAddress.
Referenced by getContinSegmAddr(), and printDebugInfo().
bool RPCTBMuon::isLive | ( | ) | const |
Definition at line 179 of file RPCTBMuon.cc.
References m_Killed, and RPCMuon::m_PtCode.
void RPCTBMuon::kill | ( | ) |
Definition at line 167 of file RPCTBMuon.cc.
References m_Killed.
std::string RPCTBMuon::printDebugInfo | ( | int | debugFormat | ) | const |
Gives debuging info in human readable format (1) or technicall format (2)
Definition at line 55 of file RPCTBMuon.cc.
References getEtaAddr(), getGBData(), RPCMuon::getLogSector(), RPCMuon::getLogSegment(), getPhiAddr(), RPCMuon::getPtCode(), RPCMuon::getQuality(), getSectorAddr(), getSegmentAddr(), RPCMuon::getSign(), RPCMuon::getTower(), mbtFSBOut, and toBits().
std::string RPCTBMuon::printExtDebugInfo | ( | int | , |
int | , | ||
int | |||
) | const |
void RPCTBMuon::setAddress | ( | int | etaAddr, |
int | phiAddr | ||
) |
void RPCTBMuon::setAddress | ( | int | tbNumber, |
int | tbTower, | ||
int | phiAddr | ||
) |
void RPCTBMuon::setCode | ( | int | code | ) |
Sets combined code: 8 bits [7...5 m_Quality, 4...0 m_PtCode].
Definition at line 98 of file RPCTBMuon.cc.
References RPCMuon::m_PtCode, and RPCMuon::m_Quality.
Referenced by setCodeAndEtaAddr(), and setCodeAndPhiAddr().
void RPCTBMuon::setCodeAndEtaAddr | ( | int | code, |
int | etaAddr | ||
) |
Definition at line 139 of file RPCTBMuon.cc.
References m_EtaAddress, and setCode().
void RPCTBMuon::setCodeAndPhiAddr | ( | int | code, |
int | phiAddr | ||
) |
Definition at line 134 of file RPCTBMuon.cc.
References m_PhiAddress, and setCode().
void RPCTBMuon::setEtaAddr | ( | int | etaAddr | ) |
void RPCTBMuon::setGBData | ( | unsigned int | gbData | ) |
void RPCTBMuon::setGBDataKilledFirst | ( | ) |
void RPCTBMuon::setGBDataKilledLast | ( | ) |
void RPCTBMuon::setPhiAddr | ( | int | phiAddr | ) |
void RPCTBMuon::setSectorAddr | ( | int | sectorAddr | ) |
unsigned int RPCTBMuon::toBits | ( | RPCTBMuon::MuonBitsType | muonBitsType | ) | const |
Definition at line 200 of file RPCTBMuon.cc.
References mbtFSBOut, mbtHSBOut, mbtPACOut, mbtTBSortOut, mbtTCSortOut, RPCTBMuon::PACOut::toBits(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), and RPCTBMuon::FSBOut::toBits().
|
inline |
Definition at line 106 of file RPCTBMuon.h.
References fromBits(), m_muonBitsType, AlCaHLTBitMon_QueryRunRegistry::string, and toString().
Referenced by RPCTBMuon::TMuonMore::operator()(), and printDebugInfo().
std::string RPCTBMuon::toString | ( | int | format | ) | const |
Definition at line 366 of file RPCTBMuon.cc.
References m_EtaAddress, m_PhiAddress, RPCMuon::m_PtCode, RPCMuon::m_Quality, and RPCMuon::m_Sign.
Referenced by toBits().
bool RPCTBMuon::wasKilled | ( | ) | const |
Definition at line 171 of file RPCTBMuon.cc.
References m_Killed, and RPCMuon::m_PtCode.
|
friend |
Definition at line 202 of file RPCTBMuon.h.
|
friend |
Definition at line 189 of file RPCTBMuon.h.
|
friend |
Definition at line 146 of file RPCTBMuon.h.
|
friend |
Definition at line 161 of file RPCTBMuon.h.
|
friend |
Definition at line 175 of file RPCTBMuon.h.
|
private |
Definition at line 117 of file RPCTBMuon.h.
Referenced by RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), getEtaAddr(), RPCTBMuon(), setAddress(), setCodeAndEtaAddr(), setEtaAddr(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), and toString().
|
private |
2 bits, 0 00 - this muon did not kill nothing on the sector edge 1 01 - this muon killed muon from segment 0 (the "right" sector edge), or is in segment 0 2 10 - this muon killed muon from segment 11 (the "left" sector edge), or is in segment 11 3 11 - this muon killed muon from segment 0 and 11
Definition at line 126 of file RPCTBMuon.h.
Referenced by RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), gBDataKilledFirst(), gBDataKilledLast(), getGBData(), getGBDataBitStr(), RPCTBMuon(), setGBData(), setGBDataKilledFirst(), setGBDataKilledLast(), RPCTBMuon::TBOut::toBits(), and RPCTBMuon::TCOut::toBits().
|
private |
true means that muon was killed during GB
Definition at line 129 of file RPCTBMuon.h.
Referenced by isLive(), kill(), RPCTBMuon(), and wasKilled().
|
private |
Definition at line 115 of file RPCTBMuon.h.
Referenced by RPCTBMuon(), and toBits().
|
private |
Definition at line 119 of file RPCTBMuon.h.
Referenced by RPCTBMuon::TBOut::fromBits(), RPCTBMuon::TCOut::fromBits(), RPCTBMuon::HSBOut::fromBits(), RPCTBMuon::FSBOut::fromBits(), getPhiAddr(), getSectorAddr(), getSegmentAddr(), RPCTBMuon(), setAddress(), setCodeAndPhiAddr(), setPhiAddr(), setSectorAddr(), RPCTBMuon::TBOut::toBits(), RPCTBMuon::TCOut::toBits(), RPCTBMuon::HSBOut::toBits(), RPCTBMuon::FSBOut::toBits(), and toString().