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 private:
51  FWFromTEveCaloDataSelector(const FWFromTEveCaloDataSelector&) = delete; // stop default
52 
53  const FWFromTEveCaloDataSelector& operator=(const FWFromTEveCaloDataSelector&) = delete; // stop default
54 
55  // ---------- member data --------------------------------
56  std::vector<FWFromSliceSelector*> m_sliceSelectors;
57  TEveCaloData* m_data; // cached
59 };
60 
61 #endif
FWFromTEveCaloDataSelector::FWFromTEveCaloDataSelector
FWFromTEveCaloDataSelector(TEveCaloData *)
Definition: FWFromTEveCaloDataSelector.cc:30
FWFromTEveCaloDataSelector::operator=
const FWFromTEveCaloDataSelector & operator=(const FWFromTEveCaloDataSelector &)=delete
FWFromSliceSelector.h
FWModelChangeManager
Definition: FWModelChangeManager.h:33
FWFromTEveCaloDataSelector::addSliceSelector
void addSliceSelector(int iSlice, FWFromSliceSelector *)
Definition: FWFromTEveCaloDataSelector.cc:87
FWFromTEveCaloDataSelector::m_changeManager
FWModelChangeManager * m_changeManager
Definition: FWFromTEveCaloDataSelector.h:58
FWFromTEveCaloDataSelector::m_data
TEveCaloData * m_data
Definition: FWFromTEveCaloDataSelector.h:57
FWFromTEveCaloDataSelector::resetSliceSelector
void resetSliceSelector(int iSlice)
Definition: FWFromTEveCaloDataSelector.cc:102
FWFromTEveCaloDataSelector::doSelect
void doSelect() override
Definition: FWFromTEveCaloDataSelector.cc:63
FWFromSliceSelector
Definition: FWFromSliceSelector.h:30
FWFromTEveCaloDataSelector
Definition: FWFromTEveCaloDataSelector.h:34
FWFromTEveCaloDataSelector::m_sliceSelectors
std::vector< FWFromSliceSelector * > m_sliceSelectors
Definition: FWFromTEveCaloDataSelector.h:56
FWFromEveSelectorBase
Definition: FWFromEveSelectorBase.h:27
FWEventItem
Definition: FWEventItem.h:56
FWFromTEveCaloDataSelector::doUnselect
void doUnselect() override
Definition: FWFromTEveCaloDataSelector.cc:75
FWFromTEveCaloDataSelector::~FWFromTEveCaloDataSelector
~FWFromTEveCaloDataSelector() override
Definition: FWFromTEveCaloDataSelector.cc:41
FWFromEveSelectorBase.h