CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoParticleFlow/PFRootEvent/interface/GPFCluster.h

Go to the documentation of this file.
00001 #ifndef Graphic_PFCluster_h
00002 #define Graphic_PFCluster_h
00003 
00009 #include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
00010 #include "RecoParticleFlow/PFRootEvent/interface/GPFBase.h" 
00011 #include "TMarker.h"
00012 
00013 
00014 class GPFCluster : public GPFBase, public TMarker {
00015  public:
00016 
00017   GPFCluster(DisplayManager *dm, int view, int ident, 
00018              const reco::PFCluster* clus,
00019              double x,double y,TAttMarker *attm);
00020   virtual ~GPFCluster() {;}
00021     
00022   double           getEnergy() {return en_;}
00023   virtual void     draw();
00024   void             setColor();
00025   void             setColor(int newcol);
00026   void             setInitialColor();
00027   void             setNewStyle();
00028   void             setNewSize(); 
00029     
00030   //overridden ROOT method 
00031   virtual void     Print();     // *MENU*
00032   virtual void     ExecuteEvent(Int_t event, Int_t px, Int_t py);
00033     
00034   const GPFCluster& operator=( const GPFCluster& other ) {
00035     clus_ = other.clus_;
00036     return *this;
00037   }
00038 
00039  private:
00040   const reco::PFCluster*   clus_;
00041   //energy
00042   double                   en_;
00043     
00044 };  
00045 #endif