Belle II Software  release-08-01-10
TOPModuleT0DeltaTCollectorModule.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 <calibration/CalibrationCollectorModule.h>
12 
13 #include <framework/datastore/StoreArray.h>
14 #include <top/dataobjects/TOPTimeZero.h>
15 
16 #include <framework/database/DBObjPtr.h>
17 #include <top/dbobjects/TOPCalModuleT0.h>
18 
19 
20 namespace Belle2 {
37 
38  public:
43 
44  private:
45 
49  virtual void prepare() final;
50 
54  virtual void collect() final;
55 
56  // steering parameters
57  int m_numBins;
58  double m_timeRange;
60  // collections
63  // database
66  };
67 
69 } // end namespace Belle2
Calibration collector module base class.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Collector for module T0 calibration with chi2 minimization of time differences between slots (method ...
double m_timeRange
histogram time range [ns] (symmetric around zero)
DBObjPtr< TOPCalModuleT0 > m_moduleT0
module T0 calibration constants
StoreArray< TOPTimeZero > m_timeZeros
collection of TOP time zero's
virtual void collect() final
Replacement for event().
virtual void prepare() final
Replacement for initialize().
Abstract base class for different kinds of events.