|Message: RE: Parameterised Volume as sensitive detector : doesn't work :-(||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I did it and ... nothing is written as output when I "declare" the cristal as sensitive detector. What can be wrong in my code? :-( -----Message d'origine----- De : email@example.com [mailto:firstname.lastname@example.org] Envoyé : mardi 6 novembre 2007 17:07 À : PublicHyperNews@slac.stanford.edu Objet : RE: Parameterised Volume as sensitive detector : doesn't work :-( *** Discussion title: Hits, Digitization and Pileup Email replies to PublicHyperNews@slac.stanford.edu must include: In-Reply-To: <274E6BE39062274CAF5C7153C839FD04024D35C6@exch-mail1.win.slac.stanford.edu> Subject: ...change this to be about your reply. Hi, Could you add a simple G4cout in the first line of ProcessHit() method of your "SimpleSD" to confirm your sensitive detector is actually invoked? Makoto > -----Original Message----- > From: roccaz [mailto:email@example.com] > Sent: Tuesday, November 06, 2007 7:02 AM > To: publichypernews > Subject: Parameterised Volume as sensitive detector : doesn't work :-( > > *** Discussion title: Hits, Digitization and Pileup > Email replies to PublicHyperNews@slac.stanford.edu must include: > In-Reply-To: <"/hitsdigits/182"@geant4-hn.slac.stanford.edu> > Subject: ...change this to be about your reply. > > 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,80 > 2,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:|