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 
42 {
43 public:
45  virtual ~FWTauProxyBuilderBase();
46 
47  virtual bool haveSingleProduct() const { return false; }
48  virtual bool havePerViewProduct(FWViewType::EType) const { return true; }
49  virtual void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc);
50  virtual void cleanLocal();
51 
52 protected:
53  float m_minTheta;
54  float m_maxTheta;
55  std::vector<double> m_phis;
56  void buildBaseTau( const reco::BaseTau& iTau, const reco::Jet* iJet, TEveElement* comp, FWViewType::EType type, const FWViewContext* vc);
57 
58  virtual void localModelChanges(const FWModelId& iId, TEveElement* iCompound,
59  FWViewType::EType viewType, const FWViewContext* vc);
60 private:
61  FWTauProxyBuilderBase(const FWTauProxyBuilderBase&); // stop default
62 
63  const FWTauProxyBuilderBase& operator=(const FWTauProxyBuilderBase&); // stop default
64 
65  // ---------- member data --------------------------------
66  // Add Tracks which passed quality cuts and
67  // are inside a tracker signal cone around leading Track
68  void addConstituentTracks( const reco::BaseTau &tau, class TEveElement *product );
69  // Add leading Track
70  void addLeadTrack( const reco::BaseTau &tau, class TEveElement *product );
71  std::vector<fireworks::scaleMarker> m_lines;
72 };
73 
74 
75 #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