#include <bbbarAnalysis.h>
Inheritance diagram for bbbarAnalysis:

Public Member Functions | |
| bbbarAnalysis () | |
| bbbarAnalysis (char *) | |
| void | getBbbar (HepMC::GenEvent *evt) | 
| int | getBcount () | 
| int | getBcountTotal () | 
| int | getBdcount () | 
| int | getBucount () | 
| int | getBscount () | 
| int | getBarions () | 
| int | getChargedPartMB () | 
| int | getChargedPartBBbar () | 
| virtual int | Init (double tr_max_eta, double tr_min_pt) | 
| virtual int | Process (HepMC::GenEvent *hepmcevt) | 
| virtual | ~bbbarAnalysis () | 
Private Member Functions | |
| void | clearCounters () | 
| void | initPlots () | 
Private Attributes | |
| TFile * | hOutputFile | 
| char * | OutputFileName | 
| TH1D * | hPtmb | 
| TH1D * | hPtbbbar | 
| TH1D * | hPtbhadr | 
| TH1D * | hEtabhadr | 
| int | Bcount | 
| int | BcountTotal | 
| int | Bdcount | 
| int | Bucount | 
| int | Bscount | 
| int | Barions | 
| int | ChargedPartMB | 
| int | ChargedPartBBbar | 
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
Definition at line 27 of file bbbarAnalysis.h.
| bbbarAnalysis::bbbarAnalysis | ( | ) | 
| bbbarAnalysis::bbbarAnalysis | ( | char * | ) | 
| bbbarAnalysis::~bbbarAnalysis | ( | ) |  [virtual] | 
        
Definition at line 49 of file bbbarAnalysis.cc.
| void bbbarAnalysis::clearCounters | ( | ) |  [private] | 
        
Definition at line 73 of file bbbarAnalysis.cc.
References Barions, Bcount, BcountTotal, Bdcount, Bscount, Bucount, ChargedPartBBbar, and ChargedPartMB.
Referenced by bbbarAnalysis().
| int bbbarAnalysis::getBarions | ( | ) |  [inline] | 
        
| void bbbarAnalysis::getBbbar | ( | HepMC::GenEvent * | evt | ) | 
Definition at line 125 of file bbbarAnalysis.cc.
References Barions, Bcount, BcountTotal, Bdcount, Bscount, Bucount, ChargedPartBBbar, baseAnalysis::chargedParticle(), ChargedPartMB, hEtabhadr, hPtbbbar, hPtbhadr, and hPtmb.
Referenced by Process().
| int bbbarAnalysis::getBcount | ( | ) |  [inline] | 
        
| int bbbarAnalysis::getBcountTotal | ( | ) |  [inline] | 
        
| int bbbarAnalysis::getBdcount | ( | ) |  [inline] | 
        
| int bbbarAnalysis::getBscount | ( | ) |  [inline] | 
        
| int bbbarAnalysis::getBucount | ( | ) |  [inline] | 
        
| int bbbarAnalysis::getChargedPartBBbar | ( | ) |  [inline] | 
        
| int bbbarAnalysis::getChargedPartMB | ( | ) |  [inline] | 
        
| int bbbarAnalysis::Init | ( | double | tr_max_eta, | |
| double | tr_min_pt | |||
| ) |  [virtual] | 
        
Reimplemented from baseAnalysis.
Definition at line 89 of file bbbarAnalysis.cc.
References hEtabhadr, hPtbbbar, hPtbhadr, hPtmb, baseAnalysis::initHist(), baseAnalysis::m_max_eta, baseAnalysis::m_min_pt, baseAnalysis::m_outputFileName, and baseAnalysis::m_outputRootDir.
| void bbbarAnalysis::initPlots | ( | ) |  [private] | 
        
| int bbbarAnalysis::Process | ( | HepMC::GenEvent * | hepmcevt | ) |  [virtual] | 
        
Reimplemented from baseAnalysis.
Definition at line 118 of file bbbarAnalysis.cc.
References getBbbar().
int bbbarAnalysis::Barions [private]           | 
        
Definition at line 70 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBarions(), and getBbbar().
int bbbarAnalysis::Bcount [private]           | 
        
Definition at line 64 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBbbar(), and getBcount().
int bbbarAnalysis::BcountTotal [private]           | 
        
Definition at line 65 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBbbar(), and getBcountTotal().
int bbbarAnalysis::Bdcount [private]           | 
        
Definition at line 67 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBbbar(), and getBdcount().
int bbbarAnalysis::Bscount [private]           | 
        
Definition at line 69 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBbbar(), and getBscount().
int bbbarAnalysis::Bucount [private]           | 
        
Definition at line 68 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBbbar(), and getBucount().
int bbbarAnalysis::ChargedPartBBbar [private]           | 
        
Definition at line 73 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBbbar(), and getChargedPartBBbar().
int bbbarAnalysis::ChargedPartMB [private]           | 
        
Definition at line 72 of file bbbarAnalysis.h.
Referenced by clearCounters(), getBbbar(), and getChargedPartMB().
TH1D* bbbarAnalysis::hEtabhadr [private]           | 
        
TFile* bbbarAnalysis::hOutputFile [private]           | 
        
Definition at line 55 of file bbbarAnalysis.h.
TH1D* bbbarAnalysis::hPtbbbar [private]           | 
        
TH1D* bbbarAnalysis::hPtbhadr [private]           | 
        
TH1D* bbbarAnalysis::hPtmb [private]           | 
        
char* bbbarAnalysis::OutputFileName [private]           | 
        
Definition at line 56 of file bbbarAnalysis.h.
 1.4.7