ZAnalysis Class Reference

Class to analyse processes of the type QCD pp->Z->e+e-, Z->mu+mu- Examples to generate these events are given in the specific generator directory, e.g. examples/pythia6 ; the histogramm output is stored in the Zanalysis folder of the root file. More...

#include <ZAnalysis.h>

Inheritance diagram for ZAnalysis:

baseAnalysis List of all members.

Public Types

 Electron = 11
 Muon = 13
 Tau = 15
enum  EParticleType { Electron = 11, Muon = 13, Tau = 15 }

Public Member Functions

 ZAnalysis ()
virtual ~ZAnalysis ()
virtual int Init (double tr_max_eta, double tr_min_pt)
virtual int Process (HepMC::GenEvent *hepmcevt)

Private Member Functions

bool FSVector (HepMC::GenEvent::particle_const_iterator &p, EParticleType productPid, HepMC::FourVector &fsVector)
void FillZHistograms (const HepMC::FourVector &fsVec)

Private Attributes

TH1D * m_evtnr
TH1D * m_charged_particle_multiplicity
TH1D * m_charged_particle_pt
TH1D * m_charged_particle_mean_pt
TH1D * m_charged_particle_temp_pt
TH1D * m_charged_particle_rms_pt
TH1D * m_charged_particle_pdgID
TH1D * m_Z_pt
TH1D * m_Z_pt_log
TH1D * m_Z_pt_high
TH1D * m_Z_pt_high_log
TH1D * m_Z_eta
TH1D * m_Z_phi
TH1D * m_Z_mass
TH1D * m_Z_mass_log
TH1D * m_Z_pt_prop
TH1D * m_Z_pt_prop_log
TH1D * m_Z_pt_high_prop
TH1D * m_Z_pt_high_prop_log
TH1D * m_Z_eta_prop
TH1D * m_Z_phi_prop
TH1D * m_Z_mass_prop
TH1D * m_Z_mass_prop_log
TH1D * m_jet_count
TH1D * m_jet_pt
TH1D * m_jet_pt_log

Detailed Description

Class to analyse processes of the type QCD pp->Z->e+e-, Z->mu+mu- Examples to generate these events are given in the specific generator directory, e.g. examples/pythia6 ; the histogramm output is stored in the Zanalysis folder of the root file.

Author:
Cano Ay Dec 2008

Definition at line 20 of file ZAnalysis.h.


Member Enumeration Documentation

enum ZAnalysis::EParticleType

Enumerator:
Electron 
Muon 
Tau 

Definition at line 23 of file ZAnalysis.h.


Constructor & Destructor Documentation

ZAnalysis::ZAnalysis (  ) 

Definition at line 31 of file ZAnalysis.cc.

ZAnalysis::~ZAnalysis (  )  [virtual]

Definition at line 35 of file ZAnalysis.cc.


Member Function Documentation

void ZAnalysis::FillZHistograms ( const HepMC::FourVector &  fsVec  )  [private]

Fill histograms specific for the Z analysis.

Definition at line 252 of file ZAnalysis.cc.

References m_Z_eta, m_Z_mass, m_Z_mass_log, m_Z_phi, m_Z_pt, m_Z_pt_high, m_Z_pt_high_log, and m_Z_pt_log.

Referenced by Process().

bool ZAnalysis::FSVector ( HepMC::GenEvent::particle_const_iterator &  zBoson,
ZAnalysis::EParticleType  productPid,
HepMC::FourVector &  fsVector 
) [private]

Returns:
flag indicating that Z boson was indeed found and the FourVector of the final state (as the last function's parameter).

Definition at line 102 of file ZAnalysis.cc.

References baseAnalysis::IsFinalStateParticle().

Referenced by Process().

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

Z analysis initialization.

Reimplemented from baseAnalysis.

Definition at line 41 of file ZAnalysis.cc.

References baseAnalysis::initHist(), m_charged_particle_mean_pt, m_charged_particle_multiplicity, m_charged_particle_pdgID, m_charged_particle_pt, m_charged_particle_rms_pt, m_charged_particle_temp_pt, 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_Z_eta, m_Z_eta_prop, m_Z_mass, m_Z_mass_log, m_Z_mass_prop, m_Z_mass_prop_log, m_Z_phi, m_Z_phi_prop, m_Z_pt, m_Z_pt_high, m_Z_pt_high_log, m_Z_pt_high_prop, m_Z_pt_high_prop_log, m_Z_pt_log, m_Z_pt_prop, and m_Z_pt_prop_log.

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

This is the main analysis function. Search for Z bosons, get their properties and fill the histograms.

Reimplemented from baseAnalysis.

Definition at line 171 of file ZAnalysis.cc.

References baseAnalysis::chargedParticle(), Electron, FillZHistograms(), FSVector(), baseAnalysis::IsFinalStateParticle(), m_charged_particle_mean_pt, m_charged_particle_multiplicity, m_charged_particle_pdgID, m_charged_particle_pt, m_charged_particle_rms_pt, m_charged_particle_temp_pt, baseAnalysis::m_inclusive_jets, m_jet_count, m_jet_pt, m_jet_pt_log, m_Z_eta_prop, m_Z_mass_prop, m_Z_mass_prop_log, m_Z_phi_prop, m_Z_pt_high_prop, m_Z_pt_high_prop_log, m_Z_pt_prop, m_Z_pt_prop_log, and Muon.


Member Data Documentation

TH1D* ZAnalysis::m_charged_particle_mean_pt [private]

Definition at line 40 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_charged_particle_multiplicity [private]

Definition at line 38 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_charged_particle_pdgID [private]

Definition at line 43 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_charged_particle_pt [private]

Definition at line 39 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_charged_particle_rms_pt [private]

Definition at line 42 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_charged_particle_temp_pt [private]

Definition at line 41 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_evtnr [private]

Definition at line 37 of file ZAnalysis.h.

TH1D* ZAnalysis::m_jet_count [private]

Definition at line 63 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_jet_pt [private]

Definition at line 64 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_jet_pt_log [private]

Definition at line 65 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_eta [private]

Definition at line 49 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_eta_prop [private]

Definition at line 58 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_mass [private]

Definition at line 51 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_mass_log [private]

Definition at line 52 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_mass_prop [private]

Definition at line 60 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_mass_prop_log [private]

Definition at line 61 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_phi [private]

Definition at line 50 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_phi_prop [private]

Definition at line 59 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_pt [private]

Definition at line 45 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_pt_high [private]

Definition at line 47 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_pt_high_log [private]

Definition at line 48 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_pt_high_prop [private]

Definition at line 56 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_pt_high_prop_log [private]

Definition at line 57 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_pt_log [private]

Definition at line 46 of file ZAnalysis.h.

Referenced by FillZHistograms(), and Init().

TH1D* ZAnalysis::m_Z_pt_prop [private]

Definition at line 54 of file ZAnalysis.h.

Referenced by Init(), and Process().

TH1D* ZAnalysis::m_Z_pt_prop_log [private]

Definition at line 55 of file ZAnalysis.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