EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
event_io.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file event_io.h
1 #ifndef __EVENT_IO_H__
2 #define __EVENT_IO_H__
3 
4 #ifndef LVL2_WINNT
5 #include "ioselect.h"
6 #else
7 #define STREAMBUF_NEW_IOSTREAM
8 #endif
9 
10 #if defined(LVL2_WINNT) || defined(STREAMBUF_NEW_IOSTREAM)
11 #include <iostream>
12 #include <streambuf>
13 #include <iomanip>
14 
15 #ifndef __CINT__
16 
17 #define COUT std::cout
18 #define OSTREAM std::ostream
19 #define ISTREAM std::istream
20 #define SETW std::setw
21 #define SETFILL std::setfill
22 #define ENDL std::endl
23 #define STREAMBUF std::streambuf
24 
25 #endif
26 
27 #include <stdio.h>
28 
29 #else // not LVL2_WINNT
30 
31 #include <iostream.h>
32 #include <iomanip.h>
33 
34 #ifndef __CINT__
35 
36 #define COUT cout
37 #define OSTREAM ostream
38 #define ISTREAM istream
39 #define SETW setw
40 #define SETFILL setfill
41 #define ENDL endl
42 #define STREAMBUF streambuf
43 
44 #endif
45 
46 #include <stdio.h>
47 
48 #endif
49 
50 
51 #endif