CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: FWTauProxyBuilderBase.h,v 1.2 2012/03/23 00:08:28 amraktad Exp $
21 //
22 
26 #include <vector>
27 
28 class TEveScalableStraightLineSet;
29 class FWViewContext;
30 
31 namespace reco
32 {
33 class Jet;
34 class BaseTau;
35 }
36 
37 namespace fireworks
38 {
39 class Context;
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 protected:
54  float m_minTheta;
55  float m_maxTheta;
56  std::vector<double> m_phis;
57  void buildBaseTau( const reco::BaseTau& iTau, const reco::Jet* iJet, TEveElement* comp, FWViewType::EType type, const FWViewContext* vc);
58 
59  virtual void localModelChanges(const FWModelId& iId, TEveElement* iCompound,
60  FWViewType::EType viewType, const FWViewContext* vc);
61 private:
62  FWTauProxyBuilderBase(const FWTauProxyBuilderBase&); // stop default
63 
64  const FWTauProxyBuilderBase& operator=(const FWTauProxyBuilderBase&); // stop default
65 
66  // ---------- member data --------------------------------
67  // Add Tracks which passed quality cuts and
68  // are inside a tracker signal cone around leading Track
69  void addConstituentTracks( const reco::BaseTau &tau, class TEveElement *product );
70  // Add leading Track
71  void addLeadTrack( const reco::BaseTau &tau, class TEveElement *product );
72  std::vector<fireworks::scaleMarker> m_lines;
73 };
74 
75 
76 #endif
type
Definition: HCALResponse.h:22
list parent
Definition: dbtoconf.py:74
void addLeadTrack(const reco::BaseTau &tau, class TEveElement *product)
Base class for all types of Jets.
Definition: Jet.h:21
const FWTauProxyBuilderBase & operator=(const FWTauProxyBuilderBase &)
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
void addConstituentTracks(const reco::BaseTau &tau, class TEveElement *product)
void buildBaseTau(const reco::BaseTau &iTau, const reco::Jet *iJet, TEveElement *comp, FWViewType::EType type, const FWViewContext *vc)
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
virtual bool haveSingleProduct() const
virtual bool havePerViewProduct(FWViewType::EType) const
std::vector< double > m_phis
std::vector< fireworks::scaleMarker > m_lines