|
||||
File indexing completed on 2024-09-27 07:02:52
0001 // 0002 // build.cxx 0003 // 0004 // Created by TB on 6/13/11. 0005 // Copyright 2011 BNL. All rights reserved. 0006 // 0007 // Demonstration of how to run BuildTree 0008 // You can specify a maximum number of events to read: 0009 // <= 0 means read all events (default). 0010 0011 void build(const TString inputFile, TString outputDir, Long64_t maxEvents) { 0012 0013 // Load the shared library, if not done automaticlly: 0014 // gSystem->Load("/path/to/libeicsmear.so" ); 0015 0016 0017 // Call the BuildTree() function. 0018 // The output file name is the same as the input file name but with the 0019 // extension ".root" e.g. myfile.txt --> myfile.root 0020 BuildTree(inputFile, outputDir, maxEvents); 0021 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |