SM_Data.cc

Go to the documentation of this file.
00001 //! \file
00002 //!
00003 //! Source file for the SM_Data class.
00004 //!
00005 //! Defines the SM_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 // Include the SM_Data header file.
00015 
00016 #include "SM_Data.h"
00017 
00018 // Include the STL header files referenced in this file.
00019 
00020 #include <vector>
00021 
00022 // Use the STD namespace.
00023 
00024 using namespace std;
00025 
00026 // SM_Data class 
00027 
00028 ClassImp( SM_Data )
00029 
00030 // Constructor.
00031 
00032 SM_Data::SM_Data() {}
00033 
00034 // Destructor.
00035 
00036 SM_Data::~SM_Data() {}
00037 
00038 // Member functions.
00039 
00040 // Routine to clear the event vectors.
00041 
00042 void SM_Data::Reset() {
00043 
00044    nSM = 0;
00045 
00046    id.clear();
00047    tr.clear();
00048 
00049    e.clear();
00050    t.clear();
00051 
00052    tx.clear();
00053    ty.clear();
00054    tz.clear();
00055 
00056    txl.clear();
00057    tyl.clear();
00058    tzl.clear();
00059 
00060    x.clear();
00061    y.clear();
00062    z.clear();
00063 
00064    xl.clear();
00065    yl.clear();
00066    zl.clear();
00067 
00068 }