CMS 3D CMS Logo

Classes | Functions
L1TMuonGlobalParams_PUBLIC.h File Reference
#include "CondFormats/L1TObjects/interface/L1TMuonGlobalParams.h"
#include <memory>
#include <iostream>
#include <vector>
#include <cassert>

Go to the source code of this file.

Classes

class  L1TMuonGlobalParams_PUBLIC
 
class  L1TMuonGlobalParams_PUBLIC::Node
 

Functions

const L1TMuonGlobalParamscast_to_L1TMuonGlobalParams (const L1TMuonGlobalParams_PUBLIC &x)
 
const L1TMuonGlobalParams_PUBLICcast_to_L1TMuonGlobalParams_PUBLIC (const L1TMuonGlobalParams &x)
 

Function Documentation

const L1TMuonGlobalParams& cast_to_L1TMuonGlobalParams ( const L1TMuonGlobalParams_PUBLIC x)

Definition at line 10 of file L1TMuonGlobalParams_PUBLIC.cc.

References x().

Referenced by L1TMuonGlobalParams_PUBLIC::L1TMuonGlobalParams_PUBLIC(), L1TMuonGlobalParamsESProducer::L1TMuonGlobalParamsESProducer(), and L1TMuonGlobalParamsOnlineProd::newObject().

10  {
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 }
T x() const
Cartesian x coordinate.
const L1TMuonGlobalParams_PUBLIC& cast_to_L1TMuonGlobalParams_PUBLIC ( const L1TMuonGlobalParams x)

Definition at line 3 of file L1TMuonGlobalParams_PUBLIC.cc.

References x().

Referenced by L1TMuonGlobalParams_PUBLIC::L1TMuonGlobalParams_PUBLIC().

3  {
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 }
T x() const
Cartesian x coordinate.