test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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(){ type_="unspecified"; version_=0; }
36  };
37  unsigned version_;
38  unsigned fwVersion_; //obsolete
39 
40  int bxMin_; //obsolete
41  int bxMax_; //obsolete
42  std::vector<Node> pnodes_;
43 
45 };
46 
48 
50 
51 #endif
const L1TMuonGlobalParams & cast_to_L1TMuonGlobalParams(const L1TMuonGlobalParams_PUBLIC &x)
T x() const
Cartesian x coordinate.
Definition: LUT.h:29
#define COND_SERIALIZABLE
Definition: Serializable.h:37
const L1TMuonGlobalParams_PUBLIC & cast_to_L1TMuonGlobalParams_PUBLIC(const L1TMuonGlobalParams &x)