TF_Data.h

Go to the documentation of this file.
00001 //! \file
00002 //!
00003 //! Header file for the TF_Data class.
00004 //!
00005 //! Declares the TF_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-17
00011 //!
00012 //! \ingroup detector
00013 
00014 // Ensure header file only included once.
00015 
00016 #ifndef TF_DATA_H
00017 #define TF_DATA_H
00018 
00019 // Include the STL header files referenced in this file.
00020 
00021 #include <vector>
00022 
00023 // Include the ROOT header files referened here.
00024 
00025 #include "TObject.h"
00026 
00027 // Use the STD namespace.
00028 
00029 using namespace std;
00030 
00031 //! TF_Data class 
00032 //!
00033 //! Defines the class used for writing data to the data file in the
00034 //! GT TBranch.
00035 
00036 class TF_Data : public TObject {
00037 
00038 public:
00039 
00040      //! Constructor.
00041 
00042      TF_Data();
00043 
00044      //! Destructor.
00045 
00046      ~TF_Data();
00047 
00048      // Member functions.
00049 
00050      //! Clear the event vectors.
00051 
00052      void Reset();
00053 
00054 private:
00055 
00056      friend class TF_SD;
00057 
00058      int nTF;
00059 
00060      vector<int> id;
00061      vector<int> tr;
00062 
00063      vector<double> e;
00064      vector<double> tt;
00065      vector<double> t;
00066 
00067      vector<double> tx;
00068      vector<double> ty;
00069      vector<double> tz;
00070 
00071      vector<double> txl;
00072      vector<double> tyl;
00073      vector<double> tzl;
00074 
00075      vector<double> x;
00076      vector<double> y;
00077      vector<double> z;
00078 
00079      vector<double> xl;
00080      vector<double> yl;
00081      vector<double> zl;
00082 
00083      ClassDef( TF_Data, 1 )     //The OLYMPUS GT data class.
00084           };
00085 
00086 #endif