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

UEAnalysis.h

Go to the documentation of this file.
00001 #ifndef UEAnalysis_H
00002 #define UEAnalysis_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 "TH2.h"
00017 #include "baseAnalysis.h"
00018 
00019 using namespace std;
00020 /**
00021 @class UEAnalysis.h
00022 @brief Class to study underlying events. Currently the UE is studied for 
00023        events with at least one  jet, e.g. QCD 2->2, pp->W+jet, pp->Z+jet.
00024        Extension to DrellYan events will follow.
00025        Examples to generate e.g events are given in the specific generator
00026        directory, e.g. examples/pythia6 ; the histogramm output is stored
00027        in the UE folder of the root file.
00028 
00029 
00030 @author Sebastian Johnert, Judith Katzy, Zhonghua Qin Dec 2008 */
00031 
00032 
00033 
00034 
00035 
00036 class UEAnalysis: public baseAnalysis
00037 {
00038   public:
00039   UEAnalysis();
00040   ~UEAnalysis();
00041 
00042   int Init(double tr_max_eta, double tr_min_pt);
00043   int Process(HepMC::GenEvent* hepmcevt);
00044   int finalize(TFile* output);
00045 
00046   private:
00047   
00048   TH1D *m_NchargedToward[26]; 
00049   TH1D *m_NchargedTransverse[26]; 
00050   TH1D *m_NchargedAway[26]; 
00051   
00052   TH1D *m_NchargedMeanToward; 
00053   TH1D *m_NchargedMeanTransverse; 
00054   TH1D *m_NchargedMeanAway; 
00055 
00056   TH1D *m_PtsumToward[26]; 
00057   TH1D *m_PtsumTransverse[26]; 
00058   TH1D *m_PtsumAway[26]; 
00059   
00060   TH1D *m_PtsumMeanToward; 
00061   TH1D *m_PtsumMeanTransverse; 
00062   TH1D *m_PtsumMeanAway; 
00063 
00064 
00065   TH1D *m_Njet; 
00066   TH1D *m_Ptjet;
00067   TH1D *m_Ptjet_log;
00068   TH1D *m_Ptleadingjet;
00069   TH1D *m_Ptleadingjet_log;
00070 
00071   TH1D *m_charged_particle_pt;
00072 
00073   /** definition for the variable bin size for the <Ncharged> vs pT calculation*/
00074   int m_nbin_pT;
00075   //size of m_nbinRange has to be nbin + 1 due to 0 at the beginning
00076   Double_t m_nbinRange_pT[26];
00077 
00078   using  baseAnalysis::m_histVector;
00079   using  baseAnalysis::m_outputFileName;
00080   using  baseAnalysis::m_outputRootDir;
00081 };
00082 
00083 #endif

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