00001 #ifndef TopAnalysis_H 00002 #define TopAnalysis_H 00003 00004 #include "baseAnalysis.h" 00005 00006 // forward declarations 00007 namespace HepMC { 00008 class GenEvent; 00009 } 00010 class TH1D; 00011 00012 /** 00013 00014 @class TopAnalysis.h 00015 @brief This class is used for hepmc based validation of ttbar events 00016 00017 Init() is used to initialise histograms 00018 Process() is used to process the events and do the analysis and 00019 00020 The ouput (histograms) will be saved in a root file 00021 00022 @author Sebastian Johnert, October 2008 00023 00024 */ 00025 00026 class TopAnalysis: public baseAnalysis 00027 { 00028 public: 00029 00030 TopAnalysis(); 00031 virtual ~TopAnalysis(); 00032 00033 virtual int Init(double tr_max_eta, double tr_min_pt); 00034 virtual int Process(HepMC::GenEvent* hepmcevt); 00035 00036 private: 00037 00038 TH1D *m_evtnr; 00039 TH1D *m_toppt; 00040 TH1D *m_toppt_log; 00041 TH1D *m_topeta; 00042 TH1D *m_topphi; 00043 TH1D *m_ptstable; 00044 TH1D *m_ptstable_log; 00045 TH1D *m_etastable; 00046 TH1D *m_phistable; 00047 TH1D *m_ptstable_charged; 00048 TH1D *m_ptstable_charged_log; 00049 TH1D *m_etastable_charged; 00050 TH1D *m_phistable_charged; 00051 TH1D *m_pttoppair; 00052 TH1D *m_pttoppair_log; 00053 TH1D *m_cmultpart; 00054 TH1D *m_top_tbar_phi; 00055 TH1D *m_W_W_phi; 00056 TH1D *m_W_top_phi; 00057 TH1D *m_Wpt; 00058 TH1D *m_Wpt_log; 00059 TH1D *m_Weta; 00060 TH1D *m_Wphi; 00061 00062 TH1D *m_jet_count; 00063 TH1D *m_jet_pt; 00064 TH1D *m_jet_pt_log; 00065 00066 int iSTOP; 00067 00068 }; 00069 00070 #endif