Message: Re: Sensitive Detector Problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Sensitive Detector Problem 

Forum: Hits, Digitization and Pileup
Re: Question Sensitive Detector Problem (Antonio Magalhaes)
Date: 29 May, 2009
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>


It seems that what is wrong is at least a lack of an appropriate declaration of  Casca  whose declaration you did not show. You showed us the definition
  Casca = new RxCalorimeterSD(SDname="rx2/RxCalorimeterSD", this);
without the declaration which should precede it like
  RxCalorimeterSD* Casca;

If that single change is not enough, then ensure that the class  RxCalorimeterSD  inherits from  G4VSensitiveDetector  which it must.

With kind regards,
Colin Paul Gloster

 Add Message Add Message
to: "Re: Sensitive Detector Problem"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]