TResponseTable.h

Go to the documentation of this file.
00001 // @(#)root/table:$Id: TResponseTable.h 27753 2009-03-11 09:41:27Z brun $
00002 // Author: Valery Fine(fine@bnl.gov)   30/06/2001
00003 #ifndef ROOT_TResponseTable
00004 #define ROOT_TResponseTable
00005 
00006 #include "TGenericTable.h"
00007 
00008 //////////////////////////////////////////////////////////////////////////
00009 //                                                                      //
00010 //  TResponseTable                                                      //
00011 //                                                                      //
00012 //////////////////////////////////////////////////////////////////////////
00013 
00014 class TResponseTable : public TGenericTable
00015 {
00016     public:
00017       TResponseTable();
00018       TResponseTable(const char *name,const char *volumepath, const char *responseDefintion, Int_t allocSize);
00019       virtual ~TResponseTable(){}
00020       void SetResponse(int track, int *nvl, float *response);
00021       static Int_t FindResponseLocation(TTableDescriptor  &dsc);
00022 
00023     protected: 
00024       void AddVolumePath(const char *path);
00025       void AddResponse(const char *chit);
00026       void AddElement(const char *path,EColumnType type);
00027     private:
00028       Int_t fResponseLocation;
00029 
00030      ClassDef(TResponseTable,4) // Generic Geant detector response table
00031 };
00032 #endif

Generated on Tue Jul 5 14:28:08 2011 for ROOT_528-00b_version by  doxygen 1.5.1