]> git.uio.no Git - u/mrichter/AliRoot.git/blame - test/QA/AnaQACorr.C
some histos added for TPC clusters
[u/mrichter/AliRoot.git] / test / QA / AnaQACorr.C
CommitLineData
ad25d427 1/*
2 * AnaQACorr.C
3 *
4 *
5 * Created by schutz on 15/08/08.
6 * Copyright 2008 CERN. All rights reserved.
7 *
8 */
9
10void AnaQACorr(Int_t run)
11{
12 // Analyze the QA NTUPLE for correlation among detectors
13 // Open the file and get the ntuple
14 TFile fin(Form("CORR.QA.%d.0.root", run)) ;
15 TNtupleD * nt = dynamic_cast<TNtupleD*>(fin.FindObjectAny(AliQA::GetQACorrName())) ;
16 TObjArray * branches = nt->GetListOfBranches() ;
17 printf("The following parameters are available:\n") ;
18 for ( Int_t b = 0 ; b < branches->GetEntries() ; b++) {
19 printf(" %2d ---> %s\n", b, branches->At(b)->GetName()) ;
20 }
21}
22