00001 #ifndef ZAnalysis_H 00002 #define ZAnalysis_H 00003 00004 #include "baseAnalysis.h" 00005 00006 // forward declarations 00007 namespace HepMC { 00008 class GenEvent; 00009 } 00010 class TH1D; 00011 00012 /** 00013 @class ZAnalysis.h 00014 @brief Class to analyse events of the type QCD pp->Z->ee, Z->mumu Processes. 00015 Examples to generate these events are given in the specific generator 00016 directory, e.g. examples/pythia6 ; the histogramm output is stored 00017 in the Zanalysis folder of the root file. 00018 00019 00020 @author Cano Ay Dec 2008 */ 00021 00022 class ZAnalysis: public baseAnalysis 00023 { 00024 public: 00025 00026 ZAnalysis(); 00027 virtual ~ZAnalysis(); 00028 00029 /** books the histogramms */ 00030 virtual int Init(double tr_max_eta, double tr_min_pt); 00031 /** analyse event */ 00032 virtual int Process(HepMC::GenEvent* hepmcevt); 00033 00034 private: 00035 00036 TH1D *m_evtnr; 00037 TH1D *m_charged_particle_multiplicity; 00038 TH1D *m_charged_particle_pt; 00039 TH1D *m_charged_particle_mean_pt; 00040 TH1D *m_charged_particle_temp_pt; 00041 TH1D *m_charged_particle_rms_pt; 00042 TH1D *m_charged_particle_pdgID; 00043 00044 TH1D *m_Z_count; 00045 TH1D *m_Z_pt; 00046 TH1D *m_Z_pt_log; 00047 TH1D *m_Z_pt_high; 00048 TH1D *m_Z_pt_high_log; 00049 TH1D *m_Z_eta; 00050 TH1D *m_Z_phi; 00051 TH1D *m_Z_mass; 00052 TH1D *m_Z_mass_log; 00053 00054 TH1D *m_jet_count; 00055 TH1D *m_jet_pt; 00056 TH1D *m_jet_pt_log; 00057 00058 }; 00059 00060 #endif