#include <RPCPacMuon.h>
Public Member Functions | |
bool | operator< (const RPCPacMuon &pacMuon) const |
bool | operator== (const RPCPacMuon &pacMuon) const |
bool | operator> (const RPCPacMuon &pacMuon) const |
RPCPacMuon () | |
Default constructor. No muon. More... | |
RPCPacMuon (const RPCPattern &pattern, int quality, unsigned short firedPlanes) | |
Constructor. More... | |
void | setAll (const RPCPattern &pattern, int quality, unsigned short firedPlanes) |
void | setPatternNum (int patternNum) |
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) |
Additional Inherited Members | |
Public Types inherited from RPCMuon | |
typedef std::vector< TDigiLink > | TDigiLinkVec |
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... | |
Muon candidate found by m_PAC for one LogCone. Containes the compare operators used during sorting inside the m_PAC. The m_PAC sets for muon its cone coordinates.
Definition at line 15 of file RPCPacMuon.h.
RPCPacMuon::RPCPacMuon | ( | ) |
RPCPacMuon::RPCPacMuon | ( | const RPCPattern & | pattern, |
int | quality, | ||
unsigned short | firedPlanes | ||
) |
bool RPCPacMuon::operator< | ( | const RPCPacMuon & | pacMuon | ) | const |
Definition at line 29 of file RPCPacMuon.cc.
References RPCMuon::m_PtCode, RPCMuon::m_Quality, and RPCMuon::m_Sign.
bool RPCPacMuon::operator== | ( | const RPCPacMuon & | pacMuon | ) | const |
Definition at line 67 of file RPCPacMuon.cc.
References RPCMuon::m_PtCode, RPCMuon::m_Quality, and RPCMuon::m_Sign.
bool RPCPacMuon::operator> | ( | const RPCPacMuon & | pacMuon | ) | const |
Definition at line 49 of file RPCPacMuon.cc.
References RPCMuon::m_PtCode, RPCMuon::m_Quality, and RPCMuon::m_Sign.
void RPCPacMuon::setAll | ( | const RPCPattern & | pattern, |
int | quality, | ||
unsigned short | firedPlanes | ||
) |
Definition at line 17 of file RPCPacMuon.cc.
References RPCPattern::getCode(), RPCPattern::getNumber(), RPCPattern::getSign(), RPCMuon::m_FiredPlanes, RPCMuon::m_PatternNum, RPCMuon::m_PtCode, RPCMuon::m_Quality, RPCMuon::m_Sign, and jets_cff::quality.
Referenced by RPCPac::runEnergeticPatternsGroups().
void RPCPacMuon::setPatternNum | ( | int | patternNum | ) |
Definition at line 25 of file RPCPacMuon.cc.
References RPCMuon::m_PatternNum.