Belle II Software  release-05-02-19
TOPModuleT0DeltaTCollectorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Marko Staric *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <calibration/CalibrationCollectorModule.h>
14 
15 #include <framework/datastore/StoreArray.h>
16 #include <top/dataobjects/TOPTimeZero.h>
17 
18 #include <framework/database/DBObjPtr.h>
19 #include <top/dbobjects/TOPCalModuleT0.h>
20 
21 
22 namespace Belle2 {
38  class TOPModuleT0DeltaTCollectorModule : public CalibrationCollectorModule {
39 
40  public:
45 
46  private:
47 
51  virtual void prepare() final;
52 
56  virtual void collect() final;
57 
58  // steering parameters
59  int m_numBins;
60  double m_timeRange;
62  // collections
65  // database
68  };
69 
71 } // end namespace Belle2
Belle2::TOPModuleT0DeltaTCollectorModule::m_timeRange
double m_timeRange
histogram time range [ns] (symmetric around zero)
Definition: TOPModuleT0DeltaTCollectorModule.h:68
Belle2::TOPModuleT0DeltaTCollectorModule::prepare
virtual void prepare() final
Replacement for initialize().
Definition: TOPModuleT0DeltaTCollectorModule.cc:52
Belle2::TOPTimeZero
Class to store T0 information.
Definition: TOPTimeZero.h:34
Belle2::TOPModuleT0DeltaTCollectorModule::m_moduleT0
DBObjPtr< TOPCalModuleT0 > m_moduleT0
module T0 calibration constants
Definition: TOPModuleT0DeltaTCollectorModule.h:74
Belle2::TOPModuleT0DeltaTCollectorModule::m_timeZeros
StoreArray< TOPTimeZero > m_timeZeros
collection of TOP time zero's
Definition: TOPModuleT0DeltaTCollectorModule.h:71
Belle2::DBObjPtr
Class for accessing objects in the database.
Definition: DBObjPtr.h:31
Belle2::TOPModuleT0DeltaTCollectorModule::m_numBins
int m_numBins
number of histogram bins
Definition: TOPModuleT0DeltaTCollectorModule.h:67
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TOPModuleT0DeltaTCollectorModule::collect
virtual void collect() final
Replacement for event().
Definition: TOPModuleT0DeltaTCollectorModule.cc:80
Belle2::TOPModuleT0DeltaTCollectorModule::TOPModuleT0DeltaTCollectorModule
TOPModuleT0DeltaTCollectorModule()
Constructor.
Definition: TOPModuleT0DeltaTCollectorModule.cc:34
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::TOPCalModuleT0
Module T0 calibration constants for all 16 modules.
Definition: TOPCalModuleT0.h:33