00001 #ifndef VIS_RECO_JETS_VIS_GEN_JET_TWIG_H 00002 # define VIS_RECO_JETS_VIS_GEN_JET_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/GenJet.h" 00012 # include <vector> 00013 00014 //<<<<<< PUBLIC DEFINES >>>>>> 00015 //<<<<<< PUBLIC CONSTANTS >>>>>> 00016 //<<<<<< PUBLIC TYPES >>>>>> 00017 00018 class CaloTower; 00019 class CaloTowerDetId; 00020 00021 //<<<<<< PUBLIC VARIABLES >>>>>> 00022 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00023 //<<<<<< CLASS DECLARATIONS >>>>>> 00024 00025 class VisGenJetTwig : public VisQueuedTwig 00026 { 00027 public: 00028 VisGenJetTwig (IgState *state, IgTwig *parent, const std::string &name, 00029 const edm::Event &event, const edm::EventSetup &eventSetup, 00030 const reco::GenJet &jet); 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 00037 using VisQueuedTwig::update; 00038 virtual void update (IgTextRep *rep); 00039 virtual void update (Ig3DRep *rep); 00040 virtual void update (IgLegoRep *rep); 00041 virtual void update (IgRPhiRep *rep); 00042 virtual void update (IgRZRep *rep); 00043 virtual void scaleChanged (void); 00044 00045 private: 00046 const edm::Event & m_event; 00047 const edm::EventSetup & m_eventSetup; 00048 const reco::GenJet & m_jet; 00049 VisLegoScale m_scale; 00050 VisEnergyCut m_cut; 00051 VisCaloEnergyScale m_escale; 00052 VisCaloAnnotation m_annotation; 00053 }; 00054 00055 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00056 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00057 00058 #endif // VIS_RECO_JETS_VIS_GEN_JET_TWIG_H