Belle II Software development
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
15namespace Belle2 {
20 class EventT0;
21 class ECLCalDigit;
22
33 class ECLEventT0Module : public Module {
34
35 public:
36
41
43 virtual void initialize() override;
44
46 virtual void event() override;
47
48
49 private:
50
53 double m_ethresh;
54 double m_maxDigitT;
55 double m_sigmaScale;
56 double m_maxT0;
57 double m_T0bin;
59 /* 0 = lowest chi square among local minima
60 * 1 = absolute lowest chi square
61 * 2 = closest to 0 */
62
63 };
65}
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.