Belle II Software development
TOPCommonT0BFCollectorModule.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/StoreObjPtr.h>
14#include <top/dataobjects/TOPRecBunch.h>
15#include <framework/database/DBObjPtr.h>
16#include <top/dbobjects/TOPCalCommonT0.h>
17
18namespace Belle2 {
28
29 public:
34
35 private:
36
40 virtual void prepare() final;
41
45 virtual void collect() final;
46
47 // steering parameters
49 int m_nx;
51 // collections
54 // database
57 // other
58 double m_bunchTimeSep = 0;
60 };
61
63} // end namespace Belle2
Calibration collector module base class.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Collector for common T0 calibration with a fit of bunch finder residuals (method BF)
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
DBObjPtr< TOPCalCommonT0 > m_commonT0
common T0 calibration constants
int m_bunchesPerSSTclk
number of bunches per SST clock
double m_bunchTimeSep
bunch separation in time [ns]
virtual void collect() final
Replacement for event().
virtual void prepare() final
Replacement for initialize().
Abstract base class for different kinds of events.