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 
RPCPattern::TPatternType
char TPatternType
Definition: RPCPattern.h:54
RPCConst::m_NOT_CONECTED
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
TPatternsGroup::addPattern
void addPattern(const RPCPattern::RPCPatVec::const_iterator &pattern)
Definition: TPatternsGroup.cc:19
TPatternsGroup::setGroupDescription
void setGroupDescription(std::string groupDescription)
Definition: TPatternsGroup.cc:29
TPatternsGroup::setPatternsGroupType
void setPatternsGroupType(RPCPattern::TPatternType patternsGroupType)
Definition: TPatternsGroup.cc:25
TPatternsGroup::getGroupDescription
std::string getGroupDescription() const
Definition: TPatternsGroup.cc:31
TPatternsGroup::updateShape
void updateShape(const RPCPattern::RPCPatVec::const_iterator &pattern)
Updates m_GroupShape, i.e. sets to true strips belonging to the pattern. Coleed in addPattern()
Definition: TPatternsGroup.cc:4
TPatternsGroup::m_PatternsGroupType
RPCPattern::TPatternType m_PatternsGroupType
Definition: TPatternsGroup.h:41
TPatternsGroup::getPatternsGroupType
RPCPattern::TPatternType getPatternsGroupType() const
Definition: TPatternsGroup.cc:33
RPCConst::m_FIRST_PLANE
static const int m_FIRST_PLANE
Use ase a first index in loops.
Definition: RPCConst.h:55
TPatternsGroup::m_GroupShape
RPCLogCone m_GroupShape
Definition: TPatternsGroup.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
topSingleLeptonDQM_PU_cfi.pattern
pattern
Definition: topSingleLeptonDQM_PU_cfi.py:39
RPCLogCone::setLogStrip
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:173
TPatternsGroup::m_PatternsItVec
std::vector< RPCPattern::RPCPatVec::const_iterator > m_PatternsItVec
< Vector of itereator on m_PatternsVec in Pac.
Definition: TPatternsGroup.h:45
TPatternsGroup.h
L1TBPTX_cfi.bitNumber
bitNumber
Definition: L1TBPTX_cfi.py:26
TPatternsGroup::m_GroupDescription
std::string m_GroupDescription
Definition: TPatternsGroup.h:50
RPCConst::m_LAST_PLANE
static const int m_LAST_PLANE
Use ase a last index in loops.
Definition: RPCConst.h:56