GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Questions on HIts in detector and MCPoint
Questions on HIts in detector and MCPoint [message #13696] Tue, 03 July 2012 17:04 Go to next message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *
Hi All

I am having a few troubles with understanding some conceptual idea on registering hits in a detector.
I have built an example just for these questions that i want to ask.

Here i have 2 detectors, one on the left and one on the right.
Both of them have plates made of kapton sandwiching the lead glass crystals on the inside. they are all made sensitive.

On the left side, i have divided the whole detector into 4 sectors, just like 4 quadrants.
On the right side, they are not divided. they are whole blocks.


I am doing this exercise to see if i can get some sort of reconstruction from the detector on the left side so that i get readouts from the 4 blue crystals and compare it to what i get from just one red readout on the right.

So i simulated 4 electrons of the same momentum (1GeV) hitting the plates head on from the inside, in the middle of each quadrant and seeing what happens.


This one shows the hits point that my detectors measures:


The one problem that i am having is that this does not seem to register photons as hits. Do i have to specify somewhere in my definition of FairEmcaPoint (the right detector), to take photons as well.

We can see clearly what i am talking about here. I can see where they are created but they do not make a hit in the red surface.


I need to count the energy of the photons as well since i want to see what happened to the electron as it progresses through the detector at the reco level.

Can anyone suggest as to how i do a simple detector smearing so that i get a reco data and do something like a center of gravity curve to where the electron hit the detector in the first place.

Re: Questions on HIts in detector and MCPoint [message #13714 is a reply to message #13696] Thu, 05 July 2012 18:47 Go to previous message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *
Dear Raghav,

which MCPoints are produced during transport is defined in the ProcessHits method of your detector class. If you did a copy and paste thing from some other detector class, it is probable that there is a condition not to register neutral particles, since most detectors are not sensitive to them.

Best regards,

Previous Topic: Geant4 not working with mc generation
Next Topic: Geometry input in ROOT (TGeo) format
Goto Forum:

Current Time: Sat Apr 20 02:56:59 CEST 2024

Total time taken to generate the page: 0.00854 seconds