# What is the meaning of Sensor

**URL:** <https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298>\
**Category:** Garfield++\
**Created:** [June 7, 2022, 8:43am UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298 "2022-06-07T08:43:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [June 7, 2022, 8:43am UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298/1 "2022-06-07T08:43:28Z")

</div>

Hi experts,

I read the doxygen and tutorial of Garfield++, but I just didn’t get understand what is the “Sensor” class and what I need to used it.  
I mean, I setup the gas and geometry and the E field (i.e. use Magbolrz and GeometrySimple and ComponentAnalyticField), and only get drift time/drift distance information. Then what is the Sensor for if I don’t need to get signal information?

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [June 7, 2022, 8:46am UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298/2 "2022-06-07T08:46:16Z")

</div>

@hschindl that’s for you 🙂

---

<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:** [June 7, 2022, 9:44am UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298/3 "2022-06-07T09:44:30Z")

</div>

It’s kind of an interface class. `DriftLineRKF` and other classes for charge transport retrieve the electric field, weighting field, and material properties through a `Sensor` object. One reason for this extra layer is that you might want to use different techniques (= different `Component` objects) for computing the electric field, magnetic field, and weighting field.

---

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [June 8, 2022, 6:10am UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298/4 "2022-06-08T06:10:58Z")

</div>

So, if I set the Sensor area smaller than the Geometry region, only the sensor region will be simulated?

---

<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:** [June 8, 2022, 1:24pm UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298/5 "2022-06-08T13:24:35Z")

</div>

Yes, correct.

---

<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:** [June 22, 2022, 1:25pm UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298/6 "2022-06-22T13:25:07Z")

</div>

Closed on June 22, 2022, 1:25pm UTC

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