File: DebugSphere.cpp

package info (click to toggle)
vecgeom 1.2.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,016 kB
  • sloc: cpp: 88,803; ansic: 6,888; python: 1,035; sh: 582; sql: 538; makefile: 23
file content (14 lines) | stat: -rw-r--r-- 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "VecGeomTest/ShapeDebugger.h"
#include "VecGeom/volumes/Sphere.h"

using namespace vecgeom;

int main()
{
  SimpleSphere sphere("Debugger Sphere", 0, 5, 0.0, 2 * kPi, kPi / 6, kPi / 6);
  ShapeDebugger debugger(&sphere);
  debugger.ShowCorrectResults(false);
  // debugger.CompareDistanceToInToROOT(Vector3D<Precision>(4, 4, 4));
  debugger.CompareDistanceToOutToROOT(Vector3D<Precision>(20, 20, 20));
  return 0;
}