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 <mdst/dataobjects/HitPatternCDC.h>
16#include <analysis/dataobjects/ParticleList.h>
17#include <tracking/dataobjects/RecoTrack.h>
18#include <framework/dataobjects/EventT0.h>
19#include <framework/datastore/StoreArray.h>
20#include <string>
21#include <TH1F.h>
22#include <TTree.h>
23
24namespace Belle2 {
29 namespace CDC {
30
35
36 public:
37
42
47
51 void prepare() override;
52
53
59 void collect() override;
60
64 void finish() override;
65
66 private:
72 std::string m_DiMuonListName;
73 std::string m_GammaListName;
74 std::string m_trackArrayName;
76 std::string m_treeName = "tree";
78 Double_t m_minCollinearityTheta = 10;
79 Double_t m_minCollinearityPhi0 = 10;
81 Int_t expRun;
82 Float_t ndfPos;
83 Float_t ndfNeg;
84 Float_t pvalPos;
85 Float_t pvalNeg;
86 Float_t ncdcPos;
87 Float_t ncdcNeg;
88 Float_t npxdPos;
89 Float_t npxdNeg;
90 Float_t nsvdPos;
91 Float_t nsvdNeg;
92 Float_t muidPos;
93 Float_t muidNeg;
94 Float_t eidPos;
95 Float_t eidNeg;
98 Float_t nExtraCDCHits;
99 Float_t eclTrack;
100 Float_t eclNeutral;
102 Float_t d0Pos;
103 Float_t d0Neg;
104 Float_t z0Pos;
105 Float_t z0Neg;
106 Float_t d0ipPos;
107 Float_t d0ipNeg;
108 Float_t z0ipPos;
109 Float_t z0ipNeg;
110 Float_t ptPos;
111 Float_t ptNeg;
112 Float_t pzPos;
113 Float_t pzNeg;
115 Float_t ptPosCm;
116 Float_t ptNegCm;
117 Float_t pzPosCm;
118 Float_t pzNegCm;
120 Float_t thetaPosCm;
121 Float_t thetaNegCm;
122 Float_t phi0PosCm;
123 Float_t phi0NegCm;
125 };
126 }
128}
Collect hit information for cdc calibration with CAF.
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
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.