GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » VertexFinder
Re: VertexFinder [message #5400 is a reply to message #5398] Wed, 14 November 2007 18:21 Go to previous messageGo to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
hi Andrei, i was looking inside others packages
also to manage the same point, and i found that
inside of recotask
there is a so called Lambdaselector class created ny Sebastian.it is used to determined the decay vertex of lambda
by using the #include "ExtrapolateToPCA.h"

// find point of closest approach
ExtrapolateToPCA(protontrk,piontrk);

std::cout<<"Vertex at:"<<std::endl;
Int_t size=_vertexArray->GetEntriesFast();
TVector3* v=new((*_vertexArray)[size]) TVector3(0.5*(protontrk->getPos()+piontrk->getPos()));
v->Print();

so i don't know .
I have not yet tried.Let me know if it works well.

cheers ALicia.
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Previous Topic: Geane update
Next Topic: GENFIT Tutorial
Goto Forum:
  


Current Time: Tue Dec 10 00:00:40 CET 2024

Total time taken to generate the page: 0.00909 seconds