# About the flag number 1 in DriftLineRKF

**URL:** <https://root-forum.cern.ch/t/about-the-flag-number-1-in-driftlinerkf/49203>\
**Category:** Garfield++\
**Created:** [March 16, 2022, 4:59am UTC](https://root-forum.cern.ch/t/about-the-flag-number-1-in-driftlinerkf/49203 "2022-03-16T04:59:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iwntiu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/f1d935/32.png) [@iwntiu](https://root-forum.cern.ch/u/iwntiu)\
**Post date:** [March 16, 2022, 4:59am UTC](https://root-forum.cern.ch/t/about-the-flag-number-1-in-driftlinerkf/49203/1 "2022-03-16T04:59:01Z")

</div>

Hello,

I have tried to simulate MWDC with the class DirftLineRKF and AvalancheMC.  
I used DriftLineRKF::GetEndPoint(x,y,z,t,status) and I got the status(flag) number 1.  
I couldn’t find this value at the UserGuide Table 6.2(for status codes for the termination of drift lines) and status codes for drift line at GarfieldConstants.hh.  
What does this value mean?

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [March 16, 2022, 5:46am UTC](https://root-forum.cern.ch/t/about-the-flag-number-1-in-driftlinerkf/49203/2 "2022-03-16T05:46:25Z")

</div>

Hi,  
it’s the index of the wire (starting with 1) at which the drift line ended.

---

<div class="post-metadata">

**Author:** ![iwntiu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/i/f1d935/32.png) [@iwntiu](https://root-forum.cern.ch/u/iwntiu)\
**Post date:** [March 16, 2022, 6:01am UTC](https://root-forum.cern.ch/t/about-the-flag-number-1-in-driftlinerkf/49203/3 "2022-03-16T06:01:01Z")

</div>

I understand. Thanks for replying!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 30, 2022, 6:01am UTC](https://root-forum.cern.ch/t/about-the-flag-number-1-in-driftlinerkf/49203/4 "2022-03-30T06:01:12Z")

</div>

Closed on March 30, 2022, 6:01am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
