Message: Re: histogram for each layer of detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: histogram for each layer of detector 

Forum: Analysis
Re: Question histogram for each layer of detector (Hanan)
Date: 22 Dec, 2013
From: michel maire <michel maire>

On Sun, 22 Dec 2013 05:14:20 GMT, Hanan wrote:
> Hello,
> I am working on a detector made of 4 layers of LYSO with gaps in
> between. I managed to get root files that plot the energy and tracking
> length but I need to specify each layer by it self and plot a seperate
> histogram for each layer. How can I do that?
> Thank you in advance
 I attach of a FAQ in Geant4 web page.
 Here, also few lines of TestEm3, in SteppingAction:

  //here we are in an absorber. Locate it
  G4int absorNum  = prePoint->GetTouchableHandle()->GetCopyNumber(0);
  G4int layerNum  = prePoint->GetTouchableHandle()->GetCopyNumber(1);
					  G4double(layerNum+1), edep);


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

1 None: Re: histogram for each layer of detector   (Hanan - 22 Dec, 2013)
 Add Message Add Message
to: "Re: histogram for each layer of detector"

 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 ]