Belle II Software  release-05-02-19
ECLEventT0Module.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Christopher Hearty hearty@physics.ubc.ca *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 
17 namespace Belle2 {
22  class EventT0;
23  class ECLCalDigit;
24 
38  class ECLEventT0Module : public Module {
39 
40  public:
41 
46 
48  virtual void initialize() override;
49 
51  virtual void event() override;
52 
53 
54  private:
55 
58  double m_ethresh;
59  double m_maxDigitT;
60  double m_sigmaScale;
61  double m_maxT0;
62  double m_T0bin;
63  int m_primaryT0;
64  /* 0 = lowest chi square among local minima
65  * 1 = absolute lowest chi square
66  * 2 = closest to 0 */
67 
68  };
70 }
Belle2::ECLEventT0Module::event
virtual void event() override
Event.
Definition: ECLEventT0Module.cc:54
Belle2::ECLEventT0Module::m_primaryT0
int m_primaryT0
select which T0 is primary, ie first one reported.
Definition: ECLEventT0Module.h:71
Belle2::ECLEventT0Module::m_sigmaScale
double m_sigmaScale
scale factor for time resolution (ie dt99) of ECLCalDigit (0.15)
Definition: ECLEventT0Module.h:68
Belle2::ECLEventT0Module::m_maxT0
double m_maxT0
maximum allowed absolute value of T0, in ns (135 ns)
Definition: ECLEventT0Module.h:69
Belle2::ECLEventT0Module::m_eclCalDigitArray
StoreArray< ECLCalDigit > m_eclCalDigitArray
eclCalDigits
Definition: ECLEventT0Module.h:64
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::ECLEventT0Module::m_eventT0
StoreObjPtr< EventT0 > m_eventT0
StoreObj EventT0
Definition: ECLEventT0Module.h:65
Belle2::ECLEventT0Module::m_ethresh
double m_ethresh
minimum energy for ECLCalDigit to be used (0.06 GeV)
Definition: ECLEventT0Module.h:66
Belle2::ECLEventT0Module::m_T0bin
double m_T0bin
step size between T0 hypotheses (1 ns)
Definition: ECLEventT0Module.h:70
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::ECLEventT0Module::m_maxDigitT
double m_maxDigitT
maximum absolute value of ECLCalDigit time to be used (150 ns)
Definition: ECLEventT0Module.h:67
Belle2::ECLEventT0Module::initialize
virtual void initialize() override
Register input and output data.
Definition: ECLEventT0Module.cc:47
Belle2::ECLEventT0Module::ECLEventT0Module
ECLEventT0Module()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: ECLEventT0Module.cc:34