Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

XANASelector.cpp

Go to the documentation of this file.
00001 #define XANASelector_cxx
00002 // The class definition in XANASelector.h has been generated automatically
00003 // by the ROOT utility TTree::MakeSelector().
00004 //
00005 // This class is derived from the ROOT class TSelector.
00006 // The following members functions are called by the TTree::Process() functions:
00007 //    Begin():       called everytime a loop on the tree starts,
00008 //                   a convenient place to create your histograms.
00009 //    Notify():      this function is called at the first entry of a new Tree
00010 //                   in a chain.
00011 //    Process():     called for each event. In this function you decide what 
00012 //                   to read and you fill your histograms.
00013 //    Terminate():   called at the end of a loop on the tree,
00014 //                   a convenient place to draw/fit your histograms.
00015 //
00016 //   To use this file, try the following session on your Tree T
00017 //
00018 // Root > T->Process("XANASelector.C")
00019 // Root > T->Process("XANASelector.C","some options")
00020 // Root > T->Process("XANASelector.C+")
00021 //
00022 #include "XANADOO/XANAnalysisTools/interface/XANASelector.h"
00023 #include "TH2.h"
00024 #include "TStyle.h"
00025 #include <TRef.h>
00026 
00027 
00028 void XANASelector::Begin(TTree *tree)
00029 {
00030    // Function called before starting the event loop.
00031    // When running with PROOF Begin() is only called in the client.
00032    // Initialize the tree branches.
00033 
00034 
00035    TString option = GetOption();
00036 
00037 }
00038 
00039 void XANASelector::SlaveBegin(TTree *tree)
00040 {
00041    // Function called before starting the event loop.
00042    // When running with PROOF SlaveBegin() is called in each slave
00043    // Initialize the tree branches.
00044 
00045    Init(tree);
00046 
00047    TString option = GetOption();
00048 
00049 }
00050 
00051 // Bool_t XANASelector::Process(Int_t entry)
00052 // {
00053 //    // Processing function. This function is called
00054 //    // to process an event. It is the user's responsability to read
00055 //    // the corresponding entry in memory (may be just a partial read).
00056 //    // Once the entry is in memory one can apply a selection and if the
00057 //    // event is selected histograms can be filled.
00058 
00059 
00060 //    return kTRUE;
00061 // }
00062 
00063 void XANASelector::SlaveTerminate()
00064 {
00065    // Function called at the end of the event loop in each PROOF slave.
00066 
00067 
00068 }
00069 
00070 void XANASelector::Terminate()
00071 {
00072    // Function called at the end of the event loop.
00073    // When running with PROOF Terminate() is only called in the client.
00074 
00075 
00076 }

Generated on Tue May 10 10:01:25 2005 for XANADOO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002