Belle II Software  release-08-01-10
TOPCommonT0LLCollectorModule.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/TOPCalCommonT0.h>
24 
25 #include <string>
26 #include <vector>
27 
28 namespace Belle2 {
38 
39  public:
44 
45  private:
46 
50  virtual void prepare() final;
51 
55  virtual void collect() final;
56 
58  enum {c_numModules = 16,
59  c_numSets = 32,
60  };
61 
62  // steering parameters
64  int m_numBins;
65  double m_timeRange;
66  double m_sigmaSmear;
67  std::string m_sample;
68  double m_deltaEcms;
69  double m_dr;
70  double m_dz;
71  double m_minZ;
72  double m_maxZ;
73  std::string m_pdfOption;
75  // procedure
78  std::vector<std::string> m_names;
80  // collections
86  // database
89  // other
90  double m_bunchTimeSep = 0;
92  };
93 
95 } // 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 common 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]
@ c_numSets
number of statistically independent subsamples
DBObjPtr< TOPCalCommonT0 > m_commonT0
common T0 calibration constants
int m_bunchesPerSSTclk
number of bunches per SST clock
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
std::vector< std::string > m_names
histogram names of chi2 scans
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
double m_bunchTimeSep
bunch separation in time [ns]
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.