Belle II Software development
TOPModuleT0LLCollectorModule.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 <mdst/dataobjects/Track.h>
16#include <tracking/dataobjects/ExtHit.h>
17#include <top/dataobjects/TOPDigit.h>
18#include <top/dataobjects/TOPRecBunch.h>
19#include <top/utilities/TrackSelector.h>
20#include <top/reconstruction_cpp/PDFConstructor.h>
21
22#include <framework/database/DBObjPtr.h>
23#include <top/dbobjects/TOPCalModuleT0.h>
24
25#include <string>
26#include <vector>
27
28namespace Belle2 {
42
43 public:
48
49 private:
50
54 virtual void prepare() final;
55
59 virtual void collect() final;
60
61
63 enum {c_numModules = 16,
65 };
66
67 // steering parameters
69 double m_timeRange;
70 double m_sigmaSmear;
71 std::string m_sample;
72 double m_deltaEcms;
73 double m_dr;
74 double m_dz;
75 double m_minZ;
76 double m_maxZ;
77 std::string m_pdfOption;
79 // procedure
82 std::vector<std::string> m_names[c_numSets];
84 // collections
90 // database
93 };
94
96} // end namespace Belle2
Calibration collector module base class.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Collector for module T0 calibration with neg.
StoreObjPtr< TOPRecBunch > m_recBunch
reconstructed bunch
TOP::TrackSelector m_selector
track selection utility
double m_sigmaSmear
additional smearing of PDF in [ns]
int m_numBins
number of bins to which search region is divided
double m_maxZ
maximal local z of extrapolated hit
TOP::PDFConstructor::EPDFOption m_PDFOption
PDF option.
double m_minZ
minimal local z of extrapolated hit
StoreArray< Track > m_tracks
collection of tracks
double m_timeRange
time range in which to search for the minimum [ns]
StoreArray< TOPDigit > m_digits
collection of digits
StoreArray< ExtHit > m_extHits
collection of extrapolated hits
DBObjPtr< TOPCalModuleT0 > m_moduleT0
module T0 calibration constants
std::vector< std::string > m_names[c_numSets]
histogram names of chi2 scans
@ c_numSets
number of statistically independent subsamples
EPDFOption
Signal PDF construction options.
@ c_Rough
no dependence on y
Utility for the track selection - used in various calibration modules.
Definition: TrackSelector.h:27
virtual void collect() final
Replacement for event().
virtual void prepare() final
Replacement for initialize().
Abstract base class for different kinds of events.