Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AltWrapperStlVecStripHandle.h

Go to the documentation of this file.
00001 
00002 // $Id: AltWrapperStlVecStripHandle.h,v 1.5 2004/11/08 23:22:10 gmieg Exp $
00003 //
00004 // AltWrapperStlVecStripHandle
00005 //
00006 //    -- A simple wrapper class for encapsulating an STL Vector of
00007 //       CandStripHandle * into an object inheriting from TObject.
00008 //    -- This is a simple work-around so as to pass the
00009 //       std::vector<CandStripHandle *> in the CandContext::SetDataIn()
00010 //       method.
00011 //
00012 // author: Costas Andreopoulos <C.V.Andreopoulos@rl.ac.uk>
00014 
00015 #ifndef _ALT_WRAPPER_STL_VEC_STRIP_HANDLE_H_
00016 #define _ALT_WRAPPER_STL_VEC_STRIP_HANDLE_H_
00017 
00018 #include <vector>
00019 
00020 #include "RecoBase/CandStripHandle.h"
00021 
00022 #include <TObject.h>
00023 
00024 class AltWrapperStlVecStripHandle: public TObject
00025 {
00026 public:
00027   AltWrapperStlVecStripHandle();
00028   AltWrapperStlVecStripHandle(const std::vector<CandStripHandle *> & data);
00029   ~AltWrapperStlVecStripHandle();
00030   
00031   const std::vector<CandStripHandle *> & GetVec(void) const;
00032   void SetVec(const std::vector<CandStripHandle *> & data);
00033 
00034 private:
00035 
00036   std::vector<CandStripHandle *> fData;
00037 
00038 ClassDef(AltWrapperStlVecStripHandle, 0)
00039 };
00040 
00041 #endif // _ALT_WRAPPER_STL_VEC_STRIP_HANDLE_H_

Generated on Mon Feb 15 11:06:21 2010 for loon by  doxygen 1.3.9.1