GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Conversion of track parameters
Re: Conversion of track parameters [message #8973 is a reply to message #8971] Mon, 13 July 2009 13:33 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Thanks,
even if those functions do not solve my problem.
I have decided to use the following constructor, which should do the job:


FairTrackParP *parabula....
FairTrackParH *helix = new FairTrackParH(TVector3(parabula->GetX(), parabula->GetY(), parabula->GetZ()),
					   TVector3(parabula->GetPx(), parabula->GetPy(), parabula->GetPz()),
					   TVector3(parabula->GetDX(), parabula->GetDY(), parabula->GetDZ()),
					   TVector3(parabula->GetDPx(), parabula->GetDPy(), parabula->GetDPz()),
					   parabula->GetQ());



which is not so... stylish, bit it should work. Maybe one should implement a constructor from a generic FairTrackPar, such as:

FairTrackParP::FairTrackParP(const FairTrackPar* xxx);
FairTrackParH::FairTrackParH(const FairTrackPar* xxx);


to have something easier to write.

[Updated on: Mon, 13 July 2009 13:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: new features in GENFIT
Next Topic: Event Display and PndTrack
Goto Forum:
  


Current Time: Sun Apr 14 21:57:37 CEST 2024

Total time taken to generate the page: 0.01313 seconds