Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:27

0001 #ifndef Fireworks_Calo_FWFromTEveCaloDataSelector_h
0002 #define Fireworks_Calo_FWFromTEveCaloDataSelector_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Calo
0006 // Class  :     FWFromTEveCaloDataSelector
0007 //
0008 /**\class FWFromTEveCaloDataSelector FWFromTEveCaloDataSelector.h Fireworks/Calo/interface/FWFromTEveCaloDataSelector.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Fri Oct 23 14:44:32 CDT 2009
0019 //
0020 
0021 // system include files
0022 #include "TEveCaloData.h"
0023 
0024 // user include files
0025 #include "Fireworks/Core/interface/FWFromEveSelectorBase.h"
0026 #include "Fireworks/Calo/interface/FWFromSliceSelector.h"
0027 
0028 // forward declarations
0029 class FWEventItem;
0030 class FWModelChangeManager;
0031 
0032 //==============================================================================
0033 
0034 class FWFromTEveCaloDataSelector : public FWFromEveSelectorBase {
0035 public:
0036   FWFromTEveCaloDataSelector(TEveCaloData*);
0037   ~FWFromTEveCaloDataSelector() override;
0038 
0039   // ---------- const member functions ---------------------
0040 
0041   // ---------- static member functions --------------------
0042 
0043   // ---------- member functions ---------------------------
0044   void doSelect() override;
0045   void doUnselect() override;
0046 
0047   void addSliceSelector(int iSlice, FWFromSliceSelector*);
0048   void resetSliceSelector(int iSlice);
0049 
0050   FWFromTEveCaloDataSelector(const FWFromTEveCaloDataSelector&) = delete;  // stop default
0051 
0052   const FWFromTEveCaloDataSelector& operator=(const FWFromTEveCaloDataSelector&) = delete;  // stop default
0053 private:
0054   // ---------- member data --------------------------------
0055   std::vector<FWFromSliceSelector*> m_sliceSelectors;
0056   TEveCaloData* m_data;  // cached
0057   FWModelChangeManager* m_changeManager;
0058 };
0059 
0060 #endif