00001 #ifndef TTBAR_ANALYSIS_H_ 00002 #define TTBAR_ANALYSIS_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 ttbarAnalysis.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 ttbarAnalysis: public baseAnalysis 00027 { 00028 public: 00029 ttbarAnalysis(); 00030 virtual ~ttbarAnalysis(); 00031 00032 virtual int Init(double tr_max_eta, double tr_min_pt); 00033 virtual int Process(HepMC::GenEvent* hepmcevt); 00034 00035 private: 00036 TH1D *m_evtnr; 00037 TH1D *m_toppt; 00038 TH1D *m_toppt_log; 00039 TH1D *m_topeta; 00040 TH1D *m_topphi; 00041 TH1D *m_ptstable; 00042 TH1D *m_ptstable_log; 00043 TH1D *m_etastable; 00044 TH1D *m_phistable; 00045 TH1D *m_ptstable_charged; 00046 TH1D *m_ptstable_charged_log; 00047 TH1D *m_etastable_charged; 00048 TH1D *m_phistable_charged; 00049 TH1D *m_pttoppair; 00050 TH1D *m_pttoppair_log; 00051 TH1D *m_cmultpart; 00052 TH1D *m_top_tbar_phi; 00053 TH1D *m_W_W_phi; 00054 TH1D *m_W_top_phi; 00055 TH1D *m_Wpt; 00056 TH1D *m_Wpt_log; 00057 TH1D *m_Weta; 00058 TH1D *m_Wphi; 00059 00060 TH1D *m_jet_count; 00061 TH1D *m_jet_pt; 00062 TH1D *m_jet_pt_log; 00063 00064 int iSTOP; 00065 }; 00066 00067 #endif // TTBAR_ANALYSIS_H_ 00068