#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 430 of file merge.C.
434 static bool first =
true;
437 gSystem->Load(
"libCintex");
438 gInterpreter->ProcessLine(
"Cintex::Enable()");
446 MergeStatus ret =
m.exists( target ) ?
m.attach( target ) :
m.create( target );
447 if ( ret == MERGE_SUCCESS ) {
448 ret =
m.merge( source );
449 if ( ret == MERGE_SUCCESS ) {
451 if ( fixup )
m.createFID();
456 ::printf(
"+++ Cannot open output file:%s\n", target );