/[PAMELA software]/eventviewer/flight/src/libptlevel1.C
ViewVC logotype

Contents of /eventviewer/flight/src/libptlevel1.C

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Mar 20 10:36:48 2006 UTC (18 years, 8 months ago) by mocchiut
Branch: FEventViewer
CVS Tags: v1r02, v1r03, v1r00, start
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
First flight release (limited capabilities)

1 //
2 // track shared library v. 0.1
3 //
4 // calls the fortran tracking routine track.f
5 //
6 // Written by Emiliano Mocchiutti
7 //
8 #include <trklev1struct.h>
9 #define ptlevel1 ptlevel1_
10 extern "C" int ptlevel1();
11
12 void projectlev1(Trklev1 &pwcr4) {
13 //
14 extern struct Trklev1 pwcr4_;
15 //
16 memcpy(&pwcr4_, &pwcr4, sizeof(pwcr4));
17 //
18 ptlevel1();
19 //
20 memcpy(&pwcr4, &pwcr4_, sizeof(pwcr4));
21 //
22 };
23

  ViewVC Help
Powered by ViewVC 1.1.23