CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/Fireworks/ParticleFlow/plugins/FWPFPatJetLegoProxyBuilder.h

Go to the documentation of this file.
00001 #ifndef _FWPFAPATJETLEGOPROXYBUILDER_H_
00002 #define _FWPFPATJETLEGOPROXYBUILDER_H_
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:     ParticleFlow
00007 // Class  :     FWPFPatJetLegoProxyBuilder
00008 // 
00009 // Implementation:
00010 //     <Notes on implementation>
00011 //
00012 // Original Author:  Simon Harris
00013 //
00014 
00015 // User include files
00016 #include "Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h"
00017 #include "Fireworks/Core/interface/FWEventItem.h"
00018 
00019 #include "DataFormats/JetReco/interface/PFJet.h"
00020 #include "DataFormats/PatCandidates/interface/Jet.h"
00021 #include "Fireworks/ParticleFlow/interface/setTrackTypePF.h"
00022 
00023 
00024 //-----------------------------------------------------------------------------
00025 // FWPFPatJetLegoProxyBuilder
00026 //-----------------------------------------------------------------------------
00027 template <class T>
00028 class FWPFPatJetLegoProxyBuilder : public FWSimpleProxyBuilderTemplate<T>
00029 {
00030    public:
00031    // ---------------- Constructor(s)/Destructor ----------------------
00032       FWPFPatJetLegoProxyBuilder();
00033       virtual ~FWPFPatJetLegoProxyBuilder();
00034 
00035    // --------------------- Member Functions --------------------------
00036       virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
00037       virtual void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc);
00038       virtual void localModelChanges(const FWModelId& iId, TEveElement* iCompound, FWViewType::EType viewType, const FWViewContext* vc);
00039 
00040    private:
00041       FWPFPatJetLegoProxyBuilder(const FWPFPatJetLegoProxyBuilder&);             //stop default
00042       const FWPFPatJetLegoProxyBuilder& operator=(FWPFPatJetLegoProxyBuilder&);  //stop default
00043 
00044    // --------------------- Member Functions --------------------------
00045       void build( const T&, unsigned int, TEveElement&, const FWViewContext* );
00046 
00047 };
00048 #endif
00049 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_