Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:51

0001 #ifndef _FWPFPATJETLEGOPROXYBUILDER_H_
0002 #define _FWPFPATJETLEGOPROXYBUILDER_H_
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:     ParticleFlow
0007 // Class  :     FWPFPatJetLegoProxyBuilder
0008 //
0009 // Implementation:
0010 //     <Notes on implementation>
0011 //
0012 // Original Author:  Simon Harris
0013 //
0014 
0015 // User include files
0016 #include "Fireworks/Core/interface/FWSimpleProxyBuilderTemplate.h"
0017 #include "Fireworks/Core/interface/FWEventItem.h"
0018 
0019 #include "DataFormats/JetReco/interface/PFJet.h"
0020 #include "DataFormats/PatCandidates/interface/Jet.h"
0021 #include "Fireworks/ParticleFlow/interface/setTrackTypePF.h"
0022 
0023 //-----------------------------------------------------------------------------
0024 // FWPFPatJetLegoProxyBuilder
0025 //-----------------------------------------------------------------------------
0026 template <class T>
0027 class FWPFPatJetLegoProxyBuilder : public FWSimpleProxyBuilderTemplate<T> {
0028 public:
0029   // ---------------- Constructor(s)/Destructor ----------------------
0030   FWPFPatJetLegoProxyBuilder();
0031   ~FWPFPatJetLegoProxyBuilder() override;
0032 
0033   // --------------------- Member Functions --------------------------
0034   using FWProxyBuilderBase::havePerViewProduct;
0035   bool havePerViewProduct(FWViewType::EType) const override { return true; }
0036 
0037   using FWProxyBuilderBase::scaleProduct;
0038   void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc) override;
0039 
0040   using FWProxyBuilderBase::localModelChanges;
0041   void localModelChanges(const FWModelId& iId,
0042                          TEveElement* iCompound,
0043                          FWViewType::EType viewType,
0044                          const FWViewContext* vc) override;
0045 
0046   using FWSimpleProxyBuilderTemplate<T>::build;
0047   void build(const T&, unsigned int, TEveElement&, const FWViewContext*) override;
0048 
0049   FWPFPatJetLegoProxyBuilder(const FWPFPatJetLegoProxyBuilder&) = delete;             //stop default
0050   const FWPFPatJetLegoProxyBuilder& operator=(FWPFPatJetLegoProxyBuilder&) = delete;  //stop default
0051 
0052   // --------------------- Member Functions --------------------------
0053 };
0054 #endif  // FWPFPATJETLEGOPROXYBUILDER
0055 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_