Belle II Software  release-08-01-10
CDCT0CalibrationCollector.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 <mdst/dataobjects/Track.h>
14 #include <mdst/dataobjects/TrackFitResult.h>
15 
16 #include <tracking/dataobjects/RecoTrack.h>
17 
18 #include <framework/dataobjects/EventT0.h>
19 #include <framework/datastore/StoreArray.h>
20 
21 #include <string>
22 
23 namespace Belle2 {
28  namespace CDC {
29 
34 
35  public:
36 
41 
46 
50  void prepare() override;
51 
52 
57  void collect() override;
58 
62  void finish() override;
63 
64  private:
65 
71  std::string m_trackArrayName;
72  std::string m_cdcHitArrayName ;
73  std::string m_recoTrackArrayName ;
76  double m_MinimumPt = 0;
77  double m_PvalCut = 0;
78  double m_ndfCut = 15;
79  double m_xmin = 0.1;
80  bool m_BField;
82  double halfCSize[56];
83  };
84  }
86 }
Collect hit information for cdc calibration with CAF.
bool m_BField
fit in case no magnetic field or not, if false, NDF=4 in cal P-value
StoreObjPtr< EventT0 > m_eventTimeStoreObject
Event t0 object.
std::string m_recoTrackArrayName
Belle2::RecoTrack StoreArray nam.e.
double m_MinimumPt
minimum pt required for track
double m_PvalCut
minimum pt required for track
StoreArray< TrackFitResult > m_TrackFitResults
Track fit results.
std::string m_cdcHitArrayName
Belle2::CDCHit StoreArray name.
std::string m_relRecoTrackTrackName
Relation between RecoTrack and Belle2:Track.
void collect() override
Event action, collect information for calibration.
std::string m_trackArrayName
Belle2::Track StoreArray name.
void prepare() override
Initializes the Module.
std::string m_trackFitResultArrayName
Belle2::TrackFitResult StoreArray name.
double m_ndfCut
minimum pt required for track
bool m_EventT0Extraction
use Event T0 extraction or not.
Calibration collector module base class.
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
Abstract base class for different kinds of events.