ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 273e668 was d7d2da3, checked in by pavel <pavel@…>, 12 years ago |
move branches/ModularDelphes to trunk
|
-
Property mode
set to
100644
|
File size:
603 bytes
|
Rev | Line | |
---|
[d7d2da3] | 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 |
|
---|
| 17 | class DelphesStream
|
---|
| 18 | {
|
---|
| 19 | public:
|
---|
| 20 |
|
---|
| 21 | DelphesStream(char *buffer);
|
---|
| 22 |
|
---|
| 23 | bool ReadDbl(double &value);
|
---|
| 24 | bool ReadInt(int &value);
|
---|
| 25 |
|
---|
| 26 | private:
|
---|
| 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.