2 // *** Configuration script for phi->KK analysis with 2010 runs ***
4 // A configuration script for RSN package needs to define the followings:
6 // (1) decay tree of each resonance to be studied, which is needed to select
7 // true pairs and to assign the right mass to all candidate daughters
8 // (2) cuts at all levels: single daughters, tracks, events
9 // (3) output objects: histograms or trees
13 AliRsnMiniAnalysisTask *task,
16 AliRsnCutSet *cutsPair
20 if (strlen(suffix) > 0) suffix = Form("_%s", suffix);
23 // -- Define track cuts -------------------------------------------------------------------------
26 /*** EMPTY FOR TRUE PAIRS COMPUTATION ***/
29 // -- Values ------------------------------------------------------------------------------------
32 /* invariant mass */ Int_t imID = task->CreateValue(AliRsnMiniValue::kInvMass, kFALSE);
33 /* transv. momentum */ Int_t ptID = task->CreateValue(AliRsnMiniValue::kPt, kFALSE);
34 /* centrality */ Int_t centID = task->CreateValue(AliRsnMiniValue::kMult, kFALSE);
37 // -- Create all needed outputs -----------------------------------------------------------------
40 TString mode = "HIST";
41 if (!isPP) mode = "SPARSE";
44 AliRsnMiniOutput *out = task->CreateOutput(Form("phi_TrueMC%s", suffix), mode.Data(), "MOTHER");
46 out->SetDaughter(0, AliRsnDaughter::kKaon);
47 out->SetDaughter(1, AliRsnDaughter::kKaon);
48 out->SetMotherPDG(333);
49 out->SetMotherMass(1.019455);
51 out->SetPairCuts(cutsPair);
53 out->AddAxis(imID, 500, 0.9, 1.4);
54 out->AddAxis(ptID, 100, 0.0, 10.0);
55 if (!isPP) out->AddAxis(centID, 100, 0.0, 100.0);