# DETECT card and detsuw

**URL:** <https://fluka-forum.web.cern.ch/t/detect-card-and-detsuw/1911>\
**Category:** Scoring\
**Created:** [8 June 2021 07:55 UTC](https://fluka-forum.web.cern.ch/t/detect-card-and-detsuw/1911 "2021-06-08T07:55:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![duarte.guerreiro](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/d/b4bc9f/32.png) [@duarte.guerreiro](https://fluka-forum.web.cern.ch/u/duarte.guerreiro)\
**Post date:** [8 June 2021 07:55 UTC](https://fluka-forum.web.cern.ch/t/detect-card-and-detsuw/1911/1 "2021-06-08T07:55:24Z")

</div>

Hello,

I am trying to understand the energy spectrum scored by a DAQ when it receives the input from an optical fibre placed near an radioactive source, in this case Cs-137. I am using the DETECT card applied to the optical fibres, I guess this way I am able to get what I am looking for, is this correct?  
[Cs-137.inp](https://fluka-forum.web.cern.ch/uploads/short-url/nsQaRWmVIi3DXMeWBquL90AwlOF.inp) (2.2 KB)

Furthermore, I am not able to plot the \_fort.17 file. I know that detsuw takes care of changing the output of DETECT in such a way as to make it formatted but maybe I am missing a step. What is the procedure here?

Thank you in advance.

Duarte

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [8 June 2021 09:47 UTC](https://fluka-forum.web.cern.ch/t/detect-card-and-detsuw/1911/3 "2021-06-08T09:47:36Z")

</div>

Dear Duarte,

there are a couple issues with your input file setting up an isotope source:

1. You need to specify the `ISOTOPE` particle on the **BEAM** card
2. You need to use semi-analogue simulation on the **RADDECAY** card. ( **DCYTIMES** and **IRRPROFI** cards are not needed)
3. Enable the `COALESCE` on a **PHYSICS** card
4. You may also lower the EM production and transport thresholds to the 1 keV range.

See: [Cs-137.flair](https://fluka-forum.web.cern.ch/uploads/short-url/8qDbiEKIoodKVkMYPIr3iAOlchG.flair) (2.7 KB)

To convert the _fort.17_ file you can use Flair, and process the results as usual, or run `detsuw` from the command line. In this case you need to provide the input and output file names to the program.

In both cases a _tab.lis_ file is created, which can be used for plotting.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![duarte.guerreiro](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/d/b4bc9f/32.png) [@duarte.guerreiro](https://fluka-forum.web.cern.ch/u/duarte.guerreiro)\
**Post date:** [8 June 2021 14:52 UTC](https://fluka-forum.web.cern.ch/t/detect-card-and-detsuw/1911/4 "2021-06-08T14:52:01Z")

</div>

Hello, Dávid,

Your advices work just fine.

Thank you.

Kind Regards,  
Duarte

---

<div class="post-metadata">

**Author:** ![horvathd](https://fluka-forum.web.cern.ch/user_avatar/fluka-forum.web.cern.ch/horvathd/32/10584_2.png) [@horvathd](https://fluka-forum.web.cern.ch/u/horvathd)\
**Post date:** [8 June 2021 15:26 UTC](https://fluka-forum.web.cern.ch/t/detect-card-and-detsuw/1911/5 "2021-06-08T15:26:37Z")

</div>

Closed on 8 June 2021 15:26 UTC


