UEAnalysis Class Reference

Class to study underlying events. Currently the UE is studied for events with at least one jet, e.g. QCD 2->2, pp->W+jet, pp->Z+jet. Extension to DrellYan events will follow. Examples to generate e.g events are given in the specific generator directory, e.g. examples/pythia6 ; the histogramm output is stored in the UE folder of the root file. More...

#include <UEAnalysis.h>

Inheritance diagram for UEAnalysis:

baseAnalysis List of all members.

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]

Detailed Description

Class to study underlying events. Currently the UE is studied for events with at least one jet, e.g. QCD 2->2, pp->W+jet, pp->Z+jet. Extension to DrellYan events will follow. Examples to generate e.g events are given in the specific generator directory, e.g. examples/pythia6 ; the histogramm output is stored in the UE folder of the root file.

Author:
Sebastian Johnert, Judith Katzy, Zhonghua Qin Dec 2008

Definition at line 24 of file UEAnalysis.h.


Constructor & Destructor Documentation

UEAnalysis::UEAnalysis (  ) 

empty default constructor

Definition at line 32 of file UEAnalysis.cc.

UEAnalysis::~UEAnalysis (  )  [virtual]

empty default destructor

Definition at line 37 of file UEAnalysis.cc.


Member Function Documentation

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.


Member Data Documentation

TH1D* UEAnalysis::m_charged_particle_pt [private]

Definition at line 60 of file UEAnalysis.h.

Referenced by Init(), and Process().

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]

Definition at line 65 of file UEAnalysis.h.

Referenced by Init(), and Process().

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]

Definition at line 44 of file UEAnalysis.h.

Referenced by averagedHistograms(), and Init().

TH1D* UEAnalysis::m_NchargedMeanToward [private]

Definition at line 42 of file UEAnalysis.h.

Referenced by averagedHistograms(), and Init().

TH1D* UEAnalysis::m_NchargedMeanTransverse [private]

Definition at line 43 of file UEAnalysis.h.

Referenced by averagedHistograms(), and Init().

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]

Definition at line 54 of file UEAnalysis.h.

Referenced by Init(), and Process().

TH1D* UEAnalysis::m_Ptjet [private]

Definition at line 55 of file UEAnalysis.h.

Referenced by Init(), and Process().

TH1D* UEAnalysis::m_Ptjet_log [private]

Definition at line 56 of file UEAnalysis.h.

Referenced by Init(), and Process().

TH1D* UEAnalysis::m_Ptleadingjet [private]

Definition at line 57 of file UEAnalysis.h.

Referenced by Init(), and Process().

TH1D* UEAnalysis::m_Ptleadingjet_log [private]

Definition at line 58 of file UEAnalysis.h.

Referenced by Init(), and Process().

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]

Definition at line 52 of file UEAnalysis.h.

Referenced by averagedHistograms(), and Init().

TH1D* UEAnalysis::m_PtsumMeanToward [private]

Definition at line 50 of file UEAnalysis.h.

Referenced by averagedHistograms(), and Init().

TH1D* UEAnalysis::m_PtsumMeanTransverse [private]

Definition at line 51 of file UEAnalysis.h.

Referenced by averagedHistograms(), and Init().

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().


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