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