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  virtual ~FWTauProxyBuilderBase();
47 
48  virtual bool haveSingleProduct() const { return false; }
49  virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
50  virtual void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc);
51  virtual void cleanLocal();
52 
53  virtual void setItem(const FWEventItem* iItem);
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  virtual void localModelChanges(const FWModelId& iId, TEveElement* iCompound,
62  FWViewType::EType viewType, const FWViewContext* vc);
63 private:
64  FWTauProxyBuilderBase(const FWTauProxyBuilderBase&); // stop default
65 
66  const FWTauProxyBuilderBase& operator=(const FWTauProxyBuilderBase&); // 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
virtual bool haveSingleProduct() const
Definition: Jet.py:1
virtual bool havePerViewProduct(FWViewType::EType) const
fixed size matrix
std::vector< double > m_phis
std::vector< fireworks::scaleMarker > m_lines