TopAnalysis Class Reference

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

#include <TopAnalysis.h>

Inheritance diagram for TopAnalysis:

baseAnalysis List of all members.

Public Member Functions

 TopAnalysis ()
virtual ~TopAnalysis ()
 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 TopAnalysis.h.


Constructor & Destructor Documentation

TopAnalysis::TopAnalysis (  ) 

Definition at line 27 of file TopAnalysis.cc.

TopAnalysis::~TopAnalysis (  )  [virtual]

empty default destructor

Definition at line 32 of file TopAnalysis.cc.


Member Function Documentation

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

Reimplemented from baseAnalysis.

Definition at line 37 of file TopAnalysis.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 TopAnalysis::Process ( HepMC::GenEvent *  hepmcevt  )  [virtual]

Reimplemented from baseAnalysis.

Definition at line 90 of file TopAnalysis.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 TopAnalysis::iSTOP [private]

Definition at line 66 of file TopAnalysis.h.

Referenced by Init().

TH1D* TopAnalysis::m_cmultpart [private]

Definition at line 53 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_etastable [private]

Definition at line 45 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_etastable_charged [private]

Definition at line 49 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_evtnr [private]

Definition at line 38 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_jet_count [private]

Definition at line 62 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_jet_pt [private]

Definition at line 63 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_jet_pt_log [private]

Definition at line 64 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_phistable [private]

Definition at line 46 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_phistable_charged [private]

Definition at line 50 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_ptstable [private]

Definition at line 43 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_ptstable_charged [private]

Definition at line 47 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_ptstable_charged_log [private]

Definition at line 48 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_ptstable_log [private]

Definition at line 44 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_pttoppair [private]

Definition at line 51 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_pttoppair_log [private]

Definition at line 52 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_top_tbar_phi [private]

Definition at line 54 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_topeta [private]

Definition at line 41 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_topphi [private]

Definition at line 42 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_toppt [private]

Definition at line 39 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_toppt_log [private]

Definition at line 40 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_W_top_phi [private]

Definition at line 56 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_W_W_phi [private]

Definition at line 55 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_Weta [private]

Definition at line 59 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_Wphi [private]

Definition at line 60 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_Wpt [private]

Definition at line 57 of file TopAnalysis.h.

Referenced by Init(), and Process().

TH1D* TopAnalysis::m_Wpt_log [private]

Definition at line 58 of file TopAnalysis.h.

Referenced by Init(), and Process().


The documentation for this class was generated from the following files:
Generated on Mon Jan 4 15:22:36 2010 for HepMCAnalysis by  doxygen 1.4.7