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 {
23  class Context;
24 }
25 
26 //-----------------------------------------------------------------------------
27 // FWLegoCandidate
28 //-----------------------------------------------------------------------------
29 class FWLegoCandidate : public TEveStraightLineSet
30 {
31  public:
32  // ---------------- Constructor(s)/Destructor ----------------------
33  FWLegoCandidate( const FWViewContext *vc, const fireworks::Context &context,
34  float et, float energy, float pt, float eta, float phi );
36  virtual ~FWLegoCandidate(){}
37 
38  // --------------------- Member Functions --------------------------
39  void updateScale( const FWViewContext *vc, const fireworks::Context& );
40 
41  private:
42  FWLegoCandidate( const FWLegoCandidate& ); // Disable default copy constructor
43  const FWLegoCandidate& operator=( const FWLegoCandidate& ); // Disable default assignment operator
44 
45  // ----------------------- Data Members ----------------------------
46  float m_energy;
47  float m_et;
48  float m_pt;
49  float m_eta;
50  float m_phi;
51 };
52 #endif
53 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
virtual ~FWLegoCandidate()
et
define resolution functions of each parameter