GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » FairModule::CheckIfSensitive
FairModule::CheckIfSensitive [message #15579] Wed, 16 October 2013 10:12 Go to next message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *dip0.t-ipconnect.de
The method CheckIfSensitive, in my understanding, checks whether a given volume is sensitive such that the method ProcessHits is called. It is relevant only in case of constructing the geometry from a ROOT file.

Should it then not be a method in FairDetector instead of FairModule, since a passive FairModule does not have the ProcessHits method at all?
Re: FairModule::CheckIfSensitive [message #15608 is a reply to message #15579] Tue, 29 October 2013 10:01 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: *gsi.de
HI,

Yes, but the geometry construction is done in the Module which is the base class for detectors also.

I added a new condition now and the method will be called only if you implement a detector class (svn r 22501) this will be available in the next release.

Cheers,

Mohammad
Previous Topic: FairBaseParSet not initialized
Next Topic: Decay particles
Goto Forum:
  


Current Time: Thu Dec 05 18:20:17 CET 2024

Total time taken to generate the page: 0.00667 seconds