CMS 3D CMS Logo

GPFGenParticle.h

Go to the documentation of this file.
00001 #ifndef Graphic_GenParticle_h
00002 #define Graphic_GenParticle_h
00003 
00009 #include <string> 
00010 #include "RecoParticleFlow/PFRootEvent/interface/GPFBase.h" 
00011 #include "RecoParticleFlow/PFRootEvent/interface/DisplayManager.h"
00012 #include "TMarker.h"
00013 #include "TLatex.h"
00014 #include "TLine.h"
00015 
00016 class GPFGenParticle : public GPFBase, public TMarker, public TLatex {
00017  public:
00018   GPFGenParticle(DisplayManager *dm, int view, int ident,
00019                  double eta, double phi, double en, double pt,int barcode,
00020                  TAttMarker *attm, std::string name,std::string latexName);
00021   GPFGenParticle(DisplayManager *dm, int view, int ident,
00022                  double *eta, double *phi, double en, double pt,
00023                  int barcode, int barcodeMother,
00024                  TAttMarker *attm, std::string name,std::string latexName);
00025                    
00026                    
00027                    
00028   virtual ~GPFGenParticle() {;}
00029     
00030   double   getEnergy() { return en_;}
00031   double   getPt()     { return pt_;}
00032   virtual void     draw();
00033   void             setColor();
00034   void             setColor(int newcol);
00035   void             setInitialColor();
00036   void             setNewStyle();
00037   void             setNewSize(); 
00038     
00039   //overridden ROOT method 
00040   virtual void     Print();     // *MENU*
00041   virtual void     ExecuteEvent(Int_t event, Int_t px, Int_t py);
00042     
00043     
00044  private:
00045   //energy
00046   double                   en_;
00047   double                   pt_;
00048   std::string              name_;
00049   int                      barcode_;
00050   int                      barcodeMother_;
00051   TLine *                  line_;
00052   
00053     
00054 };  
00055 #endif
00056                     

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