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