Belle II Software development
CDCFudgeFactorCalibrationCollector.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#include <analysis/dataobjects/ParticleList.h>
16#include <framework/dataobjects/EventT0.h>
17#include <framework/datastore/StoreArray.h>
18#include <string>
19
20namespace Belle2 {
25 namespace CDC {
26
31
32 public:
33
38
43
47 void prepare() override;
48
49
54
55 void collect() override;
56
60 void finish() override;
61
62 private:
67
68 std::string m_DiMuonListName;
69 std::string m_GammaListName;
70 std::string m_trackArrayName;
72 std::string m_treeName = "tree";
73
74 Double_t m_minCollinearityTheta = 10;
75 Double_t m_minCollinearityPhi0 = 10;
77 Int_t expRun;
78 Float_t ndfPos;
79 Float_t ndfNeg;
80 Float_t pvalPos;
81 Float_t pvalNeg;
82 Float_t ncdcPos;
83 Float_t ncdcNeg;
84 Float_t npxdPos;
85 Float_t npxdNeg;
86 Float_t nsvdPos;
87 Float_t nsvdNeg;
88 Float_t muidPos;
89 Float_t muidNeg;
90 Float_t eidPos;
91 Float_t eidNeg;
92
93
94 Float_t nExtraCDCHits;
95 Float_t eclTrack;
96 Float_t eclNeutral;
97
98 Float_t d0Pos;
99 Float_t d0Neg;
100 Float_t z0Pos;
101 Float_t z0Neg;
102 Float_t d0ipPos;
103 Float_t d0ipNeg;
104 Float_t z0ipPos;
105 Float_t z0ipNeg;
106 Float_t ptPos;
107 Float_t ptNeg;
108 Float_t pzPos;
109 Float_t pzNeg;
110
111 Float_t ptPosCm;
112 Float_t ptNegCm;
113 Float_t pzPosCm;
114 Float_t pzNegCm;
115
116 Float_t thetaPosCm;
117 Float_t thetaNegCm;
118 Float_t phi0PosCm;
119 Float_t phi0NegCm;
120
121 };
122 }
124}
Double_t m_minCollinearityTheta
Minimum requirement for accolinear theta in c.m frame.
Double_t m_minCollinearityPhi0
Minimum requirement for accolinear phi0 in c.m frame.
Float_t pzPos
Longitudinal momentum of the positive track.
Int_t expRun
Exp and run numbers, encoded by exp*10^6+run.
StoreArray< TrackFitResult > m_TrackFitResults
Track fit results.
Float_t nExtraCDCHits
Number of CDC hits not assigned to any tracks.
Float_t ptNeg
Transeverse momentum of the negative track.
Float_t thetaNegCm
theta of the negative track in c.m frame.
std::string m_DiMuonListName
List name for the reconstruted dimuon.
void collect() override
Event action, collect information for calibration.
Float_t ptPos
Transeverse momentum of the positive track.
bool m_StoreNtuple
Option to store ntuple, =true: tree with these variables will be stored.
StoreObjPtr< ParticleList > m_DiMuonList
List of the reconstructed dimion.
Float_t thetaPosCm
theta of the positive track in c.m frame.
Float_t pzPosCm
Longitudinal momentum of the positive track in c.m frame.
std::string m_trackFitResultArrayName
Belle2::TrackFitResult StoreArray name.
Float_t ptPosCm
Transeverse momentum of the positive track in c.m frame.
Float_t ptNegCm
Transeverse momentum of the negative track in c.m frame.
Float_t pzNegCm
Longitudinal momentum of the negative track in c.m frame.
std::string m_GammaListName
List name for the reconstruted dimuon.
Float_t pzNeg
Longitudinal momentum of the negative track.
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
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.