CMS 3D CMS Logo

VisHepMCProductTwig.h

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

Generated on Tue Jun 9 17:50:30 2009 for CMSSW by  doxygen 1.5.4