Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:45

0001 // -*- C++ -*-
0002 #ifndef Fireworks_Electrons_FWPhotonDetailView_h
0003 #define Fireworks_Electrons_FWPhotonDetailView_h
0004 //
0005 // Package:     Calo
0006 // Class  :     FWPhotonDetailView
0007 //
0008 // Implementation:
0009 //     <Notes on implementation>
0010 //
0011 // Original Author:
0012 //         Created:  Sun Jan  6 23:57:00 EST 2008
0013 //
0014 
0015 // user include files
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;                   // stop default
0035   const FWPhotonDetailView& operator=(const FWPhotonDetailView&) = delete;  // stop default
0036 
0037 private:
0038   void addSceneInfo(const reco::Photon*, TEveElementList*);
0039 
0040   TEveCaloData* m_data;
0041   FWECALDetailViewBuilder* m_builder;
0042 };
0043 
0044 #endif