00001 #ifndef VIS_RECO_JETS_VIS_GEN_JET_COLLECTION_TWIG_H 00002 # define VIS_RECO_JETS_VIS_GEN_JET_COLLECTION_TWIG_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "VisFramework/VisFrameworkBase/interface/VisQueuedTwig.h" 00007 # include "VisFramework/VisFrameworkBase/interface/VisCaloAnnotation.h" 00008 # include "VisFramework/VisFrameworkBase/interface/VisCaloEnergyScale.h" 00009 # include "VisFramework/VisFrameworkBase/interface/VisEnergyCut.h" 00010 # include "VisFramework/VisFrameworkBase/interface/VisLegoScale.h" 00011 # include "DataFormats/JetReco/interface/GenJetCollection.h" 00012 00013 //<<<<<< PUBLIC DEFINES >>>>>> 00014 //<<<<<< PUBLIC CONSTANTS >>>>>> 00015 //<<<<<< PUBLIC TYPES >>>>>> 00016 //<<<<<< PUBLIC VARIABLES >>>>>> 00017 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00018 //<<<<<< CLASS DECLARATIONS >>>>>> 00019 00020 class VisGenJetCollectionTwig : public VisQueuedTwig 00021 { 00022 public: 00023 VisGenJetCollectionTwig (IgState *state, IgTwig *parent, const std::string &name = "", 00024 const std::string &friendlyName = "", 00025 const std::string &moduleLabel = "", 00026 const std::string &instanceName = "", 00027 const std::string &processName = ""); 00028 // implicit copy constructor 00029 // implicit assignment operator 00030 // implicit destructor 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 virtual void scaleChanged (void); 00041 00042 private: 00043 std::string m_text; 00044 const std::string m_friendlyName; 00045 const std::string m_moduleLabel; 00046 const std::string m_instanceName; 00047 const std::string m_processName; 00048 VisLegoScale m_scale; 00049 VisEnergyCut m_cut; 00050 VisCaloEnergyScale m_escale; 00051 VisCaloAnnotation m_annotation; 00052 reco::GenJetCollection m_jets; 00053 }; 00054 00055 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00056 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00057 00058 #endif // VIS_RECO_JETS_VIS_GEN_JET_COLLECTION_TWIG_H