bbbarAnalysis Class Reference

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

#include <bbbarAnalysis.h>

Inheritance diagram for bbbarAnalysis:

baseAnalysis List of all members.

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

Detailed Description

This class is used for hepmc based validation of bbbar 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

Definition at line 27 of file bbbarAnalysis.h.


Constructor & Destructor Documentation

bbbarAnalysis::bbbarAnalysis (  ) 

Definition at line 41 of file bbbarAnalysis.cc.

References clearCounters().

bbbarAnalysis::bbbarAnalysis ( char *   ) 

Definition at line 33 of file bbbarAnalysis.cc.

References clearCounters().

bbbarAnalysis::~bbbarAnalysis (  )  [virtual]

Definition at line 49 of file bbbarAnalysis.cc.


Member Function Documentation

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]

Definition at line 41 of file bbbarAnalysis.h.

References Barions.

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]

Definition at line 36 of file bbbarAnalysis.h.

References Bcount.

int bbbarAnalysis::getBcountTotal (  )  [inline]

Definition at line 37 of file bbbarAnalysis.h.

References BcountTotal.

int bbbarAnalysis::getBdcount (  )  [inline]

Definition at line 38 of file bbbarAnalysis.h.

References Bdcount.

int bbbarAnalysis::getBscount (  )  [inline]

Definition at line 40 of file bbbarAnalysis.h.

References Bscount.

int bbbarAnalysis::getBucount (  )  [inline]

Definition at line 39 of file bbbarAnalysis.h.

References Bucount.

int bbbarAnalysis::getChargedPartBBbar (  )  [inline]

Definition at line 43 of file bbbarAnalysis.h.

References ChargedPartBBbar.

int bbbarAnalysis::getChargedPartMB (  )  [inline]

Definition at line 42 of file bbbarAnalysis.h.

References ChargedPartMB.

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]

Definition at line 57 of file bbbarAnalysis.cc.

References hEtabhadr, hPtbbbar, hPtbhadr, and hPtmb.

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

Reimplemented from baseAnalysis.

Definition at line 118 of file bbbarAnalysis.cc.

References getBbbar().


Member Data Documentation

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]

Definition at line 61 of file bbbarAnalysis.h.

Referenced by getBbbar(), Init(), and initPlots().

TFile* bbbarAnalysis::hOutputFile [private]

Definition at line 55 of file bbbarAnalysis.h.

TH1D* bbbarAnalysis::hPtbbbar [private]

Definition at line 59 of file bbbarAnalysis.h.

Referenced by getBbbar(), Init(), and initPlots().

TH1D* bbbarAnalysis::hPtbhadr [private]

Definition at line 60 of file bbbarAnalysis.h.

Referenced by getBbbar(), Init(), and initPlots().

TH1D* bbbarAnalysis::hPtmb [private]

Definition at line 58 of file bbbarAnalysis.h.

Referenced by getBbbar(), Init(), and initPlots().

char* bbbarAnalysis::OutputFileName [private]

Definition at line 56 of file bbbarAnalysis.h.


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