CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPCPacData.h
Go to the documentation of this file.
1 #ifndef L1Trigger_RPCPacData_h
2 #define L1Trigger_RPCPacData_h
3 /*
4 todo
5 sprawdzic konwencje znaku mionu !!!!! (takze w L1RpcMuon0)
6 */
7 
17 #include <vector>
18 #include <string>
19 #include <bitset>
20 #include <map>
21 #include <list>
22 #include <iostream>
24 //#include "L1Trigger/RPCTrigger/interface/RPCPacBase.h"
30 //------------------------------------------------------------------------------
31 
32 //class RPCPacData: public RPCPacBase {
33 class RPCPacData {
34  friend class RPCPac;
35 
36 public:
37  RPCPacData(std::string patFilesDir, int m_tower, int logSector, int logSegment);
38 
39  RPCPacData(const RPCPattern::RPCPatVec &patVec, const RPCPattern::TQualityVec &qualVec);
40 
41  RPCPacData(const L1RPCConfig *patConf, const int tower, const int sector, const int segment);
42 
43  void init(const RPCPatternsParser &parser, const RPCConst::l1RpcConeCrdnts &coneCrdnts);
44 
45  /*RPCPacMuon run(const RPCLogCone& cone) const;*/
46 
47  bool getEPatternsGroupShape(int groupNum, int logPlane, int logStripNum);
48 
49  bool getTPatternsGroupShape(int logPlane, int logStripNum);
50 
51  int getPatternsCount();
52 
53  RPCPattern getPattern(int patNum) const;
54 
56 
57  std::string getPatternsGroupDescription(int patternGroupNum);
58 
59 private:
60  //---------------------needed types------------
61  //----------------------------------------------------------------------------
62  //----------------------------------------------------------------------------
63  typedef std::list<TEPatternsGroup> TEPatternsGroupList;
64 
65 private:
66  //Pac parametrs
68 
69  short m_MaxQuality;
70 
75 
85 
89 
92 
93 private:
100  void insertQualityRecord(unsigned int qualityTabNumber, unsigned short firedPlanes, short quality);
101 
105  void insertPatterns(const RPCPattern::RPCPatVec &pattern,
106  const int tower = 99,
107  const int sector = 99,
108  const int segment = 99);
109 
115  /*RPCPacMuon runTrackPatternsGroup(const RPCLogCone& cone) const;*/
116 
123  /*RPCPacMuon runEnergeticPatternsGroups(const RPCLogCone& cone) const;*/
124 };
125 #endif
std::string getPatternsGroupDescription(int patternGroupNum)
Definition: RPCPacData.cc:137
void insertPatterns(const RPCPattern::RPCPatVec &pattern, const int tower=99, const int sector=99, const int segment=99)
Definition: RPCPacData.cc:177
int getPatternsCount()
Definition: RPCPacData.cc:109
Group of paterns, for which the &quot;baseline&quot;(&quot;track&quot;) algorithm is performed.
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:118
uint32_t const *__restrict__ Quality * quality
TTPatternsGroup m_TrackPatternsGroup
Here patters used in &quot;baseline&quot; algorith are stored.
Definition: RPCPacData.h:91
short m_RefGroupCount
From pac file - TT_REF_GROUP_NUMBERS.
Definition: RPCPacData.h:67
std::list< TEPatternsGroup > TEPatternsGroupList
Definition: RPCPacData.h:63
std::vector< RPCPattern > RPCPatVec
Definition: RPCPattern.h:36
void insertQualityRecord(unsigned int qualityTabNumber, unsigned short firedPlanes, short quality)
Definition: RPCPacData.cc:160
RPCConst::TQualityTabsVec m_QualityTabsVec
Definition: RPCPacData.h:84
RPCPattern::RPCPatVec m_PatternsVec
Definition: RPCPacData.h:74
Definition: RPCPac.h:13
RPCPattern getPattern(int patNum) const
Definition: RPCPacData.cc:97
std::vector< TQuality > TQualityVec
Definition: RPCPattern.h:49
TEPatternsGroupList m_EnergeticPatternsGroupList
Definition: RPCPacData.h:88
bool getEPatternsGroupShape(int groupNum, int logPlane, int logStripNum)
Definition: RPCPacData.cc:125
int getPatternsGroupCount()
Definition: RPCPacData.cc:88
RPCPacData(std::string patFilesDir, int m_tower, int logSector, int logSegment)
Definition: RPCPacData.cc:29
short m_MaxQuality
Definition: RPCPacData.h:69
bool getTPatternsGroupShape(int logPlane, int logStripNum)
Definition: RPCPacData.cc:116
std::vector< TQualityTab > TQualityTabsVec
Definition: RPCConst.h:114
void init(const RPCPatternsParser &parser, const RPCConst::l1RpcConeCrdnts &coneCrdnts)
Definition: RPCPacData.cc:222