[3] | 1 | #ifndef STDHEP_MCFIO_H
|
---|
| 2 | #define STDHEP_MCFIO_H
|
---|
| 3 |
|
---|
| 4 | /*******************************************************************************
|
---|
| 5 | * *
|
---|
| 6 | * stdhep_mcfio.h -- header for C version of mcfio interface routines *
|
---|
| 7 | * *
|
---|
| 8 | * Copyright (c) 1995 Universities Research Association, Inc. *
|
---|
| 9 | * All rights reserved. *
|
---|
| 10 | * *
|
---|
| 11 | * This material resulted from work developed under a Government Contract and *
|
---|
| 12 | * is subject to the following license: The Government retains a paid-up, *
|
---|
| 13 | * nonexclusive, irrevocable worldwide license to reproduce, prepare derivative *
|
---|
| 14 | * works, perform publicly and display publicly by or for the Government, *
|
---|
| 15 | * including the right to distribute to other Government contractors. Neither *
|
---|
| 16 | * the United States nor the United States Department of Energy, nor any of *
|
---|
| 17 | * their employees, makes any warranty, express or implied, or assumes any *
|
---|
| 18 | * legal liability or responsibility for the accuracy, completeness, or *
|
---|
| 19 | * usefulness of any information, apparatus, product, or process disclosed, or *
|
---|
| 20 | * represents that its use would not infringe privately owned rights. *
|
---|
| 21 | * *
|
---|
| 22 | * *
|
---|
| 23 | * Written by Lynn Garren *
|
---|
| 24 | * *
|
---|
| 25 | * *
|
---|
| 26 | *******************************************************************************/
|
---|
| 27 |
|
---|
| 28 | /* prototypes */
|
---|
| 29 | #if defined(c_plusplus) || defined(__cplusplus)
|
---|
| 30 | extern "C" {
|
---|
| 31 | #endif
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | int StdHepXdrReadInit(char *filename, int *ntries, int ist);
|
---|
| 35 | int StdHepXdrReadOpen(char *filename, int *ntries, int ist);
|
---|
| 36 | int StdHepXdrRead(int *ilbl, int ist);
|
---|
| 37 | int StdHepXdrReadMulti(int *ilbl, int ist);
|
---|
| 38 | int StdHepXdrWriteInit(char *filename, char *title, int ntries, int ist);
|
---|
| 39 | int StdHepXdrWriteOpen(char *filename, char *title, int ntries, int ist);
|
---|
| 40 | int StdHepXdrWrite(int ilbl, int ist);
|
---|
| 41 | int StdHepXdrWriteCM(int ilbl, int ist);
|
---|
| 42 | int StdHepXdrWriteEvent(int ilbl, int ist);
|
---|
| 43 | int StdHepXdrWriteEventLH(int ilbl, int ist);
|
---|
| 44 | int StdHepXdrWriteEventEUP(int ilbl, int ist);
|
---|
| 45 | int StdHepXdrWriteEventRUP(int ilbl, int ist);
|
---|
| 46 | void StdHepXdrEnd(int ist);
|
---|
| 47 | void StdHepPrintHeader( );
|
---|
| 48 |
|
---|
| 49 | #if defined(c_plusplus) || defined(__cplusplus)
|
---|
| 50 | }
|
---|
| 51 | #endif
|
---|
| 52 |
|
---|
| 53 | #endif /* STDHEP_MCFIO_H */
|
---|