GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Problem with PndVertexFitter for particles with neutral charge
Re: Problem with PndVertexFitter for particles with neutral charge [message #18283 is a reply to message #18279] Fri, 29 May 2015 11:37 Go to previous messageGo to previous message
Jennifer Pütz is currently offline  Jennifer Pütz
Messages: 47
Registered: April 2015
Location: FZ Juelich
continuous participant
From: *ikp.kfa-juelich.de
Ok, sorry I should have give you some more information Embarassed

----


theAnalysis->FillList(piminus, "PionAllMinus", "PidAlgoIdealCharged");
theAnalysis->FillList(piplus, "PionAllPlus", "PidAlgoIdealCharged");
theAnalysis->FillList(proton, "ProtonAllPlus", "PidAlgoIdealCharged");
theAnalysis->FillList(antiProton, "ProtonAllMinus", "PidAlgoIdealCharged");


//***Lambda0 -> PiMinus + Proton
lambda0.Combine(piminus,proton);
lambda0.SetType(3122);



//***AntiLambda0 -> PiPlus + AntiProton
antiLambda0.Combine(piplus,antiProton);
antiLambda0.SetType(-3122);


//*** Cross check: pbar + p -> Lambda0 + AntiLambda0

crossCheck.Combine(lambda0, antiLambda0);
crossCheck.SetType(88888);


for (int j=0; j<crossCheck.GetLength(); ++j){

//do vertex fit
PndKinVtxFitter vertexFitter_cc (crossCheck[j]);
vertexFitter_cc.Fit();
RhoCandidate * ccFit = crossCheck[j]->GetFit();

}

[Updated on: Fri, 29 May 2015 11:37]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Ideal Tracking Bugs(?) when using FairLinks
Next Topic: [NOTABUG] Warning: FairRun Function
Goto Forum:
  


Current Time: Tue Apr 16 20:42:51 CEST 2024

Total time taken to generate the page: 0.01068 seconds