GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Creating a new Detector out of 2 or more detectors
Re: Creating a new Detector out of 2 or more detectors [message #13163 is a reply to message #13153] Thu, 08 March 2012 17:32 Go to previous messageGo to previous message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *physics.sunysb.edu
Hi Mohammad

Looks like now it does not load the geometry files when i say

FairDetector* Dirc = new FairDircDet("DIRC", kFALSE);
Dirc->SetGeometryFileName("dircdet.geo");
run->AddModule(Dirc);

Root does not give me any errors but it also does not build the geometry

[INFO ] Media file used : /Users/raghav/fairroot/example/geometry/media_test.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry/cave.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry/pipe.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry/dpm.geo
loading detectors
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry/dircdet.geo

It found all the necessary files but it only build vacuum from all the lot, which is evident when i look at this.

Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CloseGeometry>: Building cache...
Info in <TGeoManager::CloseGeometry>: 1 nodes/ 1 volume UID's in FAIR geometry


I did find a workaround for this by saying

FairDetector* Dirc = new FairRutherford("DIRC", kFALSE);
Dirc->SetGeometryFileName("rutherford.geo");
run->AddModule(Dirc);

but i changed the rutherford.geo to look like dircdet.geo, and then it build rutherford like dircdet. This would be fine if i only had only detector but i have lots of them and i am really at a loss as to where the error is, because i compared FairRutherford classes with FairDircDet classes and cannot find a difference between.

I am having the same problem with the passive components as well. It only build magnet (but it sees all the rest) and i can only build pipe, if i define target (which was defined in the rutherford experiment) like the pipe. (just like i did for dircdet)

Many many thanks for your help.
Raghav
 
Read Message
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: Creating geometry for a new detector
Next Topic: FairMCPoint
Goto Forum:
  


Current Time: Mon Dec 06 15:49:52 CET 2021

Total time taken to generate the page: 0.02482 seconds