#include <UEAnalysis.h>
Inheritance diagram for UEAnalysis:
Public Member Functions | |
UEAnalysis () | |
empty default constructor | |
virtual | ~UEAnalysis () |
empty default destructor | |
virtual int | Init (double tr_max_eta, double tr_min_pt) |
virtual int | Process (HepMC::GenEvent *hepmcevt) |
virtual int | Finalize () |
virtual int | Finalize (TFile *output) |
virtual std::vector< TH1D * > | averagedHistograms () |
Private Attributes | |
TH1D * | m_NchargedToward [26] |
TH1D * | m_NchargedTransverse [26] |
TH1D * | m_NchargedAway [26] |
TH1D * | m_NchargedMeanToward |
TH1D * | m_NchargedMeanTransverse |
TH1D * | m_NchargedMeanAway |
TH1D * | m_PtsumToward [26] |
TH1D * | m_PtsumTransverse [26] |
TH1D * | m_PtsumAway [26] |
TH1D * | m_PtsumMeanToward |
TH1D * | m_PtsumMeanTransverse |
TH1D * | m_PtsumMeanAway |
TH1D * | m_Njet |
TH1D * | m_Ptjet |
TH1D * | m_Ptjet_log |
TH1D * | m_Ptleadingjet |
TH1D * | m_Ptleadingjet_log |
TH1D * | m_charged_particle_pt |
int | m_nbin_pT |
double | m_nbinRange_pT [26] |
Definition at line 24 of file UEAnalysis.h.
UEAnalysis::UEAnalysis | ( | ) |
UEAnalysis::~UEAnalysis | ( | ) | [virtual] |
std::vector< TH1D * > UEAnalysis::averagedHistograms | ( | ) | [virtual] |
averagedHistograms: function to calculate averaged histograms for the UE analysis
Reimplemented from baseAnalysis.
Definition at line 251 of file UEAnalysis.cc.
References baseAnalysis::m_histVector, m_nbin_pT, m_NchargedAway, m_NchargedMeanAway, m_NchargedMeanToward, m_NchargedMeanTransverse, m_NchargedToward, m_NchargedTransverse, m_PtsumAway, m_PtsumMeanAway, m_PtsumMeanToward, m_PtsumMeanTransverse, m_PtsumToward, and m_PtsumTransverse.
Referenced by Finalize().
int UEAnalysis::Finalize | ( | TFile * | output | ) | [virtual] |
In the final step all the histogramms are stored in a rootfile. The name of the rootfile can be set with the function setOutputFileName(const string &fileName).
Reimplemented from baseAnalysis.
Definition at line 286 of file UEAnalysis.cc.
References averagedHistograms(), and baseAnalysis::Finalize().
int UEAnalysis::Finalize | ( | ) | [virtual] |
Finalize: In the final step all the histogramms are stored in a rootfile. The name of the rootfile can be set with the function setOutputFileName(const string& fileName).
Reimplemented from baseAnalysis.
Definition at line 280 of file UEAnalysis.cc.
References baseAnalysis::Finalize().
int UEAnalysis::Init | ( | double | tr_max_eta, | |
double | tr_min_pt | |||
) | [virtual] |
Reimplemented from baseAnalysis.
Definition at line 41 of file UEAnalysis.cc.
References baseAnalysis::initHist(), baseAnalysis::initHistVariableBin(), m_charged_particle_pt, baseAnalysis::m_max_eta, baseAnalysis::m_min_pt, m_nbin_pT, m_nbinRange_pT, m_NchargedAway, m_NchargedMeanAway, m_NchargedMeanToward, m_NchargedMeanTransverse, m_NchargedToward, m_NchargedTransverse, m_Njet, baseAnalysis::m_outputFileName, baseAnalysis::m_outputRootDir, m_Ptjet, m_Ptjet_log, m_Ptleadingjet, m_Ptleadingjet_log, m_PtsumAway, m_PtsumMeanAway, m_PtsumMeanToward, m_PtsumMeanTransverse, m_PtsumToward, and m_PtsumTransverse.
int UEAnalysis::Process | ( | HepMC::GenEvent * | hepmcevt | ) | [virtual] |
Reimplemented from baseAnalysis.
Definition at line 130 of file UEAnalysis.cc.
References baseAnalysis::chargedParticle(), baseAnalysis::IsFinalStateParticle(), m_charged_particle_pt, baseAnalysis::m_inclusive_jets, m_nbin_pT, m_nbinRange_pT, m_NchargedAway, m_NchargedToward, m_NchargedTransverse, m_Njet, m_Ptjet, m_Ptjet_log, m_Ptleadingjet, m_Ptleadingjet_log, m_PtsumAway, m_PtsumToward, m_PtsumTransverse, and PI.
TH1D* UEAnalysis::m_charged_particle_pt [private] |
int UEAnalysis::m_nbin_pT [private] |
definition for the variable bin size for the <Ncharged> vs pT calculation
Definition at line 63 of file UEAnalysis.h.
Referenced by averagedHistograms(), Init(), and Process().
double UEAnalysis::m_nbinRange_pT[26] [private] |
TH1D* UEAnalysis::m_NchargedAway[26] [private] |
Definition at line 40 of file UEAnalysis.h.
Referenced by averagedHistograms(), Init(), and Process().
TH1D* UEAnalysis::m_NchargedMeanAway [private] |
TH1D* UEAnalysis::m_NchargedMeanToward [private] |
TH1D* UEAnalysis::m_NchargedMeanTransverse [private] |
TH1D* UEAnalysis::m_NchargedToward[26] [private] |
Definition at line 38 of file UEAnalysis.h.
Referenced by averagedHistograms(), Init(), and Process().
TH1D* UEAnalysis::m_NchargedTransverse[26] [private] |
Definition at line 39 of file UEAnalysis.h.
Referenced by averagedHistograms(), Init(), and Process().
TH1D* UEAnalysis::m_Njet [private] |
TH1D* UEAnalysis::m_Ptjet [private] |
TH1D* UEAnalysis::m_Ptjet_log [private] |
TH1D* UEAnalysis::m_Ptleadingjet [private] |
TH1D* UEAnalysis::m_Ptleadingjet_log [private] |
TH1D* UEAnalysis::m_PtsumAway[26] [private] |
Definition at line 48 of file UEAnalysis.h.
Referenced by averagedHistograms(), Init(), and Process().
TH1D* UEAnalysis::m_PtsumMeanAway [private] |
TH1D* UEAnalysis::m_PtsumMeanToward [private] |
TH1D* UEAnalysis::m_PtsumMeanTransverse [private] |
TH1D* UEAnalysis::m_PtsumToward[26] [private] |
Definition at line 46 of file UEAnalysis.h.
Referenced by averagedHistograms(), Init(), and Process().
TH1D* UEAnalysis::m_PtsumTransverse[26] [private] |
Definition at line 47 of file UEAnalysis.h.
Referenced by averagedHistograms(), Init(), and Process().