Message: Re: Hits collection Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Hits collection 

Forum: Hits, Digitization and Pileup
Re: None Hits collection (Jerome Roccaz)
Re: None Re: Hits collection (Makoto Asai)
Date: 30 Jan, 2003
From: Jerome Roccaz <roccaz@csnsm.in2p3.fr>

What I want to do is sending 30000 gammas to a simple Ge in order to calculate its efficiancy. First I've used ExN03EventAction inwhich appear a GetEdepAbs method, that give me the total energy deposited in my detector per event. Then I compare this energy to the one of the photon I've sent, and if they are equal I wanted to increment a variable that counts the number of totally absorbed photon. But the probleme is that this variable is deleted after each event by the EventAction destructor.

That is why I've thought about doing this at the end of the run by accessing all the hits of the run.

Perhaps can you see clearer what i want to do.

Thanks a lot

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

1 None: Re: Hits collection   (T.P.Lee - 28 Aug, 2003)
 Add Message Add Message
to: "Re: Hits collection"

 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 ]