File: DebugTube.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 (13 lines) | stat: -rw-r--r-- 333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "VecGeomTest/ShapeDebugger.h"
#include "VecGeom/volumes/Tube.h"

using namespace vecgeom;

int main()
{
  SimpleTube tube("Debugger Tube", 1, 4, 4, kPi / 4, 5 / 4 * kPi);
  ShapeDebugger debugger(&tube);
  debugger.ShowCorrectResults(false);
  debugger.CompareDistanceToInToROOT(Vector3D<Precision>(4, 4, 4));
  return 0;
}