ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
h1chain.C
Go to the documentation of this file.
1
/// \file
2
/// \ingroup tutorial_tree_analysis
3
/// \notebook -nodraw
4
/// Creates a TChain to be used by the h1analysis.C class
5
/// the symbol H1 must point to a directory where the H1 data sets
6
/// have been installed.
7
///
8
/// \macro_code
9
///
10
/// \author Rene Brun
11
12
TChain
chain(
"h42"
);
13
14
void
h1chain(
const
char
*h1dir = 0)
15
{
16
if
(h1dir) {
17
gSystem
->Setenv(
"H1"
,h1dir);
18
}
19
chain.SetCacheSize(20*1024*1024);
20
chain.Add(
"$H1/dstarmb.root"
);
21
chain.Add(
"$H1/dstarp1a.root"
);
22
chain.Add(
"$H1/dstarp1b.root"
);
23
chain.Add(
"$H1/dstarp2.root"
);
24
}
gSystem
externTSystem * gSystem
Definition
TSystem.h:582
TChain
A chain is a collection of files containing TTree objects.
Definition
TChain.h:33
df101_h1Analysis.chain
chain
Definition
df101_h1Analysis.py:109
tutorials
analysis
tree
h1chain.C
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1