00001 #ifndef VIS_ECAL_VIS_ECAL_REC_HIT_TWIG_H 00002 # define VIS_ECAL_VIS_ECAL_REC_HIT_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00007 # include "VisFramework/VisFrameworkBase/interface/VisBinningStrategy.h" 00008 # include "VisFramework/VisFrameworkBase/interface/VisCaloAnnotation.h" 00009 # include "VisFramework/VisFrameworkBase/interface/VisCaloEnergyScale.h" 00010 # include "VisFramework/VisFrameworkBase/interface/VisEcalEnergyCut.h" 00011 # include "VisFramework/VisFrameworkBase/interface/VisLegoScale.h" 00012 # include "VisFramework/VisFrameworkBase/interface/VisEcalRMax.h" 00013 # include <vector> 00014 00015 //<<<<<< PUBLIC DEFINES >>>>>> 00016 //<<<<<< PUBLIC CONSTANTS >>>>>> 00017 //<<<<<< PUBLIC TYPES >>>>>> 00018 00019 class EcalRecHit; 00020 00021 //<<<<<< PUBLIC VARIABLES >>>>>> 00022 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00023 //<<<<<< CLASS DECLARATIONS >>>>>> 00024 00025 class VisEcalRecHitTwig : public VisQueuedTwig 00026 { 00027 public: 00028 VisEcalRecHitTwig (IgState *state, IgTwig *parent, 00029 const std::string &name = "", 00030 const std::string &friendlyName = "", 00031 const std::string &moduleLabel = "", 00032 const std::string &instanceName = "", 00033 const std::string &processName = "", 00034 unsigned color = 0xff009c00); 00035 // implicit copy constructor 00036 // implicit assignment operator 00037 // implicit destructor 00038 void onNewEvent (const edm::Event &event, 00039 const edm::EventSetup &eventSetup); 00040 00041 using VisQueuedTwig::update; 00042 virtual void update (Ig3DRep *rep); 00043 virtual void update (IgLegoRep *rep); 00044 virtual void update (IgTextRep *rep); 00045 virtual void update (IgRPhiRep *rep); 00046 virtual void update (IgRZRep *rep); 00047 virtual void twigChanged (void); 00048 00049 private: 00050 std::string m_name; 00051 const std::string m_friendlyName; 00052 const std::string m_moduleLabel; 00053 const std::string m_instanceName; 00054 const std::string m_processName; 00055 VisBinningStrategy m_binning; 00056 VisLegoScale m_scale; 00057 VisEcalEnergyCut m_cut; 00058 VisCaloEnergyScale m_escale; 00059 VisCaloAnnotation m_annotation; 00060 VisEcalRMax m_rMax; 00061 std::string m_text; 00062 std::vector<EcalRecHit> m_recHits; 00063 unsigned m_rgba; 00064 }; 00065 00066 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00067 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00068 00069 #endif // VIS_ECAL_VIS_ECAL_REC_HIT_TWIG_H