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)
Date: 29 Jan, 2003
From: Makoto Asai <Makoto Asai>

Solution depends on the number of event you simulate in a run
and also the complexity of each event. Also, it depends on
how you want to deal with each individual hit at the end of
the run.

If number of event is reasonablly small and size of each event
is also small, just use G4RunManager::SetNumberOfEventToBeStored
method and keep all events until the end of the run.

If size of required memory for storing all events is far beyond
acceptable amount, you have to write hits of each event to a file
and access to the file at the end of the run.

If you just want to accumulate energy deposition in each calorimeter
cell upon all events in a run, just utilize a histogramming

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

1 None: Re: Hits collection   (Jerome Roccaz - 30 Jan, 2003)
(_ 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 ]