This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
root:troubleshooting [2010/11/09 16:02] – nchiap | root:troubleshooting [2010/11/26 14:42] – decianm | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Writing Root-files ====== | ====== Writing Root-files ====== | ||
- | <code C> | ||
- | TFile* inputFile = TFile:: | ||
- | TFile* outputFile = new TFile(" | ||
- | // your code | ||
- | outputFile-> | ||
- | </ | ||
===== Empty Files ===== | ===== Empty Files ===== | ||
Line 14: | Line 8: | ||
TFile* outputFile = new TFile(" | TFile* outputFile = new TFile(" | ||
TFile* inputFile = TFile:: | TFile* inputFile = TFile:: | ||
+ | // your code | ||
+ | outputFile-> | ||
+ | </ | ||
+ | |||
+ | but instead do: | ||
+ | <code C> | ||
+ | TFile* inputFile = TFile:: | ||
+ | TFile* outputFile = new TFile(" | ||
// your code | // your code | ||
outputFile-> | outputFile-> | ||
</ | </ |