CMS 3D CMS Logo

Functions
DDShapes.cc File Reference
#include "DetectorDescription/DDCMS/interface/DDAlgoArguments.h"
#include "DetectorDescription/DDCMS/interface/DDShapes.h"
#include "DetectorDescription/DDCMS/interface/DDSolidShapes.h"
#include "DataFormats/GeometryVector/interface/Phi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DD4hep/Shapes.h"
#include <TGeoBBox.h>

Go to the source code of this file.

Functions

template<class T >
bool convFpToBool (T val)
 

Function Documentation

◆ convFpToBool()

template<class T >
bool convFpToBool ( T  val)

Definition at line 15 of file DDShapes.cc.

15  {
16  return (static_cast<int>(val + 0.5) != 0);
17 }

References heppy_batch::val.

heppy_batch.val
val
Definition: heppy_batch.py:351