00001 #ifndef WtaunuAnalysis_H 00002 #define WtaunuAnalysis_H 00003 00004 #include "baseAnalysis.h" 00005 00006 // forward declarations 00007 namespace HepMC { 00008 class GenEvent; 00009 } 00010 class TH1D; 00011 00012 /** 00013 00014 @class WtaunuAnalysis.h 00015 @brief This class is used for hepmc based validation of Wtaunu events 00016 00017 Init() is used to initialise histograms 00018 Process() is used to process the events and do the analysis and 00019 00020 The ouput (histograms) will be saved in a root file 00021 00022 @author Chris Malena Delitzsch, August 2010 00023 @author Sebastian Johnert, January 2010 (modification and implementation in the tool) 00024 00025 */ 00026 00027 class WtaunuAnalysis: public baseAnalysis 00028 { 00029 public: 00030 00031 WtaunuAnalysis(); 00032 virtual ~WtaunuAnalysis(); 00033 00034 virtual int Init(double tr_max_eta, double tr_min_pt); 00035 virtual int Process(HepMC::GenEvent* hepmcevt); 00036 00037 private: 00038 TH1D *m_evtnr; 00039 TH1D *m_h_njets; 00040 00041 TH1D *m_W_count; 00042 TH1D *m_W_charge; 00043 TH1D *m_W_mass; 00044 TH1D *m_W_mt; 00045 TH1D *m_W_trans_mass; 00046 TH1D *m_W_pt; 00047 TH1D *m_W_eta; 00048 TH1D *m_W_phi; 00049 TH1D *m_W_rapidity; 00050 00051 TH1D *m_charged_particle; 00052 TH1D *m_charged_particle_pdgID; 00053 TH1D *m_ptstable_charged; 00054 TH1D *m_etastable_charged; 00055 TH1D *m_phistable_charged; 00056 00057 TH1D *m_tau_mass; 00058 TH1D *m_tau_pt; 00059 TH1D *m_tau_eta; 00060 TH1D *m_tau_phi; 00061 TH1D *m_nTrack_tau; 00062 00063 TH1D *m_Delta_Phi_TauNeutrino; 00064 00065 TH1D *m_nu_pt; 00066 TH1D *m_nu_px; 00067 TH1D *m_nu_py; 00068 TH1D *m_nu_pz; 00069 00070 TH1D *m_zoom_nu_px1; 00071 TH1D *m_zoom_nu_py1; 00072 TH1D *m_zoom_nu_pz1; 00073 00074 }; 00075 00076 #endif // Wtaunu_Analysis_H_