File indexing completed on 2024-04-06 12:11:45
0001
0002 #ifndef Fireworks_Electrons_FWPhotonDetailView_h
0003 #define Fireworks_Electrons_FWPhotonDetailView_h
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "Fireworks/Core/interface/FWDetailViewGL.h"
0017
0018 class FWECALDetailViewBuilder;
0019 class TEveCaloData;
0020 namespace reco {
0021 class Photon;
0022 }
0023
0024 class FWPhotonDetailView : public FWDetailViewGL<reco::Photon> {
0025 public:
0026 FWPhotonDetailView();
0027 ~FWPhotonDetailView() override;
0028
0029 using FWDetailViewGL<reco::Photon>::build;
0030 void build(const FWModelId& id, const reco::Photon*) override;
0031 using FWDetailViewGL<reco::Photon>::setTextInfo;
0032 void setTextInfo(const FWModelId& id, const reco::Photon*) override;
0033
0034 FWPhotonDetailView(const FWPhotonDetailView&) = delete;
0035 const FWPhotonDetailView& operator=(const FWPhotonDetailView&) = delete;
0036
0037 private:
0038 void addSceneInfo(const reco::Photon*, TEveElementList*);
0039
0040 TEveCaloData* m_data;
0041 FWECALDetailViewBuilder* m_builder;
0042 };
0043
0044 #endif