| Message: Parameterised Volume as sensitive detector : doesn't work :-( | Not Logged In (login) |
|
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: | Outline Depth: | Add message: |
|
to: |