ElasScatAnalysis Class Reference

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

#include <ElasScatAnalysis.h>

Inheritance diagram for ElasScatAnalysis:

baseAnalysis List of all members.

Public Member Functions

 ElasScatAnalysis ()
 empty default constructor
virtual ~ElasScatAnalysis ()
 empty default destructor
virtual int Init (double tr_max_eta, double tr_min_pt)
virtual int Process (HepMC::GenEvent *hepmcevt)

Private Attributes

TH1D * n_proton
TH1D * p1_eta
TH1D * p2_eta
TH1D * p1_pt
TH1D * p2_pt
TH1D * p1_theta
TH1D * p2_theta
TH1D * p1_phi
TH1D * p2_phi
TH1D * t_spect
TH1D * tau_spect
TH1D * pi1_en
TH1D * pi1_divx
TH1D * pi1_divy
TH1D * pi2_en
TH1D * pi2_divx
TH1D * pi2_divy

Detailed Description

This class is used for hepmc based validation of elastic scattered 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 in the ElasScat folder

Author:
provided by Hasko Stenzel, September 2009

Definition at line 22 of file ElasScatAnalysis.h.


Constructor & Destructor Documentation

ElasScatAnalysis::ElasScatAnalysis (  ) 

empty default constructor

Definition at line 35 of file ElasScatAnalysis.cc.

ElasScatAnalysis::~ElasScatAnalysis (  )  [virtual]

empty default destructor

Definition at line 39 of file ElasScatAnalysis.cc.


Member Function Documentation

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

Reimplemented from baseAnalysis.

Definition at line 44 of file ElasScatAnalysis.cc.

References baseAnalysis::initHist(), baseAnalysis::m_max_eta, baseAnalysis::m_min_pt, baseAnalysis::m_outputFileName, baseAnalysis::m_outputRootDir, n_proton, p1_eta, p1_phi, p1_pt, p1_theta, p2_eta, p2_phi, p2_pt, p2_theta, pi1_divx, pi1_divy, pi1_en, pi2_divx, pi2_divy, pi2_en, t_spect, and tau_spect.

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

Reimplemented from baseAnalysis.

Definition at line 87 of file ElasScatAnalysis.cc.

References n_proton, p1_eta, p1_phi, p1_pt, p1_theta, p2_eta, p2_phi, p2_pt, p2_theta, pi1_divx, pi1_divy, pi1_en, pi2_divx, pi2_divy, pi2_en, t_spect, and tau_spect.


Member Data Documentation

TH1D* ElasScatAnalysis::n_proton [private]

Definition at line 32 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p1_eta [private]

Definition at line 33 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p1_phi [private]

Definition at line 39 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p1_pt [private]

Definition at line 35 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p1_theta [private]

Definition at line 37 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p2_eta [private]

Definition at line 34 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p2_phi [private]

Definition at line 40 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p2_pt [private]

Definition at line 36 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::p2_theta [private]

Definition at line 38 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::pi1_divx [private]

Definition at line 44 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::pi1_divy [private]

Definition at line 45 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::pi1_en [private]

Definition at line 43 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::pi2_divx [private]

Definition at line 47 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::pi2_divy [private]

Definition at line 48 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::pi2_en [private]

Definition at line 46 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::t_spect [private]

Definition at line 41 of file ElasScatAnalysis.h.

Referenced by Init(), and Process().

TH1D* ElasScatAnalysis::tau_spect [private]

Definition at line 42 of file ElasScatAnalysis.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