Belle II Software development
TOPOffsetCollectorModule.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 <framework/datastore/StoreObjPtr.h>
15#include <top/dataobjects/TOPRecBunch.h>
16#include <framework/dataobjects/EventT0.h>
17#include <framework/database/DBObjPtr.h>
18#include <framework/dbobjects/BunchStructure.h>
19#include <framework/gearbox/Const.h>
20#include <map>
21
22namespace Belle2 {
27
32
33 public:
38
39 private:
40
44 virtual void prepare() final;
45
49 virtual void startRun() final;
50
54 virtual void collect() final;
55
56 // collections
59
60 // database
62
63 // other
64 std::map<Const::EDetector, std::string> m_names;
65
66 };
67
69} // end namespace Belle2
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
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
std::map< Const::EDetector, std::string > m_names
histogram names
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
StoreObjPtr< EventT0 > m_eventT0
event T0
DBObjPtr< BunchStructure > m_bunchStructure
fill pattern
virtual void collect() final
Replacement for event().
virtual void startRun() final
Replacement for beginRun().
virtual void prepare() final
Replacement for initialize().
Abstract base class for different kinds of events.