Difference between revisions of "PackageExample"

From Atlas Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
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>

Revision as of 11:38, 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.

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