GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Geometry file for Dch at simulation
Re: Geometry file for Dch at simulation [message #8618 is a reply to message #8617] Sat, 23 May 2009 01:55 Go to previous messageGo to previous message
donghee is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with MVD geometries
Next Topic: Drift CHamber in forward spectrometer
Goto Forum:
  


Current Time: Sat Oct 12 20:50:12 CEST 2024

Total time taken to generate the page: 0.00574 seconds