/[PAMELA software]/root2paw/src/liboptoflev1.C
ViewVC logotype

Annotation of /root2paw/src/liboptoflev1.C

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Mon Dec 5 16:17:39 2005 UTC (18 years, 11 months ago) by mocchiut
Branch: GroundDataConvert, MAIN
CVS Tags: start, v3r00, v4r00, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Imported sources

1 mocchiut 1.1 // openntuple shared library v. 0.2
2     // Written by Emiliano Mocchiutti
3     //
4     #include "ctofstruct.h"
5     #define optoflev1 optoflev1_
6     extern "C" int optoflev1(char [], int &);
7     void coptoflev1(const char name[100], Toflev1 & toflev1, int & trnev) {
8     extern struct Toflev1 toflev1_;
9     memcpy(&toflev1_, &toflev1, sizeof(toflev1));
10     printf(" Open file \n\n %s \n\n",name);
11     optoflev1((char *)name, (int &)trnev);
12     printf(" ...done!\n\n");
13     };
14    

  ViewVC Help
Powered by ViewVC 1.1.23