CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Fireworks/Electrons/plugins/FWPhotonDetailView.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #ifndef Fireworks_Electrons_FWPhotonDetailView_h
00003 #define Fireworks_Electrons_FWPhotonDetailView_h
00004 //
00005 // Package:     Calo
00006 // Class  :     FWPhotonDetailView
00007 //
00008 // Implementation:
00009 //     <Notes on implementation>
00010 //
00011 // Original Author:
00012 //         Created:  Sun Jan  6 23:57:00 EST 2008
00013 // $Id: FWPhotonDetailView.h,v 1.9 2010/01/14 15:55:14 amraktad Exp $
00014 //
00015 
00016 // user include files
00017 #include "Fireworks/Core/interface/FWDetailViewGL.h"
00018 
00019 class FWECALDetailViewBuilder;
00020 namespace reco {
00021 class Photon;
00022 }
00023 
00024 class FWPhotonDetailView : public FWDetailViewGL<reco::Photon> {
00025 
00026 public:
00027    FWPhotonDetailView();
00028    virtual ~FWPhotonDetailView();
00029 
00030    virtual void build (const FWModelId &id, const reco::Photon*);
00031    virtual void setTextInfo(const FWModelId &id, const reco::Photon*);
00032 
00033 private:
00034    FWPhotonDetailView(const FWPhotonDetailView&); // stop default
00035    const FWPhotonDetailView& operator=(const FWPhotonDetailView&); // stop default
00036 
00037    void addSceneInfo(const reco::Photon*, TEveElementList*);
00038 
00039    TEveCaloData* m_data;
00040    FWECALDetailViewBuilder* m_builder;
00041 };
00042 
00043 #endif