Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunecore
dunecore
Geometry
test
testIssue19191
test_issue19191.cc
Go to the documentation of this file.
1
#include "
larcore/Geometry/Geometry.h
"
2
#include "
dunecore/ArtSupport/ArtServiceHelper.h
"
3
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
4
5
#include <iostream>
6
7
using namespace
std
;
8
9
int
main
() {
10
// ArtServiceHelper& ash = ArtServiceHelper::instance();
11
// ash.addServices("test_issue19191.fcl", true);
12
13
art::ServiceHandle<geo::Geometry>
geom;
14
double
xlo, ylo, zlo;
15
double
xhi, yhi, zhi;
16
geom->
WorldBox
(&xlo, &ylo, &zlo, &xhi, &yhi, &zhi);
17
cout <<
"WorldBox: "
<< xlo <<
","
<< xhi <<
endl
;
18
return
0;
19
}
20
art::ServiceHandle< geo::Geometry >
ArtServiceHelper.h
geo::GeometryCore::WorldBox
void WorldBox(double *xlo, double *xhi, double *ylo, double *yhi, double *zlo, double *zhi) const
Fills the arguments with the boundaries of the world.
Definition:
GeometryCore.cxx:926
std
STL namespace.
Geometry.h
art framework interface to geometry description
ServiceHandle.h
main
int main()
Definition:
test_issue19191.cc:9
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
Generated by
1.8.11