CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/Fireworks/Calo/src/FWFromTEveCaloDataSelector.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Calo_FWFromTEveCaloDataSelector_h
00002 #define Fireworks_Calo_FWFromTEveCaloDataSelector_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Calo
00006 // Class  :     FWFromTEveCaloDataSelector
00007 // 
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Fri Oct 23 14:44:32 CDT 2009
00019 // $Id: FWFromTEveCaloDataSelector.h,v 1.7 2010/06/02 18:49:07 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 #include "TEveCaloData.h"
00024 
00025 // user include files
00026 #include "Fireworks/Core/interface/FWFromEveSelectorBase.h"
00027 #include "Fireworks/Calo/src/FWFromSliceSelector.h"
00028 
00029 // forward declarations
00030 class FWEventItem;
00031 class FWModelChangeManager;
00032 
00033 //==============================================================================
00034 
00035 class FWFromTEveCaloDataSelector : public FWFromEveSelectorBase
00036 {
00037 
00038 public:
00039    FWFromTEveCaloDataSelector(TEveCaloData*);
00040    virtual ~FWFromTEveCaloDataSelector();
00041    
00042    // ---------- const member functions ---------------------
00043    
00044    // ---------- static member functions --------------------
00045    
00046    // ---------- member functions ---------------------------
00047    void doSelect();
00048    void doUnselect();   
00049 
00050    void addSliceSelector(int iSlice, FWFromSliceSelector*);
00051    void resetSliceSelector(int iSlice);
00052 private:
00053    FWFromTEveCaloDataSelector(const FWFromTEveCaloDataSelector&); // stop default
00054    
00055    const FWFromTEveCaloDataSelector& operator=(const FWFromTEveCaloDataSelector&); // stop default
00056    
00057    // ---------- member data --------------------------------
00058    std::vector<FWFromSliceSelector*> m_sliceSelectors;
00059    TEveCaloData* m_data; // cached
00060    FWModelChangeManager* m_changeManager;
00061   
00062 };
00063 
00064 
00065 #endif