CMS 3D CMS Logo

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 
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
RPCPattern::TQualityVec
std::vector< TQuality > TQualityVec
Definition: RPCPattern.h:49
RPCPacData::insertQualityRecord
void insertQualityRecord(unsigned int qualityTabNumber, unsigned short firedPlanes, short quality)
Definition: RPCPacData.cc:159
RPCPacData::getEPatternsGroupShape
bool getEPatternsGroupShape(int groupNum, int logPlane, int logStripNum)
Definition: RPCPacData.cc:124
RPCPacData::m_EnergeticPatternsGroupList
TEPatternsGroupList m_EnergeticPatternsGroupList
Definition: RPCPacData.h:88
RPCPacData::RPCPacData
RPCPacData(std::string patFilesDir, int m_tower, int logSector, int logSegment)
Definition: RPCPacData.cc:28
RPCPacData::m_MaxQuality
short m_MaxQuality
Definition: RPCPacData.h:69
hgcalTowerProducer_cfi.tower
tower
Definition: hgcalTowerProducer_cfi.py:3
RPCPacData::getTPatternsGroupShape
bool getTPatternsGroupShape(int logPlane, int logStripNum)
Definition: RPCPacData.cc:115
writedatasetfile.parser
parser
Definition: writedatasetfile.py:7
TTPatternsGroup
Group of paterns, for which the "baseline"("track") algorithm is performed.
Definition: TTPatternsGroup.h:17
TTPatternsGroup.h
L1RPCConfig
Definition: L1RPCConfig.h:29
RPCPacData::getPatternsGroupCount
int getPatternsGroupCount()
Definition: RPCPacData.cc:87
RPCConst::l1RpcConeCrdnts
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:118
RPCPacData::insertPatterns
void insertPatterns(const RPCPattern::RPCPatVec &pattern, const int tower=99, const int sector=99, const int segment=99)
Definition: RPCPacData.cc:176
TEPatternsGroup.h
RPCPacData::getPatternsGroupDescription
std::string getPatternsGroupDescription(int patternGroupNum)
Definition: RPCPacData.cc:136
RPCPacData::getPattern
RPCPattern getPattern(int patNum) const
Definition: RPCPacData.cc:96
RPCPatternsParser
Definition: RPCPatternsParser.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RPCPacData::getPatternsCount
int getPatternsCount()
Definition: RPCPacData.cc:108
RPCPattern
Definition: RPCPattern.h:16
RPCPacData::init
void init(const RPCPatternsParser &parser, const RPCConst::l1RpcConeCrdnts &coneCrdnts)
Definition: RPCPacData.cc:221
RPCPatternsParser.h
topSingleLeptonDQM_PU_cfi.pattern
pattern
Definition: topSingleLeptonDQM_PU_cfi.py:39
RPCPattern.h
RPCConst::TQualityTabsVec
std::vector< TQualityTab > TQualityTabsVec
Definition: RPCConst.h:114
RPCPacData::m_TrackPatternsGroup
TTPatternsGroup m_TrackPatternsGroup
Here patters used in "baseline" algorith are stored.
Definition: RPCPacData.h:91
RPCPattern::RPCPatVec
std::vector< RPCPattern > RPCPatVec
Definition: RPCPattern.h:36
L1RPCConfig.h
qcdUeDQM_cfi.quality
quality
Definition: qcdUeDQM_cfi.py:31
RPCPacData::m_QualityTabsVec
RPCConst::TQualityTabsVec m_QualityTabsVec
Definition: RPCPacData.h:84
RPCPacData::TEPatternsGroupList
std::list< TEPatternsGroup > TEPatternsGroupList
Definition: RPCPacData.h:63
RPCPac
Definition: RPCPac.h:13
TPatternsGroup.h
RPCPacData::m_RefGroupCount
short m_RefGroupCount
From pac file - TT_REF_GROUP_NUMBERS.
Definition: RPCPacData.h:67
RPCPacData
Definition: RPCPacData.h:33
RPCPacData::m_PatternsVec
RPCPattern::RPCPatVec m_PatternsVec
Definition: RPCPacData.h:74