//--------------------------------------------------------------------------------- // The example of usage of AliKFParticle & AliKFVertex classes for V0 analysis // . // @author M.Zyzak, I.Kulakov, I.Kisel // @version 1.0 // @since 30.06.11 // // The AliKFParticleTest macro contains a toy V0 finder for ESD tracks. // At the first step, event primary vertex is reconstructed. // At the second step, ideal PID hypothesis are assigned to all the particles. // At the third step, V0 candidates are constructed for each pair // of positive and negative particles. // V0 candidate considered as good when it passes Chi^2 cut and // it is placed >= 3 Sigma away from the primary vertex. // Invariant mass distribution for all good V0 candidates is plotted. // // -= Copyright © ALICE HLT Group =- //_________________________________________________________________________________ Int_t AliKFParticleSIMDTest(Int_t n1=1,Int_t n2=1,char *dire="/lustre/alice/alien/alice/sim/LHC10d1/115186/"){ AliKFParticleTest Tester; TString InpFile = "/data.local1/mzyzak/alice/data_gen_1000"; Tester.AddInputFile(InpFile); TString OutFile = "out.root"; Tester.SetOutputFile("out.root"); Tester.AddTestParticlesPDG(421); // Tester.AddTestParticlesPDG(22); Tester.RunTest(); return 0; }