Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
root_merge.cc File Reference
#include <stdlib.h>
#include <string>
#include <iostream>
#include <iomanip>
#include <TChain.h>
#include <TFile.h>
#include <TH1.h>
#include <TTree.h>
#include <TKey.h>
#include <Riostream.h>

Go to the source code of this file.

Functions

void Usage (void)
 
void ParseCommandLineArguments (int narg, char *argv[])
 
void MergeRootfile (TDirectory *target, TList *sourcelist)
 
int main (int narg, char *argv[])
 

Variables

TList * FileList
 
TFile * Target
 
const char * OUTPUT_FILENAME = "merged.root"
 

Function Documentation

int main ( int  narg,
char *  argv[] 
)
void MergeRootfile ( TDirectory *  target,
TList *  sourcelist 
)

!if the object is a tree, it is stored in globChain...

Definition at line 139 of file root_merge.cc.

References h1, and h2.

Referenced by main().

void ParseCommandLineArguments ( int  narg,
char *  argv[] 
)
void Usage ( void  )

Variable Documentation

TList* FileList

Definition at line 39 of file root_merge.cc.

Referenced by main().

const char* OUTPUT_FILENAME = "merged.root"

Definition at line 42 of file root_merge.cc.

TFile* Target

Definition at line 40 of file root_merge.cc.

Referenced by DEventSourceHDDM::Extract_DMCReaction(), and main().