File indexing completed on 2024-04-06 12:11:27
0001 #ifndef Fireworks_Calo_FWCaloParticleTowerProxyBuilder_h
0002 #define Fireworks_Calo_FWCaloParticleTowerProxyBuilder_h
0003
0004 #include "Rtypes.h"
0005 #include <string>
0006 #include <typeinfo>
0007
0008 #include "Fireworks/Calo/interface/FWCaloDataHistProxyBuilder.h"
0009 #include "Fireworks/Core/interface/FWSimpleProxyHelper.h"
0010
0011 #include "DataFormats/ParticleFlowReco/interface/HGCalMultiCluster.h"
0012
0013 class FWHistSliceSelector;
0014
0015 class FWHGCalMultiClusterLegoProxyBuilder : public FWCaloDataHistProxyBuilder {
0016 public:
0017 FWHGCalMultiClusterLegoProxyBuilder();
0018 ~FWHGCalMultiClusterLegoProxyBuilder() override;
0019
0020 REGISTER_PROXYBUILDER_METHODS();
0021
0022 FWHGCalMultiClusterLegoProxyBuilder(const FWHGCalMultiClusterLegoProxyBuilder &) = delete;
0023 const FWHGCalMultiClusterLegoProxyBuilder &operator=(const FWHGCalMultiClusterLegoProxyBuilder &) =
0024 delete;
0025
0026 private:
0027 void fillCaloData() override;
0028 FWHistSliceSelector *instantiateSliceSelector() override;
0029 void build(const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override;
0030
0031 const std::vector<reco::HGCalMultiCluster> *m_towers;
0032 };
0033
0034 #endif