Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TopAnalysis.h

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

Generated on Mon Feb 16 15:58:21 2009 for HepMCAnalysis by  doxygen 1.3.9.1