File indexing completed on 2024-04-06 12:11:26
0001 #ifndef Fireworks_Calo_FWCaloHistDataProxyBuilder_h
0002 #define Fireworks_Calo_FWCaloHistDataProxyBuilder_h
0003
0004 #include "Fireworks/Calo/interface/FWCaloDataProxyBuilderBase.h"
0005 #include "Fireworks/Calo/interface/FWFromTEveCaloDataSelector.h"
0006
0007 class TH2F;
0008 class FWHistSliceSelector;
0009
0010 class FWCaloDataHistProxyBuilder : public FWCaloDataProxyBuilderBase {
0011 public:
0012 FWCaloDataHistProxyBuilder();
0013 ~FWCaloDataHistProxyBuilder() override;
0014
0015 protected:
0016 bool assertCaloDataSlice() override;
0017 virtual FWHistSliceSelector* instantiateSliceSelector() = 0;
0018 void itemBeingDestroyed(const FWEventItem*) override;
0019 void setCaloData(const fireworks::Context&) override;
0020 void addEntryToTEveCaloData(float eta, float phi, float Et, bool isSelected);
0021
0022 TH2F* m_hist;
0023 FWHistSliceSelector* m_sliceSelector;
0024 };
0025
0026 #endif