test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
L1TMuonGlobalParams_PUBLIC.cc File Reference
#include "L1Trigger/L1TMuon/interface/L1TMuonGlobalParams_PUBLIC.h"

Go to the source code of this file.

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 assert(), and x().

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

10  {
12  const void * px = &x;
13  const L1TMuonGlobalParams * py = static_cast<const L1TMuonGlobalParams *>(px);
14  return *py;
15 }
assert(m_qm.get())
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 assert(), and x().

3  {
5  const void * px = &x;
6  const L1TMuonGlobalParams_PUBLIC * py = static_cast<const L1TMuonGlobalParams_PUBLIC *>(px);
7  return *py;
8 }
assert(m_qm.get())
T x() const
Cartesian x coordinate.