CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
38  RPCPacData(std::string patFilesDir, int m_tower, int logSector, int logSegment);
39 
40  RPCPacData(const RPCPattern::RPCPatVec &patVec, const RPCPattern::TQualityVec &qualVec);
41 
42  RPCPacData(const L1RPCConfig * patConf, const int tower, const int sector, const int segment);
43 
44  void init(const RPCPatternsParser& parser, const RPCConst::l1RpcConeCrdnts& coneCrdnts);
45 
46  /*RPCPacMuon run(const RPCLogCone& cone) const;*/
47 
48  bool getEPatternsGroupShape(int groupNum, int logPlane, int logStripNum);
49 
50  bool getTPatternsGroupShape(int logPlane, int logStripNum);
51 
52  int getPatternsCount();
53 
54  RPCPattern getPattern(int patNum) const;
55 
57 
58  std::string getPatternsGroupDescription(int patternGroupNum);
59 
60 private:
61 //---------------------needed types------------
62  //----------------------------------------------------------------------------
63  //----------------------------------------------------------------------------
64  typedef std::list<TEPatternsGroup> TEPatternsGroupList;
65 private:
66  //Pac parametrs
68 
69  short m_MaxQuality;
70 
75 
85 
89 
92 
93 private:
100  void insertQualityRecord(unsigned int qualityTabNumber,
101  unsigned short firedPlanes, short quality);
102 
106  void insertPatterns(const RPCPattern::RPCPatVec &pattern, const int tower = 99, const int sector = 99, const int segment = 99 );
107 
113  /*RPCPacMuon runTrackPatternsGroup(const RPCLogCone& cone) const;*/
114 
121  /*RPCPacMuon runEnergeticPatternsGroups(const RPCLogCone& cone) const;*/
122 };
123 #endif
std::string getPatternsGroupDescription(int patternGroupNum)
Definition: RPCPacData.cc:166
void insertPatterns(const RPCPattern::RPCPatVec &pattern, const int tower=99, const int sector=99, const int segment=99)
Definition: RPCPacData.cc:213
int getPatternsCount()
Definition: RPCPacData.cc:136
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:119
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:64
std::vector< RPCPattern > RPCPatVec
Definition: RPCPattern.h:32
void insertQualityRecord(unsigned int qualityTabNumber, unsigned short firedPlanes, short quality)
Definition: RPCPacData.cc:191
RPCConst::TQualityTabsVec m_QualityTabsVec
Definition: RPCPacData.h:84
RPCPattern::RPCPatVec m_PatternsVec
Definition: RPCPacData.h:74
Definition: RPCPac.h:14
RPCPattern getPattern(int patNum) const
Definition: RPCPacData.cc:121
std::vector< TQuality > TQualityVec
Definition: RPCPattern.h:43
TEPatternsGroupList m_EnergeticPatternsGroupList
Definition: RPCPacData.h:88
bool getEPatternsGroupShape(int groupNum, int logPlane, int logStripNum)
Definition: RPCPacData.cc:154
int getPatternsGroupCount()
Definition: RPCPacData.cc:112
RPCPacData(std::string patFilesDir, int m_tower, int logSector, int logSegment)
Definition: RPCPacData.cc:30
short m_MaxQuality
Definition: RPCPacData.h:69
bool getTPatternsGroupShape(int logPlane, int logStripNum)
Definition: RPCPacData.cc:145
std::vector< TQualityTab > TQualityTabsVec
Definition: RPCConst.h:115
void init(const RPCPatternsParser &parser, const RPCConst::l1RpcConeCrdnts &coneCrdnts)
Definition: RPCPacData.cc:264