CMS 3D CMS Logo

FWTauProxyBuilderBase.h
Go to the documentation of this file.
1 #ifndef Fireworks_Calo_FWTauProxyBuilderBase_h
2 #define Fireworks_Calo_FWTauProxyBuilderBase_h
3 
4 // -*- C++ -*-
5 //
6 // Package: Calo
7 // Class : FWTauProxyBuilderBase
8 //
17 //
18 // Original Author: Alja Mrak-Tadel
19 // Created: Thu Oct 21 20:40:32 CEST 2010
20 //
21 
25 #include <vector>
26 
27 class TEveScalableStraightLineSet;
28 class FWViewContext;
29 
30 namespace reco
31 {
32 class Jet;
33 class BaseTau;
34 }
35 
36 namespace fireworks
37 {
38 class Context;
39 }
40 
41 
43 {
44 public:
46  ~FWTauProxyBuilderBase() override;
47 
48  bool haveSingleProduct() const override { return false; }
49  bool havePerViewProduct(FWViewType::EType) const override { return true; }
50  void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc) override;
51  void cleanLocal() override;
52 
53  void setItem(const FWEventItem* iItem) override;
54 
55 protected:
56  float m_minTheta;
57  float m_maxTheta;
58  std::vector<double> m_phis;
59  void buildBaseTau( const reco::BaseTau& iTau, const reco::Jet* iJet, TEveElement* comp, FWViewType::EType type, const FWViewContext* vc);
60 
61  void localModelChanges(const FWModelId& iId, TEveElement* iCompound,
62  FWViewType::EType viewType, const FWViewContext* vc) override;
63 private:
64  FWTauProxyBuilderBase(const FWTauProxyBuilderBase&) = delete; // stop default
65 
66  const FWTauProxyBuilderBase& operator=(const FWTauProxyBuilderBase&) = delete; // stop default
67 
68  // ---------- member data --------------------------------
69  // Add Tracks which passed quality cuts and
70  // are inside a tracker signal cone around leading Track
71  void addConstituentTracks( const reco::BaseTau &tau, class TEveElement *product );
72  // Add leading Track
73  void addLeadTrack( const reco::BaseTau &tau, class TEveElement *product );
74  std::vector<fireworks::scaleMarker> m_lines;
75 };
76 
77 
78 #endif
type
Definition: HCALResponse.h:21
Base class for all types of Jets.
Definition: Jet.h:20
Definition: Jet.py:1
fixed size matrix
std::vector< double > m_phis
bool haveSingleProduct() const override
bool havePerViewProduct(FWViewType::EType) const override
std::vector< fireworks::scaleMarker > m_lines