GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Creating geometry for a new detector
Creating geometry for a new detector [message #13108] Wed, 29 February 2012 00:36 Go to previous message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *
Hi All

I am trying to build a simpler version of the EIC collider from the rutherford example and i have build all my libraries for my new detector called simpletracker.

I am having problems when i try to create the geometry, i find that only for cave, magnet and the beam pipe, i have the necessary geometry header files.
I have no problems doing these,
FairModule* Cave = new FairCave("CAVE");

FairModule* Pipe = new FairPipe("PIPE");

FairModule* Magnet = new FairMagnet("MAGNET");

But when i try to add another detector or module, for example
FairModule* Dpm = new FairDpm("DPM");

FairDetector* Tpc = new TpcDet("TPC", kTRUE);
// Tpc->SetGeometryFileName("tpc_layered.geo");

I am getting errors which say that

Processing run_simpletracker.C...
* The Pluto event generator
* Developed by HADES and all contributing AUTHORS
* Version: 5.37
* Compiled on 26 January 2012
[INFO ] Media file used : /Users/raghav/fairroot/example/geometry_eic/media.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry_eic/cave.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry_eic/pipe.geo
[INFO ] User path for detector geometry : /Users/raghav/fairroot/example/geometry_eic/magnet.geo
Error: Symbol FairDpm is not defined in current scope run_simpletracker.C:107:
Error: type FairDpm not defined FILE:/Users/raghav/fairroot/example/simpletracker/macros/./run_simpletra cker.C LINE:107
*** Interpreter error recovered ***
root [1]

Is there a way that i can create these required FairDpm.h and FairDpm.cxx etc. files. I checked panda root but i could not find something similar (maybe i missed it). I would also like to know if there is like a list of all the classes available for fairroot somewhere online. (i checked the documentation page in, but it did not have anything about fairmagnet.h which i do have.

Any help would be much appreciated. Thanks a lot
Read Message
Read Message
Previous Topic: Event Display in fairroot
Next Topic: Creating a new Detector out of 2 or more detectors
Goto Forum:

Current Time: Thu Dec 02 10:54:19 CET 2021

Total time taken to generate the page: 0.03043 seconds