MyAnalysisExample Class Reference

#include <MyAnalysisExample.h>

Inheritance diagram for MyAnalysisExample:

MyAnalysis List of all members.

Public Member Functions

 MyAnalysisExample (void)
 default constructor
 ~MyAnalysisExample (void)
 destructor
void initialize (void)
void analyse_event (const MyEvent &event)
 analyse the given event
void end_of_analysis (void)

Public Attributes

TString filename

Private Member Functions

std::vector< MyParticle * > select_jets (std::vector< MyParticle * > jet_vector)
void init (void)
void destruct (void)

Private Attributes

TFile * m_tfile
 < here
TH1F * m_nb_electrons
TH1F * m_e_energy
TH1F * m_e_pt
TH1F * m_nb_muons
TH1F * m_nb_jets
TH1F * h_nb_matchedjets
TH1F * h_nb_fakedjets
TH1F * m_missinget_x
MyTools m_tools

Detailed Description

This class is the user's analysis class which is called by the NtupleReader. It is derived from the abstract MyAnalysis class.

Date:
9.11.2006
Author:

Definition at line 38 of file MyAnalysisExample.h.


Member Function Documentation

void MyAnalysisExample::initialize ( void   )  [virtual]

initialize the analysis at the before reading the events; histograms are booked here for instance

Implements MyAnalysis.

Definition at line 52 of file MyAnalysisExample.cxx.

void MyAnalysisExample::end_of_analysis ( void   )  [virtual]

this method is called at the end of data reading;

Implements MyAnalysis.

Definition at line 210 of file MyAnalysisExample.cxx.


Member Data Documentation

TFile* MyAnalysisExample::m_tfile [private]

< here

< the histogram file is written out

Definition at line 69 of file MyAnalysisExample.h.


The documentation for this class was generated from the following files:
Generated on Tue Oct 21 11:50:47 2008 for NtupleAnalysis by  doxygen 1.5.1