CMS 3D CMS Logo

FWFromTEveCaloDataSelector.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWFromTEveCaloDataSelector_h
2 #define Fireworks_Calo_FWFromTEveCaloDataSelector_h
3 // -*- C++ -*-
4 //
5 // Package: Calo
6 // Class : FWFromTEveCaloDataSelector
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri Oct 23 14:44:32 CDT 2009
19 //
20 
21 // system include files
22 #include "TEveCaloData.h"
23 
24 // user include files
27 
28 // forward declarations
29 class FWEventItem;
31 
32 //==============================================================================
33 
35 public:
36  FWFromTEveCaloDataSelector(TEveCaloData*);
37  ~FWFromTEveCaloDataSelector() override;
38 
39  // ---------- const member functions ---------------------
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
44  void doSelect() override;
45  void doUnselect() override;
46 
47  void addSliceSelector(int iSlice, FWFromSliceSelector*);
48  void resetSliceSelector(int iSlice);
49 
50  FWFromTEveCaloDataSelector(const FWFromTEveCaloDataSelector&) = delete; // stop default
51 
52  const FWFromTEveCaloDataSelector& operator=(const FWFromTEveCaloDataSelector&) = delete; // stop default
53 private:
54  // ---------- member data --------------------------------
55  std::vector<FWFromSliceSelector*> m_sliceSelectors;
56  TEveCaloData* m_data; // cached
58 };
59 
60 #endif
void addSliceSelector(int iSlice, FWFromSliceSelector *)
FWModelChangeManager * m_changeManager
const FWFromTEveCaloDataSelector & operator=(const FWFromTEveCaloDataSelector &)=delete
std::vector< FWFromSliceSelector * > m_sliceSelectors