Revision: | 1.1 |
Committed: | Thu Apr 18 13:39:26 2013 UTC (12 years ago) by kiesel |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | the main method for executable file |
# | Content |
---|---|
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 | TreeWriter *tw = new TreeWriter( filename, outputFilename, 5 ); |
9 | |
10 | // settings |
11 | tw->PileUpWeightFile("pileUpReweighting/puWeights.root"); |
12 | tw->SetProcessNEvents(-1); |
13 | tw->SkimEvents(true); |
14 | tw->Loop(); |
15 | |
16 | } |
17 |