FWLegoCandidate

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
#ifndef _FWLEGOCANDIDATE_H_
#define _FWLEGOCANDIDATE_H_

// -*- C++ -*-
//
// Package:     Candidates
// Class  :     FWLegoCandidate
//
// Implementation:
//     <Notes on implementation>
//
// Original Author:  Simon Harris
//

// System include files
#include "TEveStraightLineSet.h"

// Forward declarations
class FWViewContext;

namespace fireworks {
  class Context;
}

//-----------------------------------------------------------------------------
// FWLegoCandidate
//-----------------------------------------------------------------------------
class FWLegoCandidate : public TEveStraightLineSet {
public:
  // ---------------- Constructor(s)/Destructor ----------------------
  FWLegoCandidate(const FWViewContext* vc,
                  const fireworks::Context& context,
                  float et,
                  float energy,
                  float pt,
                  float eta,
                  float phi);
  FWLegoCandidate() {}
  ~FWLegoCandidate() override {}

  // --------------------- Member Functions --------------------------
  void updateScale(const FWViewContext* vc, const fireworks::Context&);

  FWLegoCandidate(const FWLegoCandidate&) = delete;                   // Disable default copy constructor
  const FWLegoCandidate& operator=(const FWLegoCandidate&) = delete;  // Disable default assignment operator

private:
  // ----------------------- Data Members ----------------------------
  float m_energy;
  float m_et;
  float m_pt;
  float m_eta;
  float m_phi;
};
#endif
//=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_