ttbarAnalysis Class Reference

This class is used for hepmc based validation of ttbar events. More...

#include <ttbarAnalysis.h>

Inheritance diagram for ttbarAnalysis:

baseAnalysis List of all members.

Public Member Functions

 ttbarAnalysis ()
virtual ~ttbarAnalysis ()
 empty default destructor
virtual int Init (double tr_max_eta, double tr_min_pt)
virtual int Process (HepMC::GenEvent *hepmcevt)

Private Attributes

TH1D * m_evtnr
TH1D * m_toppt
TH1D * m_toppt_log
TH1D * m_topeta
TH1D * m_topphi
TH1D * m_ptstable
TH1D * m_ptstable_log
TH1D * m_etastable
TH1D * m_phistable
TH1D * m_ptstable_charged
TH1D * m_ptstable_charged_log
TH1D * m_etastable_charged
TH1D * m_phistable_charged
TH1D * m_pttoppair
TH1D * m_pttoppair_log
TH1D * m_cmultpart
TH1D * m_top_tbar_phi
TH1D * m_W_W_phi
TH1D * m_W_top_phi
TH1D * m_Wpt
TH1D * m_Wpt_log
TH1D * m_Weta
TH1D * m_Wphi
TH1D * m_jet_count
TH1D * m_jet_pt
TH1D * m_jet_pt_log
int iSTOP

Detailed Description

This class is used for hepmc based validation of ttbar events.

Init() is used to initialise histograms Process() is used to process the events and do the analysis and

The ouput (histograms) will be saved in a root file

Author:
Sebastian Johnert, October 2008

Definition at line 26 of file ttbarAnalysis.h.


Constructor & Destructor Documentation

ttbarAnalysis::ttbarAnalysis (  ) 

Definition at line 27 of file ttbarAnalysis.cc.

ttbarAnalysis::~ttbarAnalysis (  )  [virtual]

empty default destructor

Definition at line 32 of file ttbarAnalysis.cc.


Member Function Documentation

int ttbarAnalysis::Init ( double  tr_max_eta,
double  tr_min_pt 
) [virtual]

Reimplemented from baseAnalysis.

Definition at line 37 of file ttbarAnalysis.cc.

References baseAnalysis::initHist(), iSTOP, m_cmultpart, m_etastable, m_etastable_charged, m_evtnr, m_jet_count, m_jet_pt, m_jet_pt_log, baseAnalysis::m_max_eta, baseAnalysis::m_min_pt, baseAnalysis::m_outputFileName, baseAnalysis::m_outputRootDir, m_phistable, m_phistable_charged, m_ptstable, m_ptstable_charged, m_ptstable_charged_log, m_ptstable_log, m_pttoppair, m_pttoppair_log, m_top_tbar_phi, m_topeta, m_topphi, m_toppt, m_toppt_log, m_W_top_phi, m_W_W_phi, m_Weta, m_Wphi, m_Wpt, and m_Wpt_log.

int ttbarAnalysis::Process ( HepMC::GenEvent *  hepmcevt  )  [virtual]

Reimplemented from baseAnalysis.

Definition at line 90 of file ttbarAnalysis.cc.

References baseAnalysis::chargedParticle(), baseAnalysis::IsFinalStateParticle(), m_cmultpart, m_etastable, m_etastable_charged, m_evtnr, baseAnalysis::m_inclusive_jets, m_jet_count, m_jet_pt, m_jet_pt_log, m_phistable, m_phistable_charged, m_ptstable, m_ptstable_charged, m_ptstable_charged_log, m_ptstable_log, m_pttoppair, m_pttoppair_log, m_top_tbar_phi, m_topeta, m_topphi, m_toppt, m_toppt_log, m_W_top_phi, m_W_W_phi, m_Weta, m_Wphi, m_Wpt, and m_Wpt_log.


Member Data Documentation

int ttbarAnalysis::iSTOP [private]

Definition at line 64 of file ttbarAnalysis.h.

Referenced by Init().

TH1D* ttbarAnalysis::m_cmultpart [private]

Definition at line 51 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_etastable [private]

Definition at line 43 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_etastable_charged [private]

Definition at line 47 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_evtnr [private]

Definition at line 36 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_jet_count [private]

Definition at line 60 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_jet_pt [private]

Definition at line 61 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_jet_pt_log [private]

Definition at line 62 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_phistable [private]

Definition at line 44 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_phistable_charged [private]

Definition at line 48 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_ptstable [private]

Definition at line 41 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_ptstable_charged [private]

Definition at line 45 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_ptstable_charged_log [private]

Definition at line 46 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_ptstable_log [private]

Definition at line 42 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_pttoppair [private]

Definition at line 49 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_pttoppair_log [private]

Definition at line 50 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_top_tbar_phi [private]

Definition at line 52 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_topeta [private]

Definition at line 39 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_topphi [private]

Definition at line 40 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_toppt [private]

Definition at line 37 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_toppt_log [private]

Definition at line 38 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_W_top_phi [private]

Definition at line 54 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_W_W_phi [private]

Definition at line 53 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_Weta [private]

Definition at line 57 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_Wphi [private]

Definition at line 58 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_Wpt [private]

Definition at line 55 of file ttbarAnalysis.h.

Referenced by Init(), and Process().

TH1D* ttbarAnalysis::m_Wpt_log [private]

Definition at line 56 of file ttbarAnalysis.h.

Referenced by Init(), and Process().


The documentation for this class was generated from the following files:
Generated on Wed Aug 31 09:44:59 2011 for HepMCAnalysis by  doxygen 1.4.7