ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
h1chain.C
Go to the documentation of this file.
1
/// \file
2
/// \ingroup tutorial_tree
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
}
tutorials
tree
h1chain.C
Generated on Tue May 5 2020 14:03:51 for ROOT by
1.8.5