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  class Jet;
32  class BaseTau;
33 } // namespace reco
34 
35 namespace fireworks {
36  class Context;
37 }
38 
40 public:
42  ~FWTauProxyBuilderBase() override;
43 
44  bool haveSingleProduct() const override { return false; }
45  bool havePerViewProduct(FWViewType::EType) const override { return true; }
46  void scaleProduct(TEveElementList* parent, FWViewType::EType, const FWViewContext* vc) override;
47  void cleanLocal() override;
48 
49  void setItem(const FWEventItem* iItem) override;
50 
51 protected:
52  float m_minTheta;
53  float m_maxTheta;
54  std::vector<double> m_phis;
55  void buildBaseTau(const reco::BaseTau& iTau,
56  const reco::Jet* iJet,
57  TEveElement* comp,
59  const FWViewContext* vc);
60 
61  void localModelChanges(const FWModelId& iId,
62  TEveElement* iCompound,
63  FWViewType::EType viewType,
64  const FWViewContext* vc) override;
65 
66 private:
67  FWTauProxyBuilderBase(const FWTauProxyBuilderBase&) = delete; // stop default
68 
69  const FWTauProxyBuilderBase& operator=(const FWTauProxyBuilderBase&) = delete; // stop default
70 
71  // ---------- member data --------------------------------
72  // Add Tracks which passed quality cuts and
73  // are inside a tracker signal cone around leading Track
74  void addConstituentTracks(const reco::BaseTau& tau, class TEveElement* product);
75  // Add leading Track
76  void addLeadTrack(const reco::BaseTau& tau, class TEveElement* product);
77  std::vector<fireworks::scaleMarker> m_lines;
78 };
79 
80 #endif
FWTauProxyBuilderBase::operator=
const FWTauProxyBuilderBase & operator=(const FWTauProxyBuilderBase &)=delete
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
FWTauProxyBuilderBase::buildBaseTau
void buildBaseTau(const reco::BaseTau &iTau, const reco::Jet *iJet, TEveElement *comp, FWViewType::EType type, const FWViewContext *vc)
Definition: FWTauProxyBuilderBase.cc:50
fireworks::Context
Definition: Context.h:41
FWTauProxyBuilderBase::haveSingleProduct
bool haveSingleProduct() const override
Definition: FWTauProxyBuilderBase.h:44
FWTauProxyBuilderBase::havePerViewProduct
bool havePerViewProduct(FWViewType::EType) const override
Definition: FWTauProxyBuilderBase.h:45
FWViewType::EType
EType
Definition: FWViewType.h:31
metsig::tau
Definition: SignAlgoResolutions.h:49
FWModelId
Definition: FWModelId.h:28
FWTauProxyBuilderBase::cleanLocal
void cleanLocal() override
Definition: FWTauProxyBuilderBase.cc:170
FWProxyBuilderBase.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
FWTauProxyBuilderBase::localModelChanges
void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override
Definition: FWTauProxyBuilderBase.cc:146
FWTauProxyBuilderBase::m_maxTheta
float m_maxTheta
Definition: FWTauProxyBuilderBase.h:53
AlCaHLTBitMon_QueryRunRegistry.comp
comp
Definition: AlCaHLTBitMon_QueryRunRegistry.py:249
FWViewType.h
Jet
Definition: Jet.py:1
reco::BaseTau
Definition: BaseTau.h:18
FWTauProxyBuilderBase::addConstituentTracks
void addConstituentTracks(const reco::BaseTau &tau, class TEveElement *product)
Definition: FWTauProxyBuilderBase.cc:122
FWTauProxyBuilderBase::addLeadTrack
void addLeadTrack(const reco::BaseTau &tau, class TEveElement *product)
Definition: FWTauProxyBuilderBase.cc:134
FWTauProxyBuilderBase::~FWTauProxyBuilderBase
~FWTauProxyBuilderBase() override
Definition: FWTauProxyBuilderBase.cc:41
FWTauProxyBuilderBase::m_lines
std::vector< fireworks::scaleMarker > m_lines
Definition: FWTauProxyBuilderBase.h:77
scaleMarker.h
FWViewContext
Definition: FWViewContext.h:32
FWTauProxyBuilderBase::m_phis
std::vector< double > m_phis
Definition: FWTauProxyBuilderBase.h:54
FWEventItem
Definition: FWEventItem.h:56
type
type
Definition: HCALResponse.h:21
FWTauProxyBuilderBase::FWTauProxyBuilderBase
FWTauProxyBuilderBase()
Definition: FWTauProxyBuilderBase.cc:39
FWProxyBuilderBase
Definition: FWProxyBuilderBase.h:46
FWTauProxyBuilderBase::m_minTheta
float m_minTheta
Definition: FWTauProxyBuilderBase.h:52
FWTauProxyBuilderBase::setItem
void setItem(const FWEventItem *iItem) override
Definition: FWTauProxyBuilderBase.cc:43
fireworks
Definition: FWTauProxyBuilderBase.h:35
FWTauProxyBuilderBase
Definition: FWTauProxyBuilderBase.h:39
class-composition.parent
parent
Definition: class-composition.py:88
FWTauProxyBuilderBase::scaleProduct
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
Definition: FWTauProxyBuilderBase.cc:154