![]() |
![]() |
00001 #ifndef VIS_SIM_HITS_VIS_PCALO_HIT_TWIG_H 00002 # define VIS_SIM_HITS_VIS_PCALO_HIT_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00007 # include <vector> 00008 00009 //<<<<<< PUBLIC DEFINES >>>>>> 00010 //<<<<<< PUBLIC CONSTANTS >>>>>> 00011 //<<<<<< PUBLIC TYPES >>>>>> 00012 00013 class PCaloHit; 00014 00015 //<<<<<< PUBLIC VARIABLES >>>>>> 00016 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00017 //<<<<<< CLASS DECLARATIONS >>>>>> 00018 00019 class VisPCaloHitTwig : public VisQueuedTwig 00020 { 00021 public: 00022 VisPCaloHitTwig (IgState *state, IgTwig *parent, const std::string &name = "", 00023 const std::string &friendlyName = "", 00024 const std::string &moduleLabel = "", 00025 const std::string &instanceName = "", 00026 const std::string &processName = ""); 00027 // implicit copy constructor 00028 // implicit assignment operator 00029 // implicit destructor 00030 00031 virtual void onNewEvent (const edm::Event &event, 00032 const edm::EventSetup &eventSetup); 00033 00034 using VisQueuedTwig::update; 00035 virtual void update (IgTextRep *rep); 00036 virtual void update (Ig3DRep *rep); 00037 virtual void update (IgLegoRep *rep); 00038 virtual void update (IgRPhiRep *rep); 00039 virtual void update (IgRZRep *rep); 00040 00041 private: 00042 std::string m_text; 00043 std::string m_friendlyName; 00044 std::string m_moduleLabel; 00045 std::string m_instanceName; 00046 std::string m_processName; 00047 double m_minEnergy; 00048 std::vector<PCaloHit> m_hits; 00049 }; 00050 00051 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00052 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00053 00054 #endif // VIS_SIM_HITS_VIS_PCALO_HIT_TWIG_H