CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/Fireworks/Candidates/interface/FWLegoCandidate.h

Go to the documentation of this file.
00001 #ifndef _FWLEGOCANDIDATE_H_
00002 #define _FWLEGOCANDIDATE_H_
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:     Candidates
00007 // Class  :     FWLegoCandidate
00008 //
00009 // Implementation:
00010 //     <Notes on implementation>
00011 //
00012 // Original Author:  Simon Harris
00013 //
00014 
00015 // System include files
00016 #include "TEveStraightLineSet.h"
00017 
00018 // Forward declarations
00019 class FWViewContext;
00020 
00021 namespace fireworks
00022 {
00023    class Context;
00024 }
00025 
00026 //-----------------------------------------------------------------------------
00027 // FWLegoCandidate
00028 //-----------------------------------------------------------------------------
00029 class FWLegoCandidate : public TEveStraightLineSet
00030 {
00031    public:
00032    // ---------------- Constructor(s)/Destructor ----------------------
00033       FWLegoCandidate( const FWViewContext *vc, const fireworks::Context &context, 
00034             float et, float energy, float pt, float eta, float phi );
00035       FWLegoCandidate(){}
00036       virtual ~FWLegoCandidate(){}
00037 
00038    // --------------------- Member Functions --------------------------
00039       void updateScale( const FWViewContext *vc, const fireworks::Context& );
00040 
00041    private:
00042       FWLegoCandidate( const FWLegoCandidate& );                    // Disable default copy constructor
00043       const FWLegoCandidate& operator=( const FWLegoCandidate& );   // Disable default assignment operator
00044 
00045    // ----------------------- Data Members ----------------------------
00046       float m_energy;
00047       float m_et;
00048       float m_pt;
00049       float m_eta;
00050       float m_phi;
00051 };
00052 #endif
00053 //=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_