32 if(bufMuon > bestMuon)
55 for(
unsigned int vecNum = 0;
59 unsigned short firedPlanes = 0;
60 int firedPlanesCount = 0;
61 unsigned short one = 1;
75 for(
int bitNumber = fromBit; bitNumber < toBit; bitNumber++)
79 firedPlanes = firedPlanes | one;
90 if(firedPlanesCount == 0)
96 if(firedPlanesCount >= 3)
104 RPCPacMuon bufMuon(pattern, quality, firedPlanes);
105 if(bufMuon > bestMuon)
123 unsigned short firedPlanes = 0;
124 int firedPlanesCount = 0;
125 RPCPacData::TEPatternsGroupList::const_iterator iEGroup =
130 firedPlanesCount = 0;
131 unsigned short one = 1;
136 for(
unsigned int bitNum = 0;
142 if(iEGroup->m_GroupShape.getLogStripState(logPlane, bitNum)
145 firedPlanes = firedPlanes | one;
159 for(
unsigned int vecNum = 0; vecNum < iEGroup->m_PatternsItVec.size();
163 const RPCPattern::RPCPatVec::const_iterator patternIt =
164 iEGroup->m_PatternsItVec[vecNum];
167 unsigned short one1 = 1;
170 logPlane++, one1 = one1 << 1)
177 if((firedPlanes & one1) != 0)
182 for(
int bitNumber = fromBit; bitNumber < toBit;
188 if (!dIVec.empty()) digiIdx.push_back(
RPCMuon::TDigiLink(logPlane, *dIVec.begin()) );
200 bufMuon.
setAll(pattern, quality, firedPlanes);
205 if(bufMuon > bestMuon){
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.
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.
void setDigiIdxVec(TDigiLinkVec d)
RPCConst::l1RpcConeCrdnts m_CurrConeCrdnts
RPCConst::TQualityTabsVec m_QualityTabsVec
void setConeCrdnts(const RPCConst::l1RpcConeCrdnts &coneCrdnts)
static const unsigned int m_LOGPLANE_SIZE[m_TOWER_COUNT][m_LOGPLANES_COUNT]
Definition of Logic Cone Sizes - number of Logic m_Strips in each plane.
static const int m_FIRST_PLANE
Use ase a first index in loops.
int getQualityTabNumber() const
void setLogConeIdx(int logConeIdx)
RPCPacMuon runEnergeticPatternsGroups(const RPCLogCone &cone) const
TEPatternsGroupList m_EnergeticPatternsGroupList
const RPCPacData * m_pacData
std::vector< TDigiLink > TDigiLinkVec
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...