GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » [FIXED] Propagate Functions in PndAnalysis
[FIXED] Propagate Functions in PndAnalysis [message #14695] Thu, 02 May 2013 19:21 Go to previous message
Andreas Pitka is currently offline  Andreas Pitka
Messages: 38
Registered: November 2011
Location: Gießen
continuous participant
From: *physik.uni-giessen.de
Hi,

should it be possible to directly invoke the Propagate functions of PndAnalysis (like PropagateToIp (TCandidate *cand)) in an analysis macro?

When i try something simple like simulating single pions with the particle gun and in the analysis doing:

for (int i=0;i<pip.GetLength();i++)
{theAnalysis->PropagateToIp(&pip[i]);}

(where pip is the filled TCandList and theAnalysis is the PndAnalysis) i get a segmentation violation:

#12 0xb0b3af47 in FairGeanePro::FairGeanePro (this=0x103bea78) at /home/pitka/uni/Pandaroot/Rev19237/geane/FairGeanePro.cxx:51
#13 0xafee22f7 in PndAnalysis::Propagator (this=0x10313678, mode=1, tStart=..., cand=0x103b73c0, mypoint=0x103be5f8, skipcov=false) at /home/pitka/uni/Pandaroot/Rev19237/PndTools/AnalysisTools/PndAnalysis.cx x:481
#14 0xafee1c0c in PndAnalysis::PropagateToPoint (this=0x10313678, cand=0x103b73c0, mypoint=0x103be5f8) at /home/pitka/uni/Pandaroot/Rev19237/PndTools/AnalysisTools/PndAnalysis.cx x:420
#15 0xafee1998 in PndAnalysis::PropagateToIp (this=0x10313678, cand=0x103b73c0) at /home/pitka/uni/Pandaroot/Rev19237/PndTools/AnalysisTools/PndAnalysis.cx x:385

Best regards and thanks a lot

Andreas

[Updated on: Thu, 04 July 2013 19:25] by Moderator

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: how to convert kinematic variables from lab frame to cm frame in root
Next Topic: RHO: Major Modifications
Goto Forum:
  


Current Time: Thu Apr 25 11:56:26 CEST 2019

Total time taken to generate the page: 0.03356 seconds