#include <map>
#include <memory>
#include <string>
#include <vector>
#include "TBranch.h"
#include "TFile.h"
#include "TInterpreter.h"
#include "TKey.h"
#include "TLeaf.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TTree.h"
#include "TTreeCloner.h"
#include "TUUID.h"
#include <libgen.h>
Go to the source code of this file.
|
| Gaudi |
| Header file for std:chrono::duration-based Counters.
|
|
|
int | merge (const char *target, const char *source, bool fixup=false, bool dbg=true) |
|
◆ GAUDIROOTCNV_ROOTDATABASEMERGER_H
#define GAUDIROOTCNV_ROOTDATABASEMERGER_H |
◆ merge()
int merge |
( |
const char * |
target, |
|
|
const char * |
source, |
|
|
bool |
fixup = false , |
|
|
bool |
dbg = true |
|
) |
| |
Definition at line 420 of file merge.C.
424 static bool first =
true;
427 gSystem->Load(
"libCintex");
428 gInterpreter->ProcessLine(
"Cintex::Enable()");
436 MergeStatus ret =
m.exists( target ) ?
m.attach( target ) :
m.create( target );
437 if ( ret == MERGE_SUCCESS ) {
438 ret =
m.merge( source );
439 if ( ret == MERGE_SUCCESS ) {
441 if ( fixup )
m.createFID();
446 ::printf(
"+++ Cannot open output file:%s\n", target );