Skip to content
Snippets Groups Projects
Commit d9e1b811 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

put TROOT again in global scope so we have a test with a global TROOT object.

git-svn-id: http://root.cern.ch/svn/root/trunk@1817 27541ba8-7e3a-0410-8455-c3a389f83636
parent dd71b7f5
No related branches found
No related tags found
No related merge requests found
// @(#)root/test:$Name: $:$Id: MainEvent.cxx,v 1.10 2001/02/09 17:01:52 brun Exp $ // @(#)root/test:$Name: $:$Id: MainEvent.cxx,v 1.11 2001/02/21 07:40:23 brun Exp $
// Author: Rene Brun 19/01/97 // Author: Rene Brun 19/01/97
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
...@@ -84,11 +84,12 @@ ...@@ -84,11 +84,12 @@
#include "Event.h" #include "Event.h"
TROOT simple("simple","Example of creation of a tree");
//______________________________________________________________________________ //______________________________________________________________________________
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
TROOT simple("simple","Example of creation of a tree");
Int_t nevent = 400; // by default create 400 events Int_t nevent = 400; // by default create 400 events
Int_t comp = 1; // by default file is compressed Int_t comp = 1; // by default file is compressed
Int_t split = 1; // by default, split Event in sub branches Int_t split = 1; // by default, split Event in sub branches
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment