00001 #ifndef LHCBEVENT_IrfEvent_H
00002 #define LHCBEVENT_IrfEvent_H 1
00003
00004
00005
00006 #include <iostream>
00007 #include <vector>
00008 #include <algorithm>
00009 #include "GaudiKernel/Kernel.h"
00010 #include "GaudiKernel/DataObject.h"
00011 #include "GaudiKernel/StreamBuffer.h"
00012 #include "GlastEvent/TopLevel/Definitions.h"
00013
00014
00015
00016 extern const CLID& CLID_IrfEvent;
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00038 class IrfEvent : public DataObject {
00039
00040 public:
00042
00043 IrfEvent( const char* name = "IrfEvent" )
00044 : DataObject(name) {}
00046 virtual ~IrfEvent() { }
00047
00049 virtual const CLID& clID() const { return IrfEvent::classID(); }
00050 static const CLID& classID() { return CLID_IrfEvent; }
00051
00053 IrfEvent& operator=(const IrfEvent& copy) {
00054 return *this;
00055 }
00056
00058 virtual StreamBuffer& serialize( StreamBuffer& s ) const;
00060 virtual StreamBuffer& serialize( StreamBuffer& s );
00061
00063 friend std::ostream& operator<< ( std::ostream& s, const IrfEvent& obj ) {
00064 return obj.fillStream(s);
00065 }
00067 virtual std::ostream& fillStream( std::ostream& s ) const;
00068
00069 private:
00070
00071 };
00072
00073
00074
00075
00076
00077
00079 inline StreamBuffer& IrfEvent::serialize( StreamBuffer& s ) const {
00080 DataObject::serialize(s);
00081
00082 return s;
00083 }
00084
00085
00087 inline StreamBuffer& IrfEvent::serialize( StreamBuffer& s ) {
00088 DataObject::serialize(s);
00089
00090 return s;
00091 }
00092
00093
00095 inline std::ostream& IrfEvent::fillStream( std::ostream& s ) const {
00096 s << "class IrfEvent :\n";
00097
00098 return s;
00099 }
00100
00101
00102 #endif // GLASTEVENT_IrfEvent_H