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

WplusJetAnalysis.h

Go to the documentation of this file.
00001 #ifndef WplusJetAnalysis_H
00002 #define WplusJetAnalysis_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 @class WplusJetAnalysis.h
00023 @brief Class to analyse events of the type pp->W+jet Processes.
00024        Examples to generate these events are given in the specific generator
00025        directory, e.g. examples/pythia6 ; the histogramm output is stored
00026        in the WplusJet folder of the root file.
00027 
00028 
00029 @author Cano Ay Dec 2008 */
00030 
00031 
00032 
00033 
00034 
00035 class WplusJetAnalysis: public baseAnalysis
00036 {
00037   public:
00038   WplusJetAnalysis();
00039   ~WplusJetAnalysis();
00040 
00041   /** book histogramms and init analysis */
00042   int Init(double tr_max_eta, double tr_min_pt);
00043   /** analyse event */
00044   int Process(HepMC::GenEvent* hepmcevt);
00045 
00046   private:
00047   TH1D *m_evtnr;
00048   TH1D *m_charged_particle_multiplicity;
00049   TH1D *m_charged_particle_mean_pt;
00050   TH1D *m_charged_particle_temp_pt;
00051   TH1D *m_charged_particle_pt;
00052   TH1D *m_charged_particle_rms_pt;
00053   TH1D *m_charged_particle_pdgID;
00054 
00055   TH1D *m_jet_Deta_leadingJet_lepton;
00056   TH1D *m_jet_Dphi_leadingJet_lepton;
00057   TH1D *m_jet_DR_leadingJet_lepton;
00058 
00059   TH1D *m_jet_Deta_leadingJet_lepton_singlejet;
00060   TH1D *m_jet_Dphi_leadingJet_lepton_singlejet;
00061   TH1D *m_jet_DR_leadingJet_lepton_singlejet;
00062 
00063   TH1D *m_jet_Deta_leadingJet_lepton_multijet;
00064   TH1D *m_jet_Dphi_leadingJet_lepton_multijet;
00065   TH1D *m_jet_DR_leadingJet_lepton_multijet;
00066 
00067   TH1D *m_W_count;
00068   TH1D *m_W_pt;
00069   TH1D *m_W_pt_log;
00070   TH1D *m_W_pt_high;
00071   TH1D *m_W_pt_high_log;
00072   TH1D *m_W_eta;
00073   TH1D *m_W_rapidity;
00074   TH1D *m_W_phi;
00075   TH1D *m_W_trans_mass;
00076   TH1D *m_W_trans_mass_log;
00077 
00078   TH1D *m_jet_count;
00079   TH1D *m_jet_pt;
00080   TH1D *m_jet_pt_log;
00081 
00082   TH1D *m_lepton_count;
00083   TH1D *m_lepton_pt;
00084   TH1D *m_lepton_pt_log;
00085   TH1D *m_lepton_pt_high;
00086   TH1D *m_lepton_pt_high_log;
00087   TH1D *m_lepton_eta;
00088   TH1D *m_lepton_phi;
00089   TH1D *m_lepton_pdgid;
00090 
00091 
00092   //  vector< TH1D * > m_histVector; 
00093   //  string outputFileName;
00094     
00095   double m_coneRadius;
00096   double m_overlapThreshold;
00097   double m_jet_ptmin;
00098 
00099   using  baseAnalysis::m_histVector; 
00100   using  baseAnalysis::m_outputFileName;
00101   using  baseAnalysis::m_outputRootDir;  
00102 };
00103 #endif

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