00001 #ifndef VIS_MUON_CSC_VIS_CSCSTRIP_DIGI_TWIG_H 00002 # define VIS_MUON_CSC_VIS_CSCSTRIP_DIGI_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00007 # include "FWCore/Framework/interface/ESHandle.h" 00008 # include "Geometry/CSCGeometry/interface/CSCGeometry.h" 00009 # include <vector> 00010 # include <set> 00011 00012 //<<<<<< PUBLIC DEFINES >>>>>> 00013 //<<<<<< PUBLIC CONSTANTS >>>>>> 00014 //<<<<<< PUBLIC TYPES >>>>>> 00015 00016 class CSCStripDigi; 00017 class CSCDetId; 00018 class VisCSCStackPlots; 00019 class VisCSCChamberSelectorImpl; 00020 00021 //<<<<<< PUBLIC VARIABLES >>>>>> 00022 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00023 //<<<<<< CLASS DECLARATIONS >>>>>> 00024 00025 class VisCSCStripDigiTwig : public VisQueuedTwig 00026 { 00027 public: 00028 VisCSCStripDigiTwig (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 // implicit copy constructor 00035 // implicit assignment operator 00036 // implicit destructor 00037 00038 virtual void onNewEvent (const edm::Event &event, 00039 const edm::EventSetup &eventSetup); 00040 using VisQueuedTwig::update; 00041 virtual void update (Ig3DRep *rep); 00042 virtual void update (IgLegoRep *rep); 00043 virtual void update (IgTextRep *rep); 00044 virtual void update (IgRPhiRep *rep); 00045 virtual void update (IgRZRep *rep); 00046 virtual void update (IgSpareRep *rep); 00047 private: 00048 std::string m_text; 00049 const std::string m_friendlyName; 00050 const std::string m_moduleLabel; 00051 const std::string m_instanceName; 00052 const std::string m_processName; 00053 std::vector< std::pair<CSCDetId, CSCStripDigi> > m_digis; 00054 edm::ESHandle<CSCGeometry> m_pDD; 00055 std::set<CSCDetId> m_dets; 00056 VisCSCStackPlots* m_stackplots; 00057 }; 00058 00059 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00060 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00061 00062 #endif // VIS_MUON_CSC_VIS_CSCSTRIP_DIGI_TWIG_H