CMS 3D CMS Logo

FWCandidateTowerProxyBuilder.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWCandTowerProxyBuilder_h
2 #define Fireworks_Calo_FWCandTowerProxyBuilder_h
3 // -*- C++ -*-
4 //
5 // Package: Calo
6 #include "Rtypes.h"
7 #include <string>
8 
12 
15 
17 
19 public:
22  static std::string typeOfBuilder() { return std::string("simple#"); }
23  virtual double getEt(const reco::Candidate& cand) const { return cand.pt(); }
24 
26 
27 protected:
28  void fillCaloData() override;
30  void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*) override;
31 
32 private:
33  FWCandidateTowerProxyBuilder(const FWCandidateTowerProxyBuilder&) = delete; // stop default
34  const FWCandidateTowerProxyBuilder& operator=(const FWCandidateTowerProxyBuilder&) = delete; // stop default
35 
36  virtual void itemChangedImp(const FWEventItem*);
37  // ---------- member data --------------------------------
39 };
40 
41 #endif
FWHistSliceSelector * instantiateSliceSelector() override
virtual void itemChangedImp(const FWEventItem *)
const FWCandidateTowerProxyBuilder & operator=(const FWCandidateTowerProxyBuilder &)=delete
virtual double pt() const =0
transverse momentum
#define REGISTER_PROXYBUILDER_METHODS()
virtual double getEt(const reco::Candidate &cand) const