00001 #ifndef Fireworks_Calo_FWFromSliceSelector_h 00002 #define Fireworks_Calo_FWFromSliceSelector_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Calo 00006 // Class : FWFromSliceSelector 00007 // 00016 // 00017 // Original Author: Alja Mrak-Tadel 00018 // Created: Wed Jun 2 17:30:39 CEST 2010 00019 // $Id: FWFromSliceSelector.h,v 1.2 2010/06/07 17:54:00 amraktad Exp $ 00020 // 00021 00022 // system include files 00023 00024 // user include files 00025 #include "TEveCaloData.h" 00026 00027 // forward declarations 00028 class FWEventItem; 00029 class FWModelChangeManager; 00030 00031 00032 class FWFromSliceSelector 00033 { 00034 public: 00035 FWFromSliceSelector( const FWEventItem*); 00036 virtual ~FWFromSliceSelector(); 00037 00038 virtual void doSelect(const TEveCaloData::CellId_t&) {} 00039 virtual void doUnselect(const TEveCaloData::CellId_t&) {} 00040 00041 void clear(); 00042 void reset(); 00043 00044 // ---------- const member functions --------------------- 00045 00046 FWModelChangeManager* changeManager() const; 00047 00048 // ---------- static member functions -------------------- 00049 00050 // ---------- member functions --------------------------- 00051 protected: 00052 const FWEventItem* m_item; 00053 }; 00054 00055 00056 #endif