EV_Data.h

Go to the documentation of this file.
00001 //! \file
00002 //!
00003 //! Header file for the EV_Data class.
00004 //!
00005 //! Declares the EV_Data class and the member routines which
00006 //! are used in collecting the information for a given event.
00007 //!
00008 //! \author D.K. Hasell
00009 //! \version 1.0
00010 //! \date 2010-10-31
00011 //!
00012 //! \ingroup detector
00013 
00014 // Ensure header file only included once.
00015 
00016 #ifndef EV_DATA_H
00017 #define EV_DATA_H
00018 
00019 // Include the ROOT header files referened here.
00020 
00021 #include "TObject.h"
00022 
00023 // Use the std namespace.
00024 
00025 using namespace std;
00026 
00027 //! Event data class. 
00028 
00029 class EV_Data : public TObject {
00030 
00031 public:
00032 
00033      //! Constructor.
00034 
00035      EV_Data();
00036 
00037      //! Destructor.
00038 
00039      ~EV_Data();
00040 
00041      // Member functions.
00042 
00043      //! Clear the event information.
00044 
00045      void Reset();
00046 
00047 private:
00048 
00049      friend class EventAction;
00050 
00051      int nEV;
00052 
00053      ClassDef( EV_Data, 1 )     //The OLYMPUS Event data class.
00054           };
00055 
00056 #endif