00001 #ifndef CHAINVIEW_H 00002 #define CHAINVIEW_H 00003 00004 #include "NueAna/ParticlePID/ParticleFinder/Display/Page.h" 00005 #include "TH2.h" 00006 #include "TPad.h" 00007 00008 #include "NueAna/ParticlePID/ParticleFinder/ParticleObjectHolder.h" 00009 #include "NueAna/ParticlePID/ParticleFinder/ChainHelper.h" 00010 00011 #include "TLatex.h" 00012 00013 class ChainView : public Page 00014 { 00015 00016 public: 00017 ChainView(); 00018 ~ChainView(); 00019 00020 virtual void BuildDisplay(TCanvas *c); 00021 virtual void DrawEvent(ParticleObjectHolder * poh=0, NtpStRecord *ntp=0,int ntpEvt=-1); 00022 00023 void DrawChains(int view); 00024 void DrawTrueVertex(int view); 00025 void DrawVertex(int view); 00026 void DrawClusters(int view, TH2 * h); 00027 void DrawInteractionDiagram(NtpStRecord *str,int index); 00028 void DrawBasicInfo(NtpStRecord *str,int index); 00029 00030 private: 00031 TPad * padU; 00032 TPad * padV; 00033 TPad * padMC; 00034 TPad * padInfo; 00035 00036 TH2D * viewU; 00037 TH2D * viewV; 00038 00039 ParticleObjectHolder * mypoh; 00040 00041 00042 00043 00044 TLatex * info6; 00045 TLatex * info7; 00046 TLatex * info8; 00047 TLatex * info9; 00048 TLatex * info10; 00049 TLatex * info11; 00050 TLatex * info12; 00051 TLatex * info13; 00052 00053 }; 00054 00055 #endif 00056
1.3.9.1