# What is the unit of the result of GetSignal()?

**URL:** <https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695>\
**Category:** Garfield++\
**Created:** [June 7, 2025, 3:28pm UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695 "2025-06-07T15:28:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![miniqin](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@miniqin](https://root-forum.cern.ch/u/miniqin)\
**Post date:** [June 7, 2025, 3:28pm UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/1 "2025-06-07T15:28:56Z")

</div>

Is is fC/ns? Or just fC?  
Besides,how can I get the induced current on the electrode?Is it the result of GetSignal() divided by the timebin?  
@hschindl  
I’m looking forward for anyone’s help.Thank you.

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [June 7, 2025, 3:33pm UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/2 "2025-06-07T15:33:06Z")

</div>

Hi,

Adding @hschindl in the loop.

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![miniqin](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@miniqin](https://root-forum.cern.ch/u/miniqin)\
**Post date:** [June 7, 2025, 4:18pm UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/3 "2025-06-07T16:18:45Z")

</div>

Sure,thank you.

---

<div class="post-metadata">

**Author:** ![gabrielribcesario](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/gabrielribcesario/32/38927_2.png) [@gabrielribcesario](https://root-forum.cern.ch/u/gabrielribcesario)\
**Post date:** [June 7, 2025, 5:26pm UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/4 "2025-06-07T17:26:53Z")

</div>

Hello,

> [@miniqin](#):
>
> Is is fC/ns? Or just fC?

It is [fC/ns]. You can check table A.1 of the [User Guide](https://garfieldpp.web.cern.ch/documentation/UserGuide.pdf) for a complete list of the units used by Garfield++.

> [@miniqin](#):
>
> Besides,how can I get the induced current on the electrode?Is it the result of GetSignal() divided by the timebin?

`Sensor::GetSignal(const std::string label, const int bin)` already returns the induced current of the electrode labeled “label” at the i-th time bin in [fC/ns]. Calling `Sensor::IntegrateSignal(const std::string& label)` will replace the induced current of the electrode “label” with the accumulated charge [fC], and `Sensor::IntegrateSignals()` will do the same for all added electrodes.

Also, calling `Sensor::ClearSignal()` after an event resets the signal of all electrodes to zero, while calling `Sensor::NewSignal()` will cause `Sensor::GetSignal()` to return the average of the signal across multiple events.

---

<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, 2025, 6:52pm UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/5 "2025-06-07T18:52:15Z")

</div>

Indeed! It’s fC/ns; unless you call `IntegrateSignal` or `ConvoluteSignal` in which case it becomes fC.

---

<div class="post-metadata">

**Author:** ![miniqin](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@miniqin](https://root-forum.cern.ch/u/miniqin)\
**Post date:** [June 8, 2025, 9:08am UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/6 "2025-06-08T09:08:39Z")

</div>

As you said:" Sensor::GetSignal(const std::string label, const int bin)` already returns the induced current of the electrode labeled “label” at the i-th time bin in [fC/ns]."-----------------So,the unit [fC/ns] is just as the exactly same as μA？Or can I just replace the [fC/ns] with μA?

---

<div class="post-metadata">

**Author:** ![miniqin](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@miniqin](https://root-forum.cern.ch/u/miniqin)\
**Post date:** [June 8, 2025, 9:09am UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/7 "2025-06-08T09:09:12Z")

</div>

Got it, thank you!

---

<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, 2025, 9:09am UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695/8 "2025-06-22T09:09:21Z")

</div>

Closed on June 22, 2025, 9:09am UTC

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