26 if (bufMuon > bestMuon)
48 unsigned short firedPlanes = 0;
49 int firedPlanesCount = 0;
50 unsigned short one = 1;
59 int fromBit =
pattern.getStripFrom(logPlane);
60 int toBit =
pattern.getStripTo(logPlane);
63 firedPlanes = firedPlanes |
one;
65 std::vector<int> dIVec =
cone.getLogStripDigisIdxs(logPlane,
bitNumber);
74 if (firedPlanesCount == 0)
80 if (firedPlanesCount >= 3) {
85 if (bufMuon > bestMuon) {
98 unsigned short firedPlanes = 0;
104 unsigned short one = 1;
109 if (
cone.getHitsCnt(logPlane) > 0) {
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) {
160 int fromBit =
pattern.getStripFrom(logPlane);
161 int toBit =
pattern.getStripTo(logPlane);
164 wasHit = wasHit ||
cone.getLogStripState(logPlane,
bitNumber);
166 std::vector<int> dIVec =
cone.getLogStripDigisIdxs(logPlane,
bitNumber);
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.
std::map< int, std::vector< int > > TLogPlane
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
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
RPCConst::TQualityTabsVec m_QualityTabsVec
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.
RPCPacMuon run(const RPCLogCone &cone) const
void setLogConeIdx(int logConeIdx)
std::vector< TDigiLink > TDigiLinkVec
TEPatternsGroupList m_EnergeticPatternsGroupList
const RPCPacData * m_pacData
RPCPac(const RPCPacData *, int tower, int logSector, int logSegment)
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Coordinates of LogCone.The coordinates, with which m_PAC is created - the same as in pac file name...
RPCPacMuon runEnergeticPatternsGroups(const RPCLogCone &cone) 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...