GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Digitization or Tracking in STT class.
Digitization or Tracking in STT class. [message #8214] Tue, 14 April 2009 16:17 Go to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *kph.uni-mainz.de
Dear all,

Does anybody knows the meaning of segmentation fault with human word?
=====================================================================
DemoPatternRecoTask::Exec
0 tracks created
DemoKalmanTask::Exec Event 0
DIGI EXECUTION *********************
Hit array contains 107 hits
Event Number 0
caution: wrong drift time
caution: wrong drift time
caution: wrong drift time
caution: wrong drift time
Nr of Points: 4

*** Break *** segmentation violation
=====================================================================

At a rough guess, DemoPattern and DemoKalmanTask couldn't find events, or digitization of emc, mvd, or stt have been wrong.
I'm following a simple example runReco.C in pandaroot/macro/fsim/
Simply, suggested sentences are introduced to perform the pattern recognition and kalman fit in my reconstruction script.
There are some EMC modules and few Tracking devices, which are delivered from other scripts for example in pandaroot/macro/run/reco_complete.C
The full script for this reconstruction purpose is also attached
=======================================================================
DemoPatternRecoTask* DemoPR = new DemoPatternRecoTask();
DemoPR->AddHitBranch(2,"PndTpcPoint");
// DemoPR->AddHitBranch(3,"MVDPoint");
DemoPR->SetPersistence();
// DemoPR->UseGeane();
fRun->AddTask(DemoPR);

DemoKalmanTask* DemoKalman = new DemoKalmanTask();
DemoKalman->AddHitBranch(2,"PndTpcPoint");
// DemoKalman->AddHitBranch(3,"MVDPoint");
DemoKalman->SetPersistence();
// DemoKalman->SetSmooth(true);
fRun->AddTask(DemoKalman);

.......................................................

DemoToolsTask* DemoTools = new DemoToolsTask();
fRun->AddTask(DemoTools);
=======================================================================


Thank you for your coorporation!!!
Best wishes,
Donghee Kang in Mainz

[Updated on: Wed, 15 April 2009 16:25]

Report message to a moderator

Re: Tracking [message #8215 is a reply to message #8214] Tue, 14 April 2009 16:58 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *to.infn.it
Hello,

How does the whole output look like? I could imagine that a file was not loaded properly in the beginning or not written correctly in a step before.

For better bug reporting (esp. SegFaults) I suggest to use gdb. The trick is to take the root.exe executable which is called anyway when you run your macros. Just like that:
gdb --args root.exe My_dvcs_full_reco.C

You may want to use the spoiler tags for the tons of output.

Kind Regards, Ralf.
Re: Tracking [message #8216 is a reply to message #8215] Tue, 14 April 2009 17:04 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
Hi
are you sure that your input file is
called like that

Panda_event_1.full.mc.root ?

regards
alicia.
Re: Tracking [message #8223 is a reply to message #8216] Wed, 15 April 2009 14:18 Go to previous messageGo to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *kph.uni-mainz.de
Hi Alicia,

The accessing of input data was definitely no problem!

What a beautiful day!
Donghee

[Updated on: Wed, 15 April 2009 14:19]

Report message to a moderator

Re: Tracking [message #8236 is a reply to message #8223] Thu, 16 April 2009 12:00 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
first of all I have a comment. The line:

Geane->SetField(fRun->GetField());

is repeated two times. Only the last one after fRun->Init(); should be kept, the other should be removed.

I have the feeling that the problems comes not from STT but from the Demo* stuff before, that maybe is deleting somehwere some object and then stt has problems.
Have you tried to move all the Demo part just at the end of the task list? Just to be sure.

Regards
Re: Tracking [message #8238 is a reply to message #8223] Thu, 16 April 2009 12:31 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi only to be sure
please substitute the geo file for the tof detector
by tofbarrel.geo and not

PndTof *Tof = new PndTof("TOF",kTRUE);
58 Tof->SetGeometryFileName("tofSciF.geo");
59 fRun->AddModule(Tof);

cheers ALicia.
Re: Tracking [message #8239 is a reply to message #8238] Thu, 16 April 2009 13:21 Go to previous messageGo to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *dip.t-dialin.net
Dear Alicia,

I try to run the geometry file with tofbarrel.geo
topSciF.geo is fine but topbarrel.geo doesn't work!

Could you check for that!
Re: Tracking [message #8242 is a reply to message #8239] Thu, 16 April 2009 13:50 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi again,
the geo file is tofbarrel.geo

look into geometry directory,

for me it is working without problems.
Re: Tracking [message #8243 is a reply to message #8242] Thu, 16 April 2009 14:09 Go to previous message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *dip.t-dialin.net
Dear Alicia

With tofbarrel.geo the run goes to the event number 9 without error.
At event number 9, run come to a death stop!

*** Break *** floating point exception

Is this related overlap of detector loading?
I have introduced following tracking devices in current runMC.




FairDetector *Mvd = new PndMvdDetector("MVD", kTRUE);
Mvd->SetGeometryFileName("MVD14.root");
fRun->AddModule(Mvd);

PndStt *Stt= new PndStt("STT",kTRUE);
//Stt->SetGeometryFileName("straws_skewed_blocks.geo");
Stt->SetGeometryFileName("straws_skewed_blocks_35cm_pipe.geo");
fRun->AddModule(Stt);

PndTof *Tof = new PndTof("TOF",kTRUE);
//Tof->SetGeometryFileName("tofSciF.geo");
Tof->SetGeometryFileName("tofbarrel.geo");
fRun->AddModule(Tof);

PndDrc *Drc = new PndDrc("DIRC",kTRUE);
Drc->SetGeometryFileName("dirc.geo");
//fRun->AddModule(Drc);

PndDchDetector *Dch = new PndDchDetector("DCH",kTRUE);
Dch->SetGeometryFileName("dch.root");
fRun->AddModule(Dch);

PndMdt *Mdt = new PndMdt("MDT",kTRUE);
Mdt->SetGeometryFileName("muopars.root");
Mdt->SetMdtVersion("torino");
fRun->AddModule(Mdt);
Previous Topic: Possibility of combining of digitization and reconstruction
Next Topic: STTPoints do not match with STTHelixHit
Goto Forum:
  


Current Time: Sun Oct 13 22:59:32 CEST 2024

Total time taken to generate the page: 0.00680 seconds