Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

IrfEvent.h

Go to the documentation of this file.
00001 #ifndef LHCBEVENT_IrfEvent_H
00002 #define LHCBEVENT_IrfEvent_H 1
00003 
00004 
00005 // Include files
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 // Externals
00016 extern const CLID& CLID_IrfEvent;
00017 
00018 
00019 //------------------------------------------------------------------------------
00020 //
00021 // ClassName:   IrfEvent
00022 //  
00023 // Description: Essential information of the IRF event
00024 //              It can be identified by "/Event/Irf"
00025 //
00026 //              It contains:
00027 //
00028 //
00029 //------------------------------------------------------------------------------
00030 
00038 class IrfEvent : public DataObject                                              {
00039 
00040 public:
00042     // HMA removed 2nd parameter pileUp - not sure what it was doing...
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 // Inline code must be outside the class definition
00076 //
00077 
00079 inline StreamBuffer& IrfEvent::serialize( StreamBuffer& s ) const               {
00080   DataObject::serialize(s);
00081   // if there was something to serialize we'd do it here
00082   return s;
00083 }
00084 
00085 
00087 inline StreamBuffer& IrfEvent::serialize( StreamBuffer& s )                     {
00088   DataObject::serialize(s);
00089 // if there were something to serialize we'd do it here
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

Generated at Wed Nov 21 12:22:49 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000