16 void run_h1analysis(
int type = 0,
const char * h1dir = 0) {
18 std::cout <<
"Run h1 analysis " << std::endl;
31 std::cout <<
"Creating the chain" << std::endl;
33 chain.SetCacheSize(20*1024*1024);
34 chain.Add(
"$H1/dstarmb.root");
35 chain.Add(
"$H1/dstarp1a.root");
36 chain.Add(
"$H1/dstarp1b.root");
37 chain.Add(
"$H1/dstarp2.root");
42 chain.Process(selectionMacro);
45 selectionMacro +=
"+";
46 chain.Process(selectionMacro);
49 chain.Process(selectionMacro,
"fillList");
50 chain.Process(selectionMacro,
"useList");
virtual const char * DirName(const char *pathname)
Return the directory name in pathname.
virtual void Setenv(const char *name, const char *value)
Set environment variable.
R__EXTERN TSystem * gSystem
A chain is a collection of files containing TTree objects.