Message: Detector Efficiency Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Detector Efficiency 

Keywords: Detector Efficiency
Forum: Hits, Digitization and Pileup
Date: 11 Nov, 2004
From: jamil <jamil>

Dear All G4 Users,
I have code For Gamma simulation passing through my detectors (sensitive detector two gas gaps), I have passes 20 events through them, and got some 
just transportation of gammas and some particle interaction signals;
 as gamma pass through the RPC with 3GeV energy;
the results are as under:
Event: 0
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 1
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 2
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 3
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 4
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 5
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 6
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 7
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 8
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 9
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 10
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 11
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 12
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 13
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 14
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: e+ process: eIoni trackID: 3 energy deposit: 0.162143 keV
   hit in gas gap 2:  particle: e+ process: Transportation trackID: 3 energy deposit: 1.5138 keV
   hit in gas gap 2:  particle: e- process: eIoni trackID: 4 energy deposit: 10.1425 keV
   hit in gas gap 2:  particle: e- process: Transportation trackID: 2 energy deposit: 2.48988 keV
   hit in gas gap 2:  particle: e- process: Transportation trackID: 8 energy deposit: 1.42578 keV
Event: 15
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 16
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: e+ process: Transportation trackID: 3 energy deposit: 1.26141 keV
   hit in gas gap 1:  particle: e- process: Transportation trackID: 2 energy deposit: 3.19299 keV
   hit in gas gap 2:  particle: e+ process: Transportation trackID: 3 energy deposit: 3.88676 keV
   hit in gas gap 2:  particle: e- process: eIoni trackID: 5 energy deposit: 0.0940122 keV
   hit in gas gap 2:  particle: e- process: Transportation trackID: 5 energy deposit: 3.08192 keV
   hit in gas gap 2:  particle: e- process: eIoni trackID: 7 energy deposit: 1.52549 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 4 energy deposit: 0 keV
   hit in gas gap 2:  particle: e- process: Transportation trackID: 2 energy deposit: 2.2417 keV
Event: 17
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 18
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
Event: 19
   primary gamma position (0/0/-200)
   primary gamma momentum direction (0/0/1)
   primary gamma energy 3 GeV
   hit in gas gap 1:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV
   hit in gas gap 2:  particle: gamma process: Transportation trackID: 1 energy deposit: 0 keV

As I want to pass 10000 gammas and find the detector efficiency as; sen= Ni/No

 Where Ni= Number of charged particles reaching any of the GAS Gap I or IIin my RPC( detector) No is the number of orignal primary particles impinging on the RPC detector.

 1) where and in which Class I can define this efficiency formula? and How to define it?

Any suggestion , comments are welcomed.

Jamil

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

 Add Message Add Message
to: "Detector Efficiency"

 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 ]