CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/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 "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
00022 #include "Fireworks/ParticleFlow/plugins/FWPFLegoCandidate.h"
00023 #include "Fireworks/ParticleFlow/interface/setTrackTypePF.h"
00024 
00025 
00026 //-----------------------------------------------------------------------------
00027 // FWPFPatJetLegoProxyBuilder
00028 //-----------------------------------------------------------------------------
00029 template <class T>
00030 class FWPFPatJetLegoProxyBuilder : public FWSimpleProxyBuilderTemplate<T>
00031 {
00032    public:
00033    // ---------------- Constructor(s)/Destructor ----------------------
00034       FWPFPatJetLegoProxyBuilder();
00035       virtual ~FWPFPatJetLegoProxyBuilder();
00036 
00037    // --------------------- Member Functions --------------------------
00038       virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
00039       virtual void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc);
00040       virtual void localModelChanges(const FWModelId& iId, TEveElement* iCompound, FWViewType::EType viewType, const FWViewContext* vc);
00041 
00042    private:
00043       FWPFPatJetLegoProxyBuilder(const FWPFPatJetLegoProxyBuilder&);             //stop default
00044       const FWPFPatJetLegoProxyBuilder& operator=(FWPFPatJetLegoProxyBuilder&);  //stop default
00045 
00046    // --------------------- Member Functions --------------------------
00047       void build( const T&, unsigned int, TEveElement&, const FWViewContext* );
00048 
00049 };
00050 #endif
00051 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_