forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
/
L1TMuonGlobalParams_PUBLIC.h
51 lines (41 loc) · 1.41 KB
/
L1TMuonGlobalParams_PUBLIC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// \class L1TMuonGlobalParams_PUBLIC
//
// We are delegating the interpretation of our CondFormats to helper classes.
//
// To do so, we need to make the persistent data public (or add a friend class) but that will require
// ALCA/DB signoff... while we wait for that, we have this measure, which effectively casts away the private.
//
// This will go away once ALCA/DB signs off on our CondFormat clean up.
#include "CondFormats/L1TObjects/interface/L1TMuonGlobalParams.h"
#ifndef L1TMuonGlobalParams_PUBLIC_h
#define L1TMuonGlobalParams_PUBLIC_h
#include <memory>
#include <iostream>
#include <vector>
#include <cassert>
class L1TMuonGlobalParams_PUBLIC {
public:
enum { Version = 1 };
class Node {
public:
std::string type_;
unsigned version_;
l1t::LUT LUT_;
std::vector<double> dparams_;
std::vector<unsigned> uparams_;
std::vector<int> iparams_;
std::vector<std::string> sparams_;
Node(){ type_="unspecified"; version_=0; }
COND_SERIALIZABLE;
};
unsigned version_;
unsigned fwVersion_; //obsolete
int bxMin_; //obsolete
int bxMax_; //obsolete
std::vector<Node> pnodes_;
L1TMuonGlobalParams_PUBLIC(){ version_=Version; fwVersion_ = 0; bxMin_ = 0; bxMax_ = 0; }
};
const L1TMuonGlobalParams_PUBLIC & cast_to_L1TMuonGlobalParams_PUBLIC(const L1TMuonGlobalParams & x);
const L1TMuonGlobalParams & cast_to_L1TMuonGlobalParams(const L1TMuonGlobalParams_PUBLIC & x);
#endif