CMS 3D CMS Logo

TPatternsGroup.cc
Go to the documentation of this file.
2 
3 //called by addPattern
4 void TPatternsGroup::updateShape(const RPCPattern::RPCPatVec::const_iterator& pattern) {
5  for (int logPlane = RPCConst::m_FIRST_PLANE; logPlane <= RPCConst::m_LAST_PLANE; logPlane++) {
6  if (pattern->getStripFrom(logPlane) != RPCConst::m_NOT_CONECTED) {
7  int fromBit = pattern->getStripFrom(logPlane);
8  int toBit = pattern->getStripTo(logPlane);
9  for (int bitNumber = fromBit; bitNumber < toBit; bitNumber++)
11  }
12  }
13 }
19 void TPatternsGroup::addPattern(const RPCPattern::RPCPatVec::const_iterator& pattern) {
21  m_PatternsItVec.push_back(pattern);
22 }
23 
24 // Simple setters and getters
26  m_PatternsGroupType = patternsGroupType;
27 }
28 
29 void TPatternsGroup::setGroupDescription(std::string groupDescription) { m_GroupDescription = groupDescription; }
30 
32 
RPCLogCone m_GroupShape
void addPattern(const RPCPattern::RPCPatVec::const_iterator &pattern)
static const int m_LAST_PLANE
Use ase a last index in loops.
Definition: RPCConst.h:56
void setPatternsGroupType(RPCPattern::TPatternType patternsGroupType)
std::vector< RPCPattern::RPCPatVec::const_iterator > m_PatternsItVec
< Vector of itereator on m_PatternsVec in Pac.
void setGroupDescription(std::string groupDescription)
char TPatternType
Definition: RPCPattern.h:54
std::string m_GroupDescription
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.
Definition: RPCLogCone.cc:174
static const int m_FIRST_PLANE
Use ase a first index in loops.
Definition: RPCConst.h:55
std::string getGroupDescription() const
void updateShape(const RPCPattern::RPCPatVec::const_iterator &pattern)
Updates m_GroupShape, i.e. sets to true strips belonging to the pattern. Coleed in addPattern() ...
RPCPattern::TPatternType getPatternsGroupType() const
RPCPattern::TPatternType m_PatternsGroupType
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...
Definition: RPCConst.h:94