GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Creating geometry for a new detector
Re: Creating geometry for a new detector [message #13111 is a reply to message #13108] Wed, 29 February 2012 19:03 Go to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hi,

Please see:
http://fairroot.gsi.de/?q=node/47

You have to implement your detector class yourself. you have to inherits from FairDetector for active detectors (detectors that have to process hits) and it is enough to inherits from FairModule for non-active detectors/modules, so you have to create anew directory (http://fairroot.gsi.de/?q=node/29) and then inside this directory you need to put your detector/ module classes, i.e:

FairDpm (.h, .cxx)
FairDpmPoint (.h, .cxx)

Methods which you have (can) implement are documented in the links above.

For Magnet, Target, Cave you can the panda implementation but you have to deliver your own geometry.

hope this will help.

Mohammad
 
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: Tue Apr 16 15:12:18 CEST 2024

Total time taken to generate the page: 0.01243 seconds