Message: Event by Event Data Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Event by Event Data 

Forum: Hits, Digitization and Pileup
Date: 20 Feb, 2011
From: Matt Worden <Matt Worden>

What is the best method for acquiring the event by event data?

I am currently keeping track of the total number of photons per run that go through an array of channels.

I used code from the tutorials and examples to get the number of photons to accumulate over all the runs. I am not sure how it accesses the event data so I can retrieve it before its added to the run data.

I would like to access the photon count from my primitive scorer so I can then output the event by event data to a file.

I suspect that photon counts are being recorded into a hits collection, but I do not know how to access those values. I have been looking in EventAction(End of Event) and Run(Record Event) (included files) but have only been able to retrieve addresses for the key of the maps.

Any advice would be greatly appreciated.

Thanks in advance

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/20/11.03-77579-Run_copy.txt
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/20/11.03-35519-EventAction_copy.txt

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

1 None: Re: Event by Event Data   (Tsukasa Aso - 20 Feb, 2011)
1 Question: Re: Event by Event Data   (Matt Worden - 26 Feb, 2011)
2 None: Re: Event by Event Data   (Tsukasa Aso - 27 Feb, 2011)
 Add Message Add Message
to: "Event by Event Data"

 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 ]