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 {
20 public:
23  static std::string typeOfBuilder() { return std::string("simple#");}
24  virtual double getEt(const reco::Candidate& cand) const { return cand.pt(); }
25 
26 
28 protected:
29  void fillCaloData() override;
31  void build(const FWEventItem* iItem, TEveElementList* product, const FWViewContext*) override;
32 
33 private:
34  FWCandidateTowerProxyBuilder(const FWCandidateTowerProxyBuilder&) = delete; // stop default
35  const FWCandidateTowerProxyBuilder& operator=(const FWCandidateTowerProxyBuilder&) = delete; // stop default
36 
37  virtual void itemChangedImp(const FWEventItem*);
38  // ---------- member data --------------------------------
40 };
41 
42 #endif
FWHistSliceSelector * instantiateSliceSelector() override
#define REGISTER_PROXYBUILDER_METHODS()
virtual void itemChangedImp(const FWEventItem *)
const FWCandidateTowerProxyBuilder & operator=(const FWCandidateTowerProxyBuilder &)=delete
virtual double pt() const =0
transverse momentum
virtual double getEt(const reco::Candidate &cand) const