kn">from</span> <span class="nn">lf2i.simulator._base</span> <span class="kn">import</span> <span class="n">Simulator</span>


<div class="viewcode-block" id="OnOff">
<a class="viewcode-back" href="../../../lf2i.simulator.html#lf2i.simulator.hep.OnOff">[docs]</a>
<span class="k">class</span> <span class="nc">OnOff</span><span class="p">(</span><span class="n">Simulator</span><span class="p">):</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Poisson counting 