source: HiSusy/trunk/Delphes/Delphes-3.0.9/classes/DelphesStream.h @ 5

Last change on this file since 5 was 5, checked in by zerwas, 11 years ago

update to Delphes-3.0.9

File size: 603 bytes
Line 
1#ifndef DelphesStream_h
2#define DelphesStream_h
3
4/** \class DelphesStream
5 *
6 *  Provides an interface to manipulate c strings as if they were input streams
7 *
8 *
9 *  $Date: 2012-11-15 13:57:55 $
10 *  $Revision: 1.1 $
11 *
12 *
13 *  \author P. Demin - UCL, Louvain-la-Neuve
14 *
15 */
16
17class DelphesStream
18{
19public:
20
21  DelphesStream(char *buffer);
22
23  bool ReadDbl(double &value);
24  bool ReadInt(int &value);
25
26private:
27
28  char *fBuffer;
29 
30  static bool fFirstLongMin;
31  static bool fFirstLongMax;
32  static bool fFirstHugePos;
33  static bool fFirstHugeNeg;
34  static bool fFirstZero;
35};
36
37#endif // DelphesStream_h
38
39
Note: See TracBrowser for help on using the repository browser.