Belle II Software  release-08-01-10
ECLEventT0Module.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <framework/core/Module.h>
12 #include <framework/datastore/StoreArray.h>
13 #include <framework/datastore/StoreObjPtr.h>
14 
15 namespace Belle2 {
20  class EventT0;
21  class ECLCalDigit;
22 
36  class ECLEventT0Module : public Module {
37 
38  public:
39 
44 
46  virtual void initialize() override;
47 
49  virtual void event() override;
50 
51 
52  private:
53 
56  double m_ethresh;
57  double m_maxDigitT;
58  double m_sigmaScale;
59  double m_maxT0;
60  double m_T0bin;
62  /* 0 = lowest chi square among local minima
63  * 1 = absolute lowest chi square
64  * 2 = closest to 0 */
65 
66  };
68 }
double m_ethresh
minimum energy for ECLCalDigit to be used (0.06 GeV)
StoreObjPtr< EventT0 > m_eventT0
StoreObj EventT0
virtual void initialize() override
Register input and output data.
double m_sigmaScale
scale factor for time resolution (ie dt99) of ECLCalDigit (0.15)
virtual void event() override
Event.
double m_maxDigitT
maximum absolute value of ECLCalDigit time to be used (150 ns)
double m_maxT0
maximum allowed absolute value of T0, in ns (135 ns)
StoreArray< ECLCalDigit > m_eclCalDigitArray
eclCalDigits
double m_T0bin
step size between T0 hypotheses (1 ns)
int m_primaryT0
select which T0 is primary, ie first one reported.
ECLEventT0Module()
Constructor: Sets the description, the properties and the parameters of the module.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.