Belle II Software
release-05-01-25
TOPCommonT0BFCollectorModule.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/StoreObjPtr.h>
16
#include <top/dataobjects/TOPRecBunch.h>
17
#include <framework/database/DBObjPtr.h>
18
#include <top/dbobjects/TOPCalCommonT0.h>
19
20
namespace
Belle2
{
29
class
TOPCommonT0BFCollectorModule :
public
CalibrationCollectorModule {
30
31
public
:
35
TOPCommonT0BFCollectorModule
();
36
37
private
:
38
42
virtual
void
prepare
() final;
43
47
virtual
void
collect
() final;
48
49
// steering parameters
50
int
m_bunchesPerSSTclk
;
51
int
m_nx
;
53
// collections
54
StoreObjPtr
<
TOPRecBunch
>
m_recBunch
;
56
// database
57
DBObjPtr
<
TOPCalCommonT0
>
m_commonT0
;
59
// other
60
double
m_bunchTimeSep
= 0;
62
};
63
65
}
// end namespace Belle2
Belle2::TOPRecBunch
Class to store results of TOPBunchFinder.
Definition:
TOPRecBunch.h:35
Belle2::TOPCommonT0BFCollectorModule::m_bunchesPerSSTclk
int m_bunchesPerSSTclk
number of bunches per SST clock
Definition:
TOPCommonT0BFCollectorModule.h:58
Belle2::TOPCommonT0BFCollectorModule::prepare
virtual void prepare() final
Replacement for initialize().
Definition:
TOPCommonT0BFCollectorModule.cc:51
Belle2::TOPCommonT0BFCollectorModule::m_commonT0
DBObjPtr< TOPCalCommonT0 > m_commonT0
common T0 calibration constants
Definition:
TOPCommonT0BFCollectorModule.h:65
Belle2::DBObjPtr
Class for accessing objects in the database.
Definition:
DBObjPtr.h:31
Belle2::TOPCommonT0BFCollectorModule::TOPCommonT0BFCollectorModule
TOPCommonT0BFCollectorModule()
Constructor.
Definition:
TOPCommonT0BFCollectorModule.cc:37
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::TOPCommonT0BFCollectorModule::collect
virtual void collect() final
Replacement for event().
Definition:
TOPCommonT0BFCollectorModule.cc:70
Belle2::TOPCommonT0BFCollectorModule::m_nx
int m_nx
number of histogram bins
Definition:
TOPCommonT0BFCollectorModule.h:59
Belle2::TOPCommonT0BFCollectorModule::m_recBunch
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
Definition:
TOPCommonT0BFCollectorModule.h:62
Belle2::TOPCalCommonT0
Common T0 calibration constant.
Definition:
TOPCalCommonT0.h:33
Belle2::TOPCommonT0BFCollectorModule::m_bunchTimeSep
double m_bunchTimeSep
bunch separation in time [ns]
Definition:
TOPCommonT0BFCollectorModule.h:68
top
modules
collectors
include
TOPCommonT0BFCollectorModule.h
Generated on Fri Nov 5 2021 03:59:18 for Belle II Software by
1.8.17