33 m_ConeCrdnts(tower, logSector, logSegment)
57 m_ConeCrdnts(tower, logSector, logSegment)
63 unsigned long long int mask = 255;
71 unsigned int strip = (pat & (mask<<shift) ) >>
shift;
82 unsigned long long int pattern = 0;
89 unsigned long long int strip;
96 strip = lp.begin()->first;
101 pattern = pattern | (strip <<
shift);
111 std::ostringstream ostr;
112 ostr <<
"\n ======================> TOWER = ";
117 <<
", m_LogSegment = "
119 <<
" <======================="<< std::endl;
153 shiftPos = it->first +
pos;
236 TLogPlane::const_iterator it =
m_LogPlanesVec[logPlane].find(logStripNum);
240 return std::vector<int>();
static const int m_USED_PLANES_COUNT[m_TOWER_COUNT]
m_Number of Logic Planes existing in each m_Tower.
int getLogSegment() const
std::map< int, std::vector< int > > TLogPlane
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
bool getLogStripState(int logPlane, unsigned int logStripNum) const
RPCLogCone()
Default constructor. No hits, no muon.
void setMuonSign(int sign)
void setMuonCode(int code)
sets pt code of muon that fired the strips */
static const int m_LAST_PLANE
Use ase a last index in loops.
void shift(int pos)
Changes fired LogStrips: from "stripNum" to "stripNum + pos".
std::string toString() const
int getLogSegment() const
bool isPlaneFired(int logPlane) const
RPCConst::l1RpcConeCrdnts getConeCrdnts() const
static const int m_LOGPLANE4
int getFiredPlanesCnt() const
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
TLogPlane getLogPlane(int logPlane) const
static const std::string m_LOGPLANE_STR[]
Log Planes names.
int getHitsCnt(int logPlane) const
Gets fired strips count in given logPlane.
void setLogStrip(int logPlane, int logStripNum, int m_digiIdx)
Set logic strip as fired. m_digiIdx - index of digi in digis vector stored by L1RpcTrigg.
bool addLogHit(const RPCLogHit &logHit)
Adds next logHit .
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.
Container::value_type value_type
std::vector< TLogPlane > m_LogPlanesVec
Logic Planes.
int getStripNumberInCone() const
RPCConst::l1RpcConeCrdnts getConeCrdnts() const
unsigned long long getCompressedCone()
Compresses cone. Throws exception, if there is more than one hit in any logplane. ...
static const int m_LOGPLANES_COUNT
Max Logic Planes Count in trigger towers.
int getlogPlaneNumber() const
std::vector< int > getLogStripDigisIdxs(int logPlane, unsigned int logStripNum) const
int possibleTrigger() const
tuple size
Write out results.
int m_Index
m_Index in LogConesVec stored by L1RpcTrigg