#include "MCP_Skimmer.h"
#include <iostream>
#include <TFile.h>
#include <TTree.h>
Go to the source code of this file.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 12 of file mcp_skimmer.cxx.
48 printf(
"Skimming from tree dump: %s\n", infile.c_str() );
49 printf(
"Output Skimmed file: %s\n", outfile.c_str() );
50 printf(
"Debug mode: %s\n", debug.c_str() );
54 skimmer->SetDebug(
true);
55 if(not skimmer->BookTFile())
return -1;
57 skimmer->SkimMCParticle();
59 skimmer->WriteTTree();
60 skimmer->CloseTFile();
Definition at line 7 of file mcp_skimmer.cxx.
9 std::cout <<
"./mcp_skimmer --infile <inputfile> --outfile <outputfile> --debug <0/1>" <<
std::endl;
QTextStream & endl(QTextStream &s)