L1Trigger
L1TMuon
interface
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
11
#include "
CondFormats/L1TObjects/interface/L1TMuonGlobalParams.h
"
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
21
class
L1TMuonGlobalParams_PUBLIC
{
22
public
:
23
enum
{
Version
= 1 };
24
25
class
Node
{
26
public
:
27
std::string
type_
;
28
unsigned
version_
;
29
l1t::LUT
LUT_
;
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
}
38
COND_SERIALIZABLE
;
39
};
40
unsigned
version_
;
41
unsigned
fwVersion_
;
//obsolete
42
43
int
bxMin_
;
//obsolete
44
int
bxMax_
;
//obsolete
45
std::vector<Node>
pnodes_
;
46
47
L1TMuonGlobalParams_PUBLIC
() {
48
version_
=
Version
;
49
fwVersion_
= 0;
50
bxMin_
= 0;
51
bxMax_
= 0;
52
}
53
};
54
55
const
L1TMuonGlobalParams_PUBLIC
&
cast_to_L1TMuonGlobalParams_PUBLIC
(
const
L1TMuonGlobalParams
&
x
);
56
57
const
L1TMuonGlobalParams
&
cast_to_L1TMuonGlobalParams
(
const
L1TMuonGlobalParams_PUBLIC
&
x
);
58
59
#endif
L1TMuonGlobalParams_PUBLIC::L1TMuonGlobalParams_PUBLIC
L1TMuonGlobalParams_PUBLIC()
Definition:
L1TMuonGlobalParams_PUBLIC.h:47
L1TMuonGlobalParams
Definition:
L1TMuonGlobalParams.h:21
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
L1TMuonGlobalParams_PUBLIC::Node::version_
unsigned version_
Definition:
L1TMuonGlobalParams_PUBLIC.h:28
L1TMuonGlobalParams_PUBLIC::fwVersion_
unsigned fwVersion_
Definition:
L1TMuonGlobalParams_PUBLIC.h:41
L1TMuonGlobalParams_PUBLIC
Definition:
L1TMuonGlobalParams_PUBLIC.h:21
vertices_cff.x
x
Definition:
vertices_cff.py:29
L1TMuonGlobalParams_PUBLIC::Node::iparams_
std::vector< int > iparams_
Definition:
L1TMuonGlobalParams_PUBLIC.h:32
L1TMuonGlobalParams_PUBLIC::Node::uparams_
std::vector< unsigned > uparams_
Definition:
L1TMuonGlobalParams_PUBLIC.h:31
L1TMuonGlobalParams_PUBLIC::bxMax_
int bxMax_
Definition:
L1TMuonGlobalParams_PUBLIC.h:44
L1TMuonGlobalParams_PUBLIC::Node::Node
Node()
Definition:
L1TMuonGlobalParams_PUBLIC.h:34
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1TMuonGlobalParams_PUBLIC::Node::LUT_
l1t::LUT LUT_
Definition:
L1TMuonGlobalParams_PUBLIC.h:29
L1TMuonGlobalParams_PUBLIC::Node::dparams_
std::vector< double > dparams_
Definition:
L1TMuonGlobalParams_PUBLIC.h:30
L1TMuonGlobalParams_PUBLIC::bxMin_
int bxMin_
Definition:
L1TMuonGlobalParams_PUBLIC.h:43
L1TMuonGlobalParams.h
L1TMuonGlobalParams_PUBLIC::Node::type_
std::string type_
Definition:
L1TMuonGlobalParams_PUBLIC.h:27
L1TMuonGlobalParams_PUBLIC::Version
Definition:
L1TMuonGlobalParams_PUBLIC.h:23
L1TMuonGlobalParams_PUBLIC::version_
unsigned version_
Definition:
L1TMuonGlobalParams_PUBLIC.h:40
L1TMuonGlobalParams_PUBLIC::Node::sparams_
std::vector< std::string > sparams_
Definition:
L1TMuonGlobalParams_PUBLIC.h:33
l1t::LUT
Definition:
LUT.h:29
L1TMuonGlobalParams_PUBLIC::Node
Definition:
L1TMuonGlobalParams_PUBLIC.h:25
L1TMuonGlobalParams_PUBLIC::pnodes_
std::vector< Node > pnodes_
Definition:
L1TMuonGlobalParams_PUBLIC.h:45
cast_to_L1TMuonGlobalParams
const L1TMuonGlobalParams & cast_to_L1TMuonGlobalParams(const L1TMuonGlobalParams_PUBLIC &x)
Definition:
L1TMuonGlobalParams_PUBLIC.cc:10
cast_to_L1TMuonGlobalParams_PUBLIC
const L1TMuonGlobalParams_PUBLIC & cast_to_L1TMuonGlobalParams_PUBLIC(const L1TMuonGlobalParams &x)
Definition:
L1TMuonGlobalParams_PUBLIC.cc:3
Version
Definition:
InitMessage.h:39
Generated for CMSSW Reference Manual by
1.8.16