CMS 3D CMS Logo

FWLegoCandidate.h
Go to the documentation of this file.
1 #ifndef _FWLEGOCANDIDATE_H_
2 #define _FWLEGOCANDIDATE_H_
3 
4 // -*- C++ -*-
5 //
6 // Package: Candidates
7 // Class : FWLegoCandidate
8 //
9 // Implementation:
10 // <Notes on implementation>
11 //
12 // Original Author: Simon Harris
13 //
14 
15 // System include files
16 #include "TEveStraightLineSet.h"
17 
18 // Forward declarations
19 class FWViewContext;
20 
21 namespace fireworks {
22  class Context;
23 }
24 
25 //-----------------------------------------------------------------------------
26 // FWLegoCandidate
27 //-----------------------------------------------------------------------------
28 class FWLegoCandidate : public TEveStraightLineSet {
29 public:
30  // ---------------- Constructor(s)/Destructor ----------------------
33  float et,
34  float energy,
35  float pt,
36  float eta,
37  float phi);
39  ~FWLegoCandidate() override {}
40 
41  // --------------------- Member Functions --------------------------
42  void updateScale(const FWViewContext* vc, const fireworks::Context&);
43 
44  FWLegoCandidate(const FWLegoCandidate&) = delete; // Disable default copy constructor
45  const FWLegoCandidate& operator=(const FWLegoCandidate&) = delete; // Disable default assignment operator
46 
47 private:
48  // ----------------------- Data Members ----------------------------
49  float m_energy;
50  float m_et;
51  float m_pt;
52  float m_eta;
53  float m_phi;
54 };
55 #endif
56 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
~FWLegoCandidate() override
void updateScale(const FWViewContext *vc, const fireworks::Context &)
const FWLegoCandidate & operator=(const FWLegoCandidate &)=delete