#include <ZAnalysis.h>
Inheritance diagram for ZAnalysis:
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 |
Definition at line 20 of file ZAnalysis.h.
ZAnalysis::ZAnalysis | ( | ) |
Definition at line 31 of file ZAnalysis.cc.
ZAnalysis::~ZAnalysis | ( | ) | [virtual] |
Definition at line 35 of file ZAnalysis.cc.
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] |
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.
TH1D* ZAnalysis::m_charged_particle_mean_pt [private] |
TH1D* ZAnalysis::m_charged_particle_multiplicity [private] |
TH1D* ZAnalysis::m_charged_particle_pdgID [private] |
TH1D* ZAnalysis::m_charged_particle_pt [private] |
TH1D* ZAnalysis::m_charged_particle_rms_pt [private] |
TH1D* ZAnalysis::m_charged_particle_temp_pt [private] |
TH1D* ZAnalysis::m_evtnr [private] |
Definition at line 37 of file ZAnalysis.h.
TH1D* ZAnalysis::m_jet_count [private] |
TH1D* ZAnalysis::m_jet_pt [private] |
TH1D* ZAnalysis::m_jet_pt_log [private] |
TH1D* ZAnalysis::m_Z_eta [private] |
TH1D* ZAnalysis::m_Z_eta_prop [private] |
TH1D* ZAnalysis::m_Z_mass [private] |
TH1D* ZAnalysis::m_Z_mass_log [private] |
TH1D* ZAnalysis::m_Z_mass_prop [private] |
TH1D* ZAnalysis::m_Z_mass_prop_log [private] |
TH1D* ZAnalysis::m_Z_phi [private] |
TH1D* ZAnalysis::m_Z_phi_prop [private] |
TH1D* ZAnalysis::m_Z_pt [private] |
TH1D* ZAnalysis::m_Z_pt_high [private] |
TH1D* ZAnalysis::m_Z_pt_high_log [private] |
TH1D* ZAnalysis::m_Z_pt_high_prop [private] |
TH1D* ZAnalysis::m_Z_pt_high_prop_log [private] |
TH1D* ZAnalysis::m_Z_pt_log [private] |
TH1D* ZAnalysis::m_Z_pt_prop [private] |
TH1D* ZAnalysis::m_Z_pt_prop_log [private] |