Group of paterns for "improved"("energetic") algorithm. In current implementation all patterns in given group must have the same code and sign. All patterns must have the same m_QualityTabNumber. Patterns of given code and sign can be devided between a few EPatternsGroups, indexed by m_RefGroup. The group m_Code, m_Sign, m_RefGroup is definded by pattern index 0 in m_PatternsVec. More...
#include <TEPatternsGroup.h>
Public Member Functions | |
bool | check (const RPCPattern::RPCPatVec::const_iterator &pattern) |
Checks, if patern can belong to this group, i.e. if has the same m_Code, m_Sign, m_RefGroup and m_QualityTabNumber. More... | |
bool | operator< (const TEPatternsGroup &ePatternsGroup) const |
used for sorting TEPatternsGroups More... | |
TEPatternsGroup (const RPCPattern::RPCPatVec::const_iterator &pattern) | |
Public Member Functions inherited from TPatternsGroup | |
void | addPattern (const RPCPattern::RPCPatVec::const_iterator &pattern) |
std::string | getGroupDescription () const |
RPCPattern::TPatternType | getPatternsGroupType () const |
void | setGroupDescription (std::string groupDescription) |
void | setPatternsGroupType (RPCPattern::TPatternType patternsGroupType) |
void | updateShape (const RPCPattern::RPCPatVec::const_iterator &pattern) |
Updates m_GroupShape, i.e. sets to true strips belonging to the pattern. Coleed in addPattern() More... | |
Private Attributes | |
short | m_QualityTabNumber |
Friends | |
class | RPCPac |
Additional Inherited Members | |
Protected Attributes inherited from TPatternsGroup | |
std::string | m_GroupDescription |
RPCLogCone | m_GroupShape |
RPCPattern::TPatternType | m_PatternsGroupType |
std::vector< RPCPattern::RPCPatVec::const_iterator > | m_PatternsItVec |
< Vector of itereator on m_PatternsVec in Pac. More... | |
Group of paterns for "improved"("energetic") algorithm. In current implementation all patterns in given group must have the same code and sign. All patterns must have the same m_QualityTabNumber. Patterns of given code and sign can be devided between a few EPatternsGroups, indexed by m_RefGroup. The group m_Code, m_Sign, m_RefGroup is definded by pattern index 0 in m_PatternsVec.
Definition at line 23 of file TEPatternsGroup.h.
TEPatternsGroup::TEPatternsGroup | ( | const RPCPattern::RPCPatVec::const_iterator & | pattern | ) |
Creates new patterns group. The pattern is added to the group and defined its m_Code, m_Sign, m_RefGroup, m_QualityTabNumber.
Definition at line 10 of file TEPatternsGroup.cc.
References TPatternsGroup::addPattern(), TPatternsGroup::m_PatternsGroupType, m_QualityTabNumber, RPCPattern::PAT_TYPE_E, and topSingleLeptonDQM_PU_cfi::pattern.
bool TEPatternsGroup::check | ( | const RPCPattern::RPCPatVec::const_iterator & | pattern | ) |
Checks, if patern can belong to this group, i.e. if has the same m_Code, m_Sign, m_RefGroup and m_QualityTabNumber.
Definition at line 16 of file TEPatternsGroup.cc.
References TPatternsGroup::m_PatternsItVec, and topSingleLeptonDQM_PU_cfi::pattern.
bool TEPatternsGroup::operator< | ( | const TEPatternsGroup & | ePatternsGroup | ) | const |
used for sorting TEPatternsGroups
Definition at line 24 of file TEPatternsGroup.cc.
References TPatternsGroup::m_PatternsItVec.
|
friend |
Definition at line 25 of file TEPatternsGroup.h.
|
private |
Definition at line 37 of file TEPatternsGroup.h.
Referenced by TEPatternsGroup().