CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
L1TMuonGlobalParams_PUBLIC.h
Go to the documentation of this file.
1 //
2 // \class L1TMuonGlobalParams_PUBLIC
3 //
4 // We are delegating the interpretation of our CondFormats to helper classes.
5 //
6 // To do so, we need to make the persistent data public (or add a friend class) but that will require
7 // ALCA/DB signoff... while we wait for that, we have this measure, which effectively casts away the private.
8 //
9 // This will go away once ALCA/DB signs off on our CondFormat clean up.
10 
12 
13 #ifndef L1TMuonGlobalParams_PUBLIC_h
14 #define L1TMuonGlobalParams_PUBLIC_h
15 
16 #include <memory>
17 #include <iostream>
18 #include <vector>
19 #include <cassert>
20 
22 public:
23  enum { Version = 1 };
24 
25  class Node {
26  public:
28  unsigned version_;
30  std::vector<double> dparams_;
31  std::vector<unsigned> uparams_;
32  std::vector<int> iparams_;
33  std::vector<std::string> sparams_;
34  Node() {
35  type_ = "unspecified";
36  version_ = 0;
37  }
39  };
40  unsigned version_;
41  unsigned fwVersion_; //obsolete
42 
43  int bxMin_; //obsolete
44  int bxMax_; //obsolete
45  std::vector<Node> pnodes_;
46 
48  version_ = Version;
49  fwVersion_ = 0;
50  bxMin_ = 0;
51  bxMax_ = 0;
52  }
53 };
54 
56 
58 
59 #endif
const L1TMuonGlobalParams & cast_to_L1TMuonGlobalParams(const L1TMuonGlobalParams_PUBLIC &x)
Definition: LUT.h:29
#define COND_SERIALIZABLE
Definition: Serializable.h:39
const L1TMuonGlobalParams_PUBLIC & cast_to_L1TMuonGlobalParams_PUBLIC(const L1TMuonGlobalParams &x)
float x