4 TClonesArray * arr = AliParticleYield::ReadFromASCIIFile("./PbPb_2760.txt");
5 std::cout << "------------------------------ All Part ------------------------------" << std::endl;
7 AliParticleYield::WriteThermusFile(arr, "thermus.txt" );
10 TTree * tree = AliParticleYield::ReadFromASCIIFileAsTree("./PbPb_2760.txt");
12 // examples on how to extract sub arrays;
14 arr =AliParticleYield::GetEntriesMatchingSelection(tree, "fCentr == \"V0M0010\" && fStatus == 0");
15 std::cout << "------------------------------ CENTR = 0-10%, Status = 0 ------------------------------" << std::endl;
19 arr =AliParticleYield::GetEntriesMatchingSelection(tree, "fCentr == \"V0M0020\" && !IsTypeRatio()");
20 std::cout << "------------------------------ CENTR = 0-20%, no ratios ------------------------------" << std::endl;
26 AliParticleYield::SaveAsASCIIFile(arr,"pippo.txt");
32 gSystem->Load("libCore.so");
33 gSystem->Load("libGeom.so");
34 gSystem->Load("libPhysics.so");
35 gSystem->Load("libVMC");
36 gSystem->Load("libTree");
37 gSystem->Load("libProof");
38 gSystem->Load("libMatrix");
39 gSystem->Load("libMinuit");
40 gSystem->Load("libSTEERBase");
41 gSystem->Load("libESD");
42 gSystem->Load("libAOD");
43 gSystem->Load("libANALYSIS");
44 gSystem->Load("libOADB");
45 gSystem->Load("libANALYSISalice");
46 gSystem->Load("libTENDER");
47 gSystem->Load("libCORRFW");
48 gSystem->Load("libMinuit");
49 gSystem->Load("libPWGTools");
50 // gROOT->LoadMacro("AliParticleYield.cxx+");
52 gSystem->Load("libPWGLFthermalfits");