DETECT¶
Summary
Scores energy deposition on an event by event basis (detector), providing coincidence and anti-coincidence capabilities such as those of a trigger.
FEEDER subroutine (case of an incident beam) or to a user-written SOURCE subroutine (case of an extended source, or of a source read from a collision file or sampled from a distribution).DETECT is a distribution of energy deposited per event in the region(s) making up the detector in (anti-)coincidence with a signal larger than a given cutoff or threshold in the trigger region(s).This option can extend over several sequential cards. The meaning of the parameters on the first card are:
WHAT(1) ≤ 0.0 for a detector, > 0.0 for a combination of detectors (NOT YET IMPLEMENTED!).
If WHAT(1) ≤ 0.0:
- \(\bm{|}\)WHAT(1)\(\bm{|}\) =
number of channels if \(>1024\), otherwise number of channels is set to 1024.
- WHAT(2) =
minimum total energy to be scored in the detector regions in one event, i.e. lower limit of the event distribution
Default = 0.0
- WHAT(3) =
maximum total energy to be scored in the detector regions in one event, i.e. upper limit of the event distribution
No default
- WHAT(4) =
cutoff energy for the signal (coincidence/anti-coincidence threshold). The energy deposition event is scored only if a total of more than
WHAT(4)GeV are/aren’t correspondingly deposited in the trigger regionsDefault = 10\(^{-9}\) (= 1 eV)
- WHAT(5) > 0.0:
the detector regions, taken together, must be considered in coincidence with the trigger regions (also taken together)
- ≤ 0.0:
the detector regions must be considered in anti-coincidence with the trigger regions
Default: anti-coincidence
- WHAT(6) :
region number or name not preceded by a minus sign: first region of the detector
region number or name preceded by a minus sign: first region of the trigger(the other regions will be given with continuation cards, see below)No default
- SDUM
= detector name (max. 10 characters) unless the character “
&” is present
Continuation card (if present):
- WHAT(1) =
same as
WHAT(1)for the first card- WHAT(2)
– WHAT(6) = following regions (with sign). If not preceded by a minus sign, they are considered detector regions, otherwise trigger regions
- SDUM
= “
&” in any position in column 71 to 78 (or in the last field if free format is used)- Note:
if no trigger region is given (i.e. no region with negative sign), a simple event by event scoring takes place
If WHAT(1) > 0.0: NOT YET IMPLEMENTED!!!
- WHAT(2) :
first detector to be considered for this combination, in coincidence if
WHAT(2)is not preceded by a minus sign, in anticoincidence otherwise- Default
: ignored
- WHAT(3) :
second detector to be considered for this combination, in coincidence if
WHAT(3)is not preceded by a minus sign, in anti-coincidence otherwise- Default
: ignored
- WHAT(4) :
third detector to be considered for this combination, in coincidence if
WHAT(4)is not preceded by a minus sign, in anti-coincidence otherwise- Default
: ignored
- WHAT(5) :
fourth detector to be considered for this combination, in coincidence if
WHAT(5)is not preceded by a minus sign, in anti-coincidence otherwise- Default
: ignored
- WHAT(6) :
fifth detector to be considered for this combination, in coincidence if
WHAT(6)is not preceded by a minus sign, in anti-coincidence otherwise- Default
: ignored
- SDUM
= combination name (max. 10 characters) unless the character “
&” is present
Continuation card (if present):
- WHAT(1) =
same as
WHAT(1)for the first card- WHAT(2)
– WHAT(6) = following detectors (with sign). If not preceded by a minus sign, they are considered in coincidence, otherwise in anti-coincidence
- SDUM
= “
&” in any position (or in the last field if free format is used)- Default
(option
DETECTnot requested): no (anti-)coincidence scoring
Notes
Output from
DETECTis written unformatted on logical unit 17. A program, Detsuw, is available with the normal FLUKA code distribution in the directory $FLUPRO/flutil. Detsuw allows to combine the results of several runs, and returns the results in both an unformatted and a formatted files.% ......................................... % CHARACTER*80 RUNTIT, RUNTIM*32, CHNAME*10 % INTEGER*4 NCASE, NDET, NBIN, IV(1024) % REAL EMIN, EBIN, ECUT % ......................................... % ......................................... % READ(17) RUNTIT, RUNTIM, WEIPRI, NCASE % READ(17) NDET, CHNAME, NBIN, EMIN, EBIN, ECUT % READ(17) (IV(I), I = 1, NBIN) % ......................................... %
- Important: option
DETECTwill give meaningful results only when FLUKA is used in a completely analogue mode, since correlations are destroyed by biasing. Thus,DETECTcannot be used together with any biasing option or weight-changing facility. It is recommended for this purpose to issue aGLOBALcommand withWHAT(2)< 0.0at the beginning of input (seeGLOBAL, Sec GLOBAL).A list of incompatible options is:BIASING,EMF–BIAS,LOW–BIAS,LAM–BIAS,WW–FACTOr,EMFCUTwithWHAT(3)> 0.0,EMFwithWHAT(6)> 1.0,EXPTRANS,LOW–DOWN.
Example (number-based):
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
DETECT 0.0 1.E-4 1.E-2 5.E-5 1.0 7.0 Coincid_1
DETECT 0.0 -9.0 -12.0 10.0 11.0 &
* The meaning of the above lines is the following:
* a "signal" equal to energy deposition in regions 7 + 10 + 11 will be
* scored if:
* 1) that signal is larger than 1.E-4 GeV and smaller than 0.01 GeV
* 2) at the same time (in coincidence) an energy deposition of at least
* 5.0E-5 GeV occurs in regions 9 + 12
* The output will give a signal (event) spectrum between the energy
* limits 1.0E-4 and 0.010 GeV, distributed over a fixed number of channels
* (1024 in the standard version).
The same example, name-based:
DETECT 0.0 1.E-4 1.E-2 5.E-5 1.0 The7thRg Coincid_1
DETECT 0.0 -The9thRg -Region12 Region10 Region11 &