00001 #ifndef VIS_HCAL_VIS_HOREC_HIT_TWIG_H 00002 # define VIS_HCAL_VIS_HOREC_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/VisEnergyCut.h" 00011 # include "VisFramework/VisFrameworkBase/interface/VisLegoScale.h" 00012 # include "VisFramework/VisFrameworkBase/interface/VisPhiStart.h" 00013 # include "VisFramework/VisFrameworkBase/interface/VisPhiDelta.h" 00014 # include <vector> 00015 00016 //<<<<<< PUBLIC DEFINES >>>>>> 00017 //<<<<<< PUBLIC CONSTANTS >>>>>> 00018 //<<<<<< PUBLIC TYPES >>>>>> 00019 00020 class HORecHit; 00021 00022 //<<<<<< PUBLIC VARIABLES >>>>>> 00023 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00024 //<<<<<< CLASS DECLARATIONS >>>>>> 00025 00026 class VisHORecHitTwig : public VisQueuedTwig 00027 { 00028 public: 00029 VisHORecHitTwig (IgState *state, IgTwig *parent, 00030 const std::string &name = "", 00031 const std::string &friendlyName = "", 00032 const std::string &moduleLabel = "", 00033 const std::string &instanceName = "", 00034 const std::string &processName = "", 00035 unsigned color = 0x0066ff00); 00036 // implicit copy constructor 00037 // implicit assignment operator 00038 // implicit destructor 00039 virtual void onNewEvent (const edm::Event &event, 00040 const edm::EventSetup &eventSetup); 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 VisCaloAnnotation m_annotation; 00057 VisCaloEnergyScale m_escale; 00058 VisEnergyCut m_cut; 00059 VisLegoScale m_scale; 00060 VisPhiStart m_phiStart; 00061 VisPhiDelta m_phiDelta; 00062 std::string m_text; 00063 std::vector<HORecHit> m_recHits; 00064 unsigned m_rgba; 00065 }; 00066 00067 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00068 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00069 00070 #endif // VIS_HCAL_VIS_HOREC_HIT_TWIG_H