CMS 3D CMS Logo

L1TMuonOverlapFwVersion.h
Go to the documentation of this file.
1 #ifndef L1TMuonOverlapFwVersion_h
2 #define L1TMuonOverlapFwVersion_h
3 
4 #include <memory>
5 #include <iostream>
6 #include <vector>
7 #include <cmath>
8 
11 
15 public:
17  algorithmVer_ = 0x110;
18  layersVer_ = 0x6;
19  patternsVer_ = 0x3;
20  synthDate_ = "2018-9-18 21:26:2";
21  }
22  L1TMuonOverlapFwVersion(unsigned algoV, unsigned layersV, unsigned patternsV, std::string sDate) {
23  algorithmVer_ = algoV;
24  layersVer_ = layersV;
25  patternsVer_ = patternsV;
26  synthDate_ = sDate;
27  }
29 
30  unsigned algoVersion() const { return algorithmVer_; }
31  unsigned layersVersion() const { return layersVer_; }
32  unsigned fwVersion() const { return layersVer_; }
33  unsigned patternsVersion() const { return patternsVer_; }
34  std::string synthDate() const { return synthDate_; }
35  void setAlgoVersion(unsigned algoV) { algorithmVer_ = algoV; }
36  void setLayersVersion(unsigned layersV) { layersVer_ = layersV; }
37  void setFwVersion(unsigned layersV) { layersVer_ = layersV; }
38  void setPatternsVersion(unsigned patternsV) { patternsVer_ = patternsV; }
39  void setSynthDate(std::string sDate) { synthDate_ = sDate; }
40 
42  unsigned algorithmVer_;
43  unsigned layersVer_;
44  unsigned patternsVer_;
46 
48 };
49 #endif
void setLayersVersion(unsigned layersV)
void setFwVersion(unsigned layersV)
void setPatternsVersion(unsigned patternsV)
void setSynthDate(std::string sDate)
L1TMuonOverlapFwVersion(unsigned algoV, unsigned layersV, unsigned patternsV, std::string sDate)
void setAlgoVersion(unsigned algoV)
unsigned algorithmVer_
Firmware configuration parameters.
#define COND_SERIALIZABLE
Definition: Serializable.h:39