Message: two different Sensitive detectors and assign them to the same Logical Volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question two different Sensitive detectors and assign them to the same Logical Volume 

Keywords: Sensitive detectors
Forum: Hits, Digitization and Pileup
Date: 15 May, 2007
From: Victor Golovko <vgolovko@comp.tamu.edu>

Hi,

Is it possible to specify two different Sensitive detectors and assign them to the same Logical Volume? I would like to do something like this:

  //------------------------------------------------
  // Sensitive detectors
  //------------------------------------------------      
  G4SDManager* SDman = G4SDManager::GetSDMpointer();

  G4String scintDetSDname  = "tamu/ScintSD";
  G4String scintDetSDname1 = "tamu/ScintSD1";
  tamuScintSD* aScintSD    = new tamuScintSD ( scintDetSDname  );
  tamuScintSD1* aScintSD1  = new tamuScintSD1( scintDetSDname1 );
  SDman->AddNewDetector( aScintSD  );
  SDman->AddNewDetector( aScintSD1 );
  dE_Detector_log->SetSensitiveDetector( aScintSD  );
  dE_Detector_log->SetSensitiveDetector( aScintSD1 );

Regards, Victor Golovko. May 15, 2007

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: two different Sensitive detectors and assign them to the same Logical Volume   (Makoto Asai - 22 May, 2007)
 Add Message Add Message
to: "two different Sensitive detectors and assign them to the same Logical Volume"

 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 ]