Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:29

0001 #ifndef _FWLEGOCANDIDATE_H_
0002 #define _FWLEGOCANDIDATE_H_
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:     Candidates
0007 // Class  :     FWLegoCandidate
0008 //
0009 // Implementation:
0010 //     <Notes on implementation>
0011 //
0012 // Original Author:  Simon Harris
0013 //
0014 
0015 // System include files
0016 #include "TEveStraightLineSet.h"
0017 
0018 // Forward declarations
0019 class FWViewContext;
0020 
0021 namespace fireworks {
0022   class Context;
0023 }
0024 
0025 //-----------------------------------------------------------------------------
0026 // FWLegoCandidate
0027 //-----------------------------------------------------------------------------
0028 class FWLegoCandidate : public TEveStraightLineSet {
0029 public:
0030   // ---------------- Constructor(s)/Destructor ----------------------
0031   FWLegoCandidate(const FWViewContext* vc,
0032                   const fireworks::Context& context,
0033                   float et,
0034                   float energy,
0035                   float pt,
0036                   float eta,
0037                   float phi);
0038   FWLegoCandidate() {}
0039   ~FWLegoCandidate() override {}
0040 
0041   // --------------------- Member Functions --------------------------
0042   void updateScale(const FWViewContext* vc, const fireworks::Context&);
0043 
0044   FWLegoCandidate(const FWLegoCandidate&) = delete;                   // Disable default copy constructor
0045   const FWLegoCandidate& operator=(const FWLegoCandidate&) = delete;  // Disable default assignment operator
0046 
0047 private:
0048   // ----------------------- Data Members ----------------------------
0049   float m_energy;
0050   float m_et;
0051   float m_pt;
0052   float m_eta;
0053   float m_phi;
0054 };
0055 #endif
0056 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_