ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/executable.cc
Revision: 1.2
Committed: Thu Apr 18 16:26:44 2013 UTC (12 years ago) by kiesel
Content type: text/plain
Branch: MAIN
Changes since 1.1: +2 -2 lines
Log Message:
verbosity changed to 0

File Contents

# User Rev Content
1 kiesel 1.1 #include "treeWriter.h"
2    
3     int main( int argc, char** argv ) {
4    
5     std::string filename = "../susyEvents.root";
6     std::string outputFilename = "susyTree.root";
7    
8 kiesel 1.2 TreeWriter *tw = new TreeWriter( filename, outputFilename, 0 );
9 kiesel 1.1
10     // settings
11     tw->PileUpWeightFile("pileUpReweighting/puWeights.root");
12 kiesel 1.2 tw->SetProcessNEvents(10);
13 kiesel 1.1 tw->SkimEvents(true);
14     tw->Loop();
15    
16     }
17