26 if (bufMuon > bestMuon)
48 unsigned short firedPlanes = 0;
49 int firedPlanesCount = 0;
50 unsigned short one = 1;
63 firedPlanes = firedPlanes | one;
74 if (firedPlanesCount == 0)
80 if (firedPlanesCount >= 3) {
84 RPCPacMuon bufMuon(pattern, quality, firedPlanes);
85 if (bufMuon > bestMuon) {
98 unsigned short firedPlanes = 0;
99 int firedPlanesCount = 0;
103 firedPlanesCount = 0;
104 unsigned short one = 1;
111 RPCLogCone::TLogPlane::const_iterator itLP = lp.begin();
112 RPCLogCone::TLogPlane::const_iterator itLPE = lp.end();
113 for (; itLP != itLPE; ++itLP) {
114 int strip = itLP->first;
115 if (iEGroup->m_GroupShape.getLogStripState(logPlane, strip)) {
116 firedPlanes = firedPlanes | one;
146 for (
unsigned int vecNum = 0; vecNum < iEGroup->m_PatternsItVec.size(); vecNum++) {
148 const RPCPattern::RPCPatVec::const_iterator patternIt = iEGroup->m_PatternsItVec[vecNum];
151 unsigned short one1 = 1;
154 logPlane++, one1 = one1 << 1) {
159 if ((firedPlanes & one1) != 0) {
179 bufMuon.
setAll(pattern, quality, firedPlanes);
184 if (bufMuon > bestMuon) {
void setDigiIdxVec(const TDigiLinkVec &d)
static const int m_USED_PLANES_COUNT[m_TOWER_COUNT]
m_Number of Logic Planes existing in each m_Tower.
int getStripTo(int logPlane) const
Next-to-last strip in range.
std::map< int, std::vector< int > > TLogPlane
bool getLogStripState(int logPlane, unsigned int logStripNum) const
TTPatternsGroup m_TrackPatternsGroup
Here patters used in "baseline" algorith are stored.
void setAll(const RPCPattern &pattern, int quality, unsigned short firedPlanes)
std::vector< RPCPattern::RPCPatVec::const_iterator > m_PatternsItVec
< Vector of itereator on m_PatternsVec in Pac.
RPCPacMuon runTrackPatternsGroup(const RPCLogCone &cone) const
int getStripFrom(int logPlane) const
First strip in range.
TLogPlane getLogPlane(int logPlane) const
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
RPCConst::TQualityTabsVec m_QualityTabsVec
int getHitsCnt(int logPlane) const
Gets fired strips count in given logPlane.
Abs< T >::type abs(const T &t)
void setConeCrdnts(const RPCConst::l1RpcConeCrdnts &coneCrdnts)
static const int m_FIRST_PLANE
Use ase a first index in loops.
int getQualityTabNumber() const
void setLogConeIdx(int logConeIdx)
std::vector< TDigiLink > TDigiLinkVec
RPCPacMuon runEnergeticPatternsGroups(const RPCLogCone &cone) const
TEPatternsGroupList m_EnergeticPatternsGroupList
const RPCPacData * m_pacData
RPCPac(const RPCPacData *, int tower, int logSector, int logSegment)
RPCPacMuon run(const RPCLogCone &cone) const
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Coordinates of LogCone.The coordinates, with which m_PAC is created - the same as in pac file name...
std::vector< int > getLogStripDigisIdxs(int logPlane, unsigned int logStripNum) const
static const int m_NOT_CONECTED
Denotes Logic m_Strips that is not valid (f.e. in Patterns denotes, that in given plane the pattern i...