Main Page
Namespaces
Classes
Package Documentation
L1Trigger
L1TMuon
src
L1TMuonGlobalParams_PUBLIC.cc
Go to the documentation of this file.
1
#include "
L1Trigger/L1TMuon/interface/L1TMuonGlobalParams_PUBLIC.h
"
2
3
const
L1TMuonGlobalParams_PUBLIC
&
cast_to_L1TMuonGlobalParams_PUBLIC
(
const
L1TMuonGlobalParams
&
x
){
4
assert(
sizeof
(
L1TMuonGlobalParams_PUBLIC
) ==
sizeof
(
L1TMuonGlobalParams
));
5
const
void
* px = &
x
;
6
const
L1TMuonGlobalParams_PUBLIC
* py =
static_cast<
const
L1TMuonGlobalParams_PUBLIC
*
>
(px);
7
return
*py;
8
}
9
10
const
L1TMuonGlobalParams
&
cast_to_L1TMuonGlobalParams
(
const
L1TMuonGlobalParams_PUBLIC
&
x
){
11
assert(
sizeof
(
L1TMuonGlobalParams_PUBLIC
) ==
sizeof
(
L1TMuonGlobalParams
));
12
const
void
* px = &
x
;
13
const
L1TMuonGlobalParams
* py =
static_cast<
const
L1TMuonGlobalParams
*
>
(px);
14
return
*py;
15
}
16
17
L1TMuonGlobalParams
Definition:
L1TMuonGlobalParams.h:21
L1TMuonGlobalParams_PUBLIC.h
cast_to_L1TMuonGlobalParams
const L1TMuonGlobalParams & cast_to_L1TMuonGlobalParams(const L1TMuonGlobalParams_PUBLIC &x)
Definition:
L1TMuonGlobalParams_PUBLIC.cc:10
L1TMuonGlobalParams_PUBLIC
Definition:
L1TMuonGlobalParams_PUBLIC.h:21
x
T x() const
Cartesian x coordinate.
Definition:
Basic3DVectorLD.h:127
cast_to_L1TMuonGlobalParams_PUBLIC
const L1TMuonGlobalParams_PUBLIC & cast_to_L1TMuonGlobalParams_PUBLIC(const L1TMuonGlobalParams &x)
Definition:
L1TMuonGlobalParams_PUBLIC.cc:3
Generated for CMSSW Reference Manual by
1.8.11