Belle II Software prerelease-11-00-00a
SVDClusterAbsoluteTimeShifterCollectorModule.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 <framework/datastore/StoreArray.h>
15#include <framework/dataobjects/EventMetaData.h>
16#include <string>
17#include <vector>
18#include <TString.h>
19#include <TH2F.h>
20
21#include <svd/dataobjects/SVDCluster.h>
22#include <framework/dataobjects/EventT0.h>
23
24namespace Belle2 {
39
40 public:
45
49 void prepare() override final;
50
54 void startRun() override final;
55
59 void collect() override final;
60
61 private:
62
63 std::vector<std::string> m_timeAlgorithms = {"CoG3", "ELS3", "CoG6"};
64 std::string m_svdClustersOnTrackPrefix = "SVDClustersOnTrack";
65 std::map<TString, StoreArray<SVDCluster>> m_svdClustersOnTrack;
66
67 std::string m_eventT0Name = "EventT0";
69 };
70
72} // end namespace Belle2
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
std::string m_svdClustersOnTrackPrefix
Name Prefix of the SVDClustersOnTracks store array.
std::string m_eventT0Name
Name of the EventT0 store object pointer used as parameter of the module.
std::vector< std::string > m_timeAlgorithms
List of time algorithms to calibrate.
std::map< TString, StoreArray< SVDCluster > > m_svdClustersOnTrack
SVDClusters store array.
Type-safe access to single objects in the data store.
Definition StoreObjPtr.h:96
Abstract base class for different kinds of events.