Message: Parameterised Volume as sensitive detector : doesn't work :-( Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Parameterised Volume as sensitive detector : doesn't work :-( 

Keywords: sensitive detector, parameterised volume
Forum: Hits, Digitization and Pileup
Date: 06 Nov, 2007
From: roccaz <jerome.roccaz@cea.fr>

Well, another problem with my parameterised germanium cristal. I set it as sensitive detector : nothing wrong while compiling, geometry looks good while visualising it ... but no hits in the ouput file.

When I set another part of my detector (the endcap for ex.) I have hits. I've checked that the logical volume associated to the parameterised volume has the right dimensions (parameterised volume contained within the logical volume) so I don't understand where I did it wrong. Here is a part of the script, if it helps :

  // Cristal germanium

  G4double Rmin=0.*mm;
  G4double Rmax=30.5*mm;
  G4double Dz=26.5*mm;
  phiStart=0.*deg;
  phiTotal=360.*deg;

  G4VSolid* cristalGe=new G4Tubs("cristalGe",Rmin,Rmax,Dz,phiStart,phiTotal);
  logicCristal=new G4LogicalVolume(cristalGe, Ge, "logicCristal", 0, 0, 0);
  G4VPVParameterisation* Param_Cristal=new BottomParameterisation(802,13.5*mm,0.01*mm);
  physiCristal=new G4PVParameterised("Cristal",logicCristal,logicSupAlu,kZAxis,802,Param_Cristal); 

  G4VisAttributes* CristalVisAtt=new G4VisAttributes(G4Colour::Yellow());
  logicCristal->SetVisAttributes(CristalVisAtt);

  //Sensitive Detector

  G4SDManager* SDman=G4SDManager::GetSDMpointer();

  G4String simpleSDname="GeSD";
  aGeSD=new SimpleSD(simpleSDname);
  SDman->AddNewDetector(aGeSD);
  logicCristal->SetSensitiveDetector(aGeSD);

  return physiWorld;

thanks,

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

1 None: RE: Parameterised Volume as sensitive detector : doesn't work :-(   (Makoto Asai - 06 Nov, 2007)
1 None: RE: Parameterised Volume as sensitive detector : doesn't work :-(   (Jerome.ROCCAZ@CEA.FR - 07 Nov, 2007)
2 None: RE: Parameterised Volume as sensitive detector : doesn't work :-(   (Jerome.ROCCAZ@CEA.FR - 07 Nov, 2007)
3 None: RE: Parameterised Volume as sensitive detector : doesn't work :-(   (Jerome.ROCCAZ@CEA.FR - 07 Nov, 2007)
1 None: RE: Parameterised Volume as sensitive detector : doesn't work :-(   (Makoto Asai - 08 Nov, 2007)
...
 Add Message Add Message
to: "Parameterised Volume as sensitive detector : doesn't work :-("

 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 ]