ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/mstein/triggerStudy/triggerStudy.cfg
(Generate patch)

Comparing UserCode/mstein/triggerStudy/triggerStudy.cfg (file contents):
Revision 1.1 by mstein, Thu Nov 22 15:32:47 2012 UTC vs.
Revision 1.3 by mstein, Tue Nov 27 12:11:16 2012 UTC

# Line 1 | Line 1
1 < #ifndef susy_cfg
2 < #define susy_cfg
3 < #include "susy.h"
1 > #configuration
2 > dataset                   = "TTJets";
3  
4 < //-------------------------------------------------------------------------- MC
6 < //  dataset                   = "TTJets";
7 <
8 < //------------------------------------------- control structures
4 > #------------------------------------------- control structures
5   startEvent              = 0;
6 < nentries                = -1;                //-1: take all events
7 < TString path = "/scratch/hh/current/cms/user/mstein/ntuples/";
8 < Lumi                    = 1096.4;               //in pb^-1
9 < verbosity               = 0;
10 < outputNameSuffix        = "";
15 <
16 <
17 <
18 <
19 < void triggerStudy::configuration(){
20 <
21 <  
22 <  
23 <  
24 <  //========================================= do the adequate actions influenced by the configuration
25 <  SetConfigFromCommandLine();
26 <  tools::SetVerbosity(verbosity);
27 <  SetIntelligentIO();
28 <  
29 <  //TString path = "/pnfs/desy.de/cms/tier2/store/user/schettle/nTuple11_v2/";
30 <  
31 <  "/scratch/hh/current/cms/user/schettle/mc/Fall10-START38_V12-v1/RSGravToMuMu_kMpl005_M-500_7TeV-pythia6");
32 <  fChain     = 0;
33 <  fChain     = new TChain("susyTree/tree");
34 <  Init();
35 <  
36 <  timer.Start("Load Files");
37 <  Int_t allEntries = fChain->GetEntries();
38 <  timer.Stop("Load Files");
39 <  if(startEvent>allEntries){
40 <    cout<<"startEvent>allEntries :" << startEvent << " > " << allEntries << endl;
41 <    startEvent = 0;
42 <    nentries   = 0;
43 <  }
44 <  if(nentries>allEntries) nentries=allEntries;
45 <  if(nentries==-1 || runOverFilesFlg){
46 <    nentries   = allEntries;
47 <    startEvent = 0;
48 <  }
49 <  if((startEvent+nentries) > allEntries) nentries=allEntries-startEvent;
50 <  }
51 <  
52 <  
53 <  
54 <  
55 <  
56 <  
57 <  
58 <
59 < #endif
60 <
61 <
62 <
63 <
64 <
65 <
66 <
67 <
68 <
69 <
70 <
71 <
72 <
73 <
74 <
75 <
76 <
77 <
78 <
79 <
80 <
81 <
82 <
83 <
84 <
85 <
86 <
6 > nentries                = 100;                #-1: take all events
7 > TString path            = /scratch/hh/current/cms/user/mstein/ntuples/;
8 > #Lumi                    = 1096.4;            #in pb^-1
9 > #verbosity               = 0;
10 > outputNameSuffix        = ;
11  
12  
13  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines