Difference between revisions of "PackageExample"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Introduction== | ==Introduction== | ||
The package PackageExample won't compile, due to missing '''#include''' statements in the headerfile, and missing '''use''' statements in the requirements file. | The package PackageExample won't compile, due to missing '''#include''' statements in the headerfile, and missing '''use''' statements in the requirements file. | ||
+ | |||
+ | |||
+ | ==requirements== | ||
+ | The package MuonIdHelpers is not known by package PackageExample. Via the requirements file one can state the location where to look for the package: | ||
+ | <pre> | ||
+ | use MuonIdHelpers MuonIdHelpers-* MuonSpectrometer | ||
+ | </pre> | ||
==FixMe.h== | ==FixMe.h== | ||
This file should at least tell the code that there exist a class Trk::Perigee. So one should add the line | This file should at least tell the code that there exist a class Trk::Perigee. So one should add the line | ||
<pre> | <pre> | ||
− | #include "" | + | #include "TrkParameters/Perigee" |
+ | </pre> | ||
+ | How do we know this? By using the LXR cross-referencer and looking for the class '''Perigee'''. There are more classes called Perigee, but there exist only one Trk::Perigee (in the Tracking domain). | ||
+ | ==requirements== | ||
+ | To make sure that the package '''TrackParameters''' is known by the PackageExample, one should edit the ''requirements'' file: | ||
+ | <pre> | ||
+ | use TrkParameters TrkParameters-* Tracking/TrkEvent | ||
</pre> | </pre> |
Latest revision as of 11:42, 25 October 2006
Introduction
The package PackageExample won't compile, due to missing #include statements in the headerfile, and missing use statements in the requirements file.
requirements
The package MuonIdHelpers is not known by package PackageExample. Via the requirements file one can state the location where to look for the package:
use MuonIdHelpers MuonIdHelpers-* MuonSpectrometer
FixMe.h
This file should at least tell the code that there exist a class Trk::Perigee. So one should add the line
#include "TrkParameters/Perigee"
How do we know this? By using the LXR cross-referencer and looking for the class Perigee. There are more classes called Perigee, but there exist only one Trk::Perigee (in the Tracking domain).
requirements
To make sure that the package TrackParameters is known by the PackageExample, one should edit the requirements file:
use TrkParameters TrkParameters-* Tracking/TrkEvent