ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/kiesel/TreeWriter/executable.cc
(Generate patch)

Comparing UserCode/kiesel/TreeWriter/executable.cc (file contents):
Revision 1.2 by kiesel, Thu Apr 18 16:26:44 2013 UTC vs.
Revision 1.3 by kiesel, Fri Apr 19 10:14:01 2013 UTC

# Line 3 | Line 3
3   int main( int argc, char** argv ) {
4  
5          std::string filename = "../susyEvents.root";
6 +        //std::string filename = "dcache:dcap://dcache-cms-dcap.desy.de/pnfs/desy.de/cms/tier2/store/user/jschulz/nTuples/WJets_V01/susyEvents_812_1_Fbi.root";
7          std::string outputFilename = "susyTree.root";
8  
9          TreeWriter *tw = new TreeWriter( filename, outputFilename, 0 );
10  
11          // settings
12          tw->PileUpWeightFile("pileUpReweighting/puWeights.root");
13 <        tw->SetProcessNEvents(10);
13 >        tw->SetProcessNEvents(-1);
14 >        tw->SetReportEvents(1000);
15          tw->SkimEvents(true);
16          tw->Loop();
17  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines