00001 #ifndef WplusJetAnalysis_H 00002 #define WplusJetAnalysis_H 00003 00004 #include "baseAnalysis.h" 00005 00006 // forward declarations 00007 namespace HepMC { 00008 class GenEvent; 00009 } 00010 class TH1D; 00011 00012 /** 00013 @class WplusJetAnalysis.h 00014 @brief Class to analyse events of the type pp->W+jet 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 WplusJet folder of the root file. 00018 00019 00020 @author Cano Ay Dec 2008 */ 00021 00022 class WplusJetAnalysis: public baseAnalysis 00023 { 00024 public: 00025 00026 WplusJetAnalysis(); 00027 virtual ~WplusJetAnalysis(); 00028 00029 /** book histogramms and init analysis */ 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_mean_pt; 00039 TH1D *m_charged_particle_temp_pt; 00040 TH1D *m_charged_particle_pt; 00041 TH1D *m_charged_particle_rms_pt; 00042 TH1D *m_charged_particle_pdgID; 00043 00044 TH1D *m_jet_Deta_leadingJet_lepton; 00045 TH1D *m_jet_Dphi_leadingJet_lepton; 00046 TH1D *m_jet_DR_leadingJet_lepton; 00047 00048 TH1D *m_jet_Deta_leadingJet_lepton_singlejet; 00049 TH1D *m_jet_Dphi_leadingJet_lepton_singlejet; 00050 TH1D *m_jet_DR_leadingJet_lepton_singlejet; 00051 00052 TH1D *m_jet_Deta_leadingJet_lepton_multijet; 00053 TH1D *m_jet_Dphi_leadingJet_lepton_multijet; 00054 TH1D *m_jet_DR_leadingJet_lepton_multijet; 00055 00056 TH1D *m_W_count; 00057 TH1D *m_W_pt; 00058 TH1D *m_W_pt_log; 00059 TH1D *m_W_pt_high; 00060 TH1D *m_W_pt_high_log; 00061 TH1D *m_W_eta; 00062 TH1D *m_W_rapidity; 00063 TH1D *m_W_phi; 00064 TH1D *m_W_trans_mass; 00065 TH1D *m_W_trans_mass_log; 00066 00067 TH1D *m_jet_count; 00068 TH1D *m_jet_pt; 00069 TH1D *m_jet_pt_log; 00070 00071 TH1D *m_lepton_count; 00072 TH1D *m_lepton_pt; 00073 TH1D *m_lepton_pt_log; 00074 TH1D *m_lepton_pt_high; 00075 TH1D *m_lepton_pt_high_log; 00076 TH1D *m_lepton_eta; 00077 TH1D *m_lepton_phi; 00078 TH1D *m_lepton_pdgid; 00079 00080 double m_coneRadius; 00081 double m_overlapThreshold; 00082 double m_jet_ptmin; 00083 double m_DeltaR_lepton_track; 00084 double m_lepton_ptmin; 00085 }; 00086 00087 #endif