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

EventHits.h

Go to the documentation of this file.
00001 // $Id: EventHits.h,v 1.2 2001/04/18 19:07:26 igable Exp $
00002 //
00003 //  Original Author: Sawyer Gillespie
00004 //                   hgillesp@u.washington.edu
00005 //
00006 
00007 #ifndef _H_GlastEvent_EventHits
00008 #define _H_GlastEvent_EventHits
00009 
00010 // includes
00011 #include "GaudiKernel/DataObject.h"
00012 #include "GlastEvent/Hits/GlastHits.h"
00013 
00014 namespace GlastEvent { // declare the namespace for the glast raw event
00015 
00016     // declare the GAUDI class-id for this class
00017     extern const CLID&   CLID_EventHits;
00018     
00019     // class EventHits
00021     //
00022     class   EventHits : public DataObject {
00023     public:
00025         EventHits () {}
00026         
00028         virtual ~EventHits () {}
00029         
00030         // *** constant/type declarations ***
00031         
00033         static const CLID&    classID ()  { return CLID_EventHits; }
00034         virtual const CLID&   clID ()     { return CLID_EventHits; }
00035         
00036         // the Glast containment class
00037         
00039         const GlastHits*  InstrumentData () const { return m_glast; }
00040         
00042         void    AddInstrumentData ( GlastHits* g ) { m_glast = g; }
00043         
00044     private:
00045         
00046         // private data members
00047         
00048         // The whole glast hits data underneath this object
00049         GlastHits*    m_glast;
00050         
00051     };
00052 
00053 }   // namespace GlastHitsEvt
00054 
00055 
00056 #endif // _H_GlastHitsEvt_

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