Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Geometry file for Dch at simulation
Geometry file for Dch at simulation [message #8617] |
Fri, 22 May 2009 19:20 ![Go to next message Go to next message](/theme/gsi/images/down.png) |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *dip.t-dialin.net
|
|
Dear DCH expert,
I'm working with Pandaroot version 5476,
I have a trouble to use or access dch.root geometry file.
If I'm going to dch.root, simulation script doesn't work any more.
If I use dch.geo, script is running, but in the digi and reco part I got an error message like this,
"Empty geometry passed to PndDchStructure"
I guess that Dch detector couldn't be loaded at simulation part.
Is there a simple solution to fix it?
Quote: |
FairDetector *Dch = new PndDchDetector("DCH", kTRUE);
Dch->SetGeometryFileName("dch.root");
Dch->SetVerboseLevel(1);
fRun->AddModule(Dch);
|
Best wishes,
Donghee
[Updated on: Fri, 22 May 2009 19:22] Report message to a moderator
|
|
|
Re: Geometry file for Dch at simulation [message #8618 is a reply to message #8617] |
Sat, 23 May 2009 01:55 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to next message](/theme/gsi/images/down.png) |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *dip.t-dialin.net
|
|
Dear Dch and Dirc expert,
I'm now trying to understand why geometry dch.root cannot be loaded?
I found very strange feature with Dch and Drc class.
If I try to put this two module in one macro, it would be failed.
Because I could not access dch.root, or maybe there is some other reason, I don't know what happen with inside.
But If I turn off Dirc, then I can use dch.root and everything looks fine! I think Dirc and Dch cannot simulataneously use in this case.
Dirc expert show their example code without Dirc everytime,
therefore you don't have any problem with the macros in the /macro/dirc/*.
Alternatively, If I use geometry file dch.geo, then dirc can also add in the task.
When dch.root is produced, probably some geometry is overlapped and the problem is only appeared with dch.root file.
Regards,
Donghee
Quote: |
PndDrc *Drc = new PndDrc("DIRC", kTRUE);
Drc->SetRunCherenkov(kFALSE); // for fast sim Cherenkov -> kFALSE
fRun->AddModule(Drc);
FairDetector *Dch = new PndDchDetector("DCH", kTRUE);
Dch->SetGeometryFileName("dch.root");
//Dch->SetGeometryFileName("dch.geo");
Dch->SetVerboseLevel(1);
fRun->AddModule(Dch);
|
[Updated on: Sat, 23 May 2009 02:48] Report message to a moderator
|
|
|
|
Re: Geometry file for Dch at simulation [message #8620 is a reply to message #8619] |
Sat, 23 May 2009 11:39 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *dip.t-dialin.net
|
|
Dear Stefano,
Thank you for your kind help in every time, even though it is weekend.
If I use dch.geo, I couldn't have any reasonable output.
You are correct. I'm using now dch.root without Dirc part.
Because if I add Dirc, I cannot do continue.
You also mentioned, probably MDT should be something wrong.
I have to check which combination will work!
Now main issue in this time is that how can I run with
MDT, Dirc, Dch and Gem detector
You can find my scripts for MC simulation.
Up to now, I didn't try the GEM, DCH and in addition MDT.
I have successively produced MC study files with Magnet, Cave, TPC, Mvd, EMC, Dirc, Tof based on the lhetracking macro.
But I want to put two stuff, namely GEM and DCH as a tracking of forward spectrometer. The guide macro for this two stuffs are macro/gem and macro/dch.
I have modified many thing to use GEM and DCH modules.
I try to introduce in my macro following things.
In run, I add GEM(4 stataions), DCH and MDT detectors.
And in digi I produce ideal hit or digi.
Finally, in reco I will perform some kind of kalman fit as showed in example macros.
More news will be come...
Thank you again,
Donghee
[Updated on: Sat, 23 May 2009 11:39] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Aug 25 11:26:28 CEST 2024
Total time taken to generate the page: 0.00711 seconds
|