ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/claudioc/ScansICHEP2012/code/makePlots.C
(Generate patch)

Comparing UserCode/claudioc/ScansICHEP2012/code/makePlots.C (file contents):
Revision 1.1 by claudioc, Thu Jun 21 11:15:30 2012 UTC vs.
Revision 1.2 by claudioc, Sat Jun 23 10:31:27 2012 UTC

# Line 23 | Line 23 | void makePlots (int iflag=0) {
23      cout << "makePlots(4)  for glsbottom chi150" << endl;
24      cout << "makePlots(5)  for glsbottom chi300" << endl;
25      cout << "makePlots(6)  for glsbottom sbpair" << endl;
26 +    cout << "The ntuples are to be found in $NTUPLE_DIR" << endl;
27      return;
28    }
29  
# Line 38 | Line 39 | void makePlots (int iflag=0) {
39    //return;
40  
41    // Open the ntuple
42 <  cout << "We are opening " << Form("Jun21/ntuple_%s.root",modelName) << endl;
43 <  TFile *file = TFile::Open(Form("Jun21/ntuple_%s.root",modelName));
42 >  cout << "We are opening " << Form("$NTUPLE_DIR/ntuple_%s.root",modelName) << endl;
43 >  TFile *file = TFile::Open(Form("$NTUPLE_DIR/ntuple_%s.root",modelName));
44    file->cd();
45    TTree *tree = (TTree*)gDirectory->Get("tree");
46  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines