We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988affc commit e847494Copy full SHA for e847494
roottest/root/tree/array/execStdArray.C
@@ -1,5 +1,5 @@
1
void CreateTreeWithStdArray(){
2
- TFile f("test.root", "RECREATE");
+ TFile f("testStdArray.root", "RECREATE");
3
TTree t("tree", "tree");
4
std::array<Double_t,3> arr;
5
arr[0] = 10.1;
@@ -14,7 +14,7 @@ void CreateTreeWithStdArray(){
14
int execStdArray()
15
{
16
CreateTreeWithStdArray();
17
- TFile f("test.root", "READ");
+ TFile f("testStdArray.root", "READ");
18
TTree *t = f.Get<TTree>("tree");
19
if (!t) {
20
Error("execStdArray","Could not find the TTree 'tree'");
0 commit comments