1 #if !defined( __CINT__) || defined(__MAKECINT__)
11 #include <AliCDBManager.h>
12 #include <../TRD/AliTRDCalibra.h>
17 TTree *AliTRDMergeTwoTrees(const char* variablecali){
19 // After having simulated and reconstructed events in subrepertories 000%d
20 // this macro create a tree, "sum" of the tree in 0000/TRD.calibration.root and 0001/TRD.calibration.root
21 // variablecali is the type: treeCH2d, treePH2d or treePRF2d
27 AliCDBManager *man = AliCDBManager::Instance();
28 man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
30 AliTRDCalibra *calibra = AliTRDCalibra::Instance();
33 TTree *tree = calibra->Sum2Trees("/d/alice06/bailhache/aliroottrd/cesoir/0019/TRD.calibration.root","/d/alice06/bailhache/aliroottrd/cesoir/0021/TRD.calibration.root",variablecali);