stressEntryList.cxx File Reference

#include <stdlib.h>
#include "TApplication.h"
#include "TEntryList.h"
#include "TEventList.h"
#include "TTree.h"
#include "TChain.h"
#include "TRandom.h"
#include "TH1F.h"
#include "TCut.h"
#include "TFile.h"
#include "TSystem.h"

Go to the source code of this file.

Functions

Int_t stressEntryList (Int_t nentries=10000, Int_t nfiles=10)
void MakeTrees (Int_t nentries, Int_t nfiles)
Bool_t Test1 ()
Bool_t Test2 ()
Bool_t Test3 ()
Bool_t Test4 ()
Bool_t Test5 ()
void CleanUp (Int_t nfiles)
int main (int argc, char *argv[])


Function Documentation

void CleanUp ( Int_t  nfiles  ) 

Definition at line 556 of file stressEntryList.cxx.

References buffer, gSystem, i, sprintf(), and TSystem::Unlink().

Referenced by G__G__Base3_123_0_5(), G__G__Thread_162_0_13(), and stressEntryList().

int main ( int  argc,
char *  argv[] 
)

Definition at line 625 of file stressEntryList.cxx.

References nentries, nfiles, and stressEntryList().

void MakeTrees ( Int_t  nentries,
Int_t  nfiles 
)

Definition at line 515 of file stressEntryList.cxx.

References buffer, TFile::Close(), gRandom, i, sprintf(), tree1(), tree2(), TTree::TTree(), TRandom::Uniform(), TFile::Write(), x, and y.

Referenced by stressEntryList().

Int_t stressEntryList ( Int_t  nentries = 10000,
Int_t  nfiles = 10 
)

Definition at line 565 of file stressEntryList.cxx.

References CleanUp(), kTRUE, MakeTrees(), Test1(), Test2(), Test3(), Test4(), and Test5().

Referenced by main().

Bool_t Test1 (  ) 

Definition at line 53 of file stressEntryList.cxx.

References TMath::Abs(), TEntryList::Add(), TChain::Add(), TChain::Draw(), gDirectory, TDirectory::Get(), TH1F::GetBinContent(), TEntryList::GetEntry(), TEntryList::GetLists(), TEntryList::GetN(), TEntryList::GetTreeName(), i, kFALSE, kTRUE, TList::Last(), Long64_t, n, and TChain::SetEntryList().

Referenced by stressEntryList().

Bool_t Test2 (  ) 

Definition at line 175 of file stressEntryList.cxx.

References TEntryList::Add(), TChain::Add(), chain, TChain::Draw(), TEntryList::GetEntry(), TEntryList::GetN(), i, kFALSE, kTRUE, Long64_t, n, TEntryList::Reset(), and TEntryList::Subtract().

Referenced by stressEntryList().

Bool_t Test3 (  ) 

Definition at line 295 of file stressEntryList.cxx.

References TMath::Abs(), TChain::Add(), chain, TChain::Draw(), gDirectory, TDirectory::Get(), TH1F::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), h1, h2, i, kFALSE, kTRUE, TChain::SetEntryList(), and TChain::SetEventList().

Referenced by stressEntryList().

Bool_t Test4 (  ) 

Definition at line 348 of file stressEntryList.cxx.

References TMath::Abs(), TTree::Draw(), gDirectory, TDirectory::Get(), TH1F::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), h1, h2, i, kFALSE, kTRUE, TTree::SetEntryList(), and TTree::SetEventList().

Referenced by stressEntryList().

Bool_t Test5 (  ) 

Definition at line 397 of file stressEntryList.cxx.

References TMath::Abs(), TEntryList::Add(), TChain::Add(), chain, TChain::Draw(), TEntryList::Enter(), gDirectory, TDirectory::Get(), TChain::GetEntries(), TH1::GetEntries(), TEntryList::GetEntry(), TChain::GetNtrees(), TChain::GetTreeOffset(), i, kFALSE, kTRUE, Long64_t, TEntryList::Remove(), and TChain::SetEntryList().

Referenced by stressEntryList().


Generated on Tue Jul 5 16:08:53 2011 for ROOT_528-00b_version by  doxygen 1.5.1