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

ZAnalysis.h

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

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