CMS 3D CMS Logo

GPFSimParticle.h

Go to the documentation of this file.
00001 #ifndef Graphic_PFSimPart_h
00002 #define Graphic_PFSimPart_h
00003 
00009 #include "RecoParticleFlow/PFRootEvent/interface/DisplayManager.h"
00010 #include "DataFormats/ParticleFlowReco/interface/PFSimParticle.h"
00011 #include "RecoParticleFlow/PFRootEvent/interface/GPFBase.h" 
00012 
00013 #include "TGraph.h"
00014 #include <string>
00015 
00016 
00017 class GPFSimParticle : public GPFBase, public TGraph {
00018  public:
00019 
00020   GPFSimParticle(DisplayManager *dm,int view, int ident, 
00021                  const reco::PFSimParticle *ptc, 
00022                  int size, double *x, double *y,
00023                  double pt,TAttMarker *attm,TAttLine *attl,
00024                  std::string option);
00025                  
00026   virtual void     draw();
00027   double           getPt() { return pt_;}
00028   void             setColor();
00029   void             setColor(int newcol);
00030   void             setInitialColor();
00031   void             setNewStyle();
00032   void             setNewSize();
00033      
00034   //overridden ROOT method
00035   virtual void     Print();     // *MENU*
00036   virtual void     ExecuteEvent(Int_t event, Int_t px, Int_t py);
00037 
00038     
00039  private:
00040   const reco::PFSimParticle*  part_;
00041   double                      pt_;
00042   //draw option
00043   std::string                 option_;
00044       
00045 };  
00046 #endif

Generated on Tue Jun 9 17:44:45 2009 for CMSSW by  doxygen 1.5.4