voidexplore_zmass_boost(){// Tell root not to draw everything to the screen.gROOT->SetBatch();// TString dyfilename = TString("/home/acarnes/h2mumu/samples/stage1/monte_carlo/bg/stage_1_dy_jetsToLL_asympt50_ALL.root");TString dyfilename = TString("/home/acarnes/h2mumu/samples/...
voiddraw_clouds_profiles(){// gROOT->ProcessLine(".L ../utils.C");// gROOT->ProcessLine(".L AliLRCFit.cxx");TFile *f[8];// f[0] = new TFile( "output_classesByV0M_LHC10h.root" );// f[0] = new TFile( "output_classesByV0M_LHC10h_c10_5_1.root" );f[0] =newTFil...
text->AddText(Form("rate = %f #pm %f per day",func1->GetParameter(0)*86400/nsecGR,func1->GetParError(0)*86400/nsecGR)); TFile *fo =newTFile("outputCERN-01-02.root","RECREATE"); h->Write(); hDeltaTheta->Write(); hDeltaPhi->Write(); hThetaRel->Write(); hDeltaThetaBack-...
voidcanvas_write(){//just in case this script is executed multiple timesdeletegROOT->GetListOfFiles()->FindObject("hsimple.root");deletegROOT->GetListOfCanvases()->FindObject("c1"); gBenchmark->Start("ntuple1");/// Connect ROOT histogram/ntuple demonstration file// generated by example ...
LoadLib();snprintf(name,100,"AnalysisResults.root");if(!fo) fo =newTFile(name);snprintf(name,100,"contVZEROv2"); TList *cont = (TList *) fo->Get(name); AliFlowVZEROResults *pidqa = cont->FindObject("qaPID"); Float_t xval[2] = {2.,pt+0.00001}; ...
TProfile *profHisto =NULL;TFilefInputDefault("minbias/VZERO.EPFlatenning.PS.LHC11h_AOD083_000170162.root"); TList *inputList = (TList*)fInputDefault.Get("coutput");for(Int_t i =0; i <11; ++i) { profHisto = (TProfile*)inputList->FindObject(Form("fX2_%d",i))->Clone(Form(...
voidplotAnaMult4(char*infname="ana.root"){ TFile *inf =newTFile(infname); TTree *tData = (TTree*) inf->Get("Data_tree"); TTree *tMC = (TTree*) inf->Get("MC_tree"); TTree *tPP = (TTree*) inf->Get("PP_tree"); ...
TString InTreeFileName ="/lustre/nyx/cbm/users/dblau/cbm/mc/UrQMD/AuAu/10AGeV/sis100_electron/SC_ON/2016_09_01/tree/11111.root"; TFile *InFile =newTFile(InTreeFileName); TTree *InTree = (TTree*) InFile->Get("fDataTree"); ...
TFile *file1 =newTFile("test_nhitac_modified.root");//TH1F *histo1 = new TH1F("nhitac1","nhitac1",60,0,300);TProfile *profile1 =newTProfile("profile","nhitac profile",100,0,100,0,300); TFile *file2 =newTFile("test_nhitac_unmodified.root");//TH1F *histo2 = new TH1...