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 exp_run;
82 Float_t ndf_pos;
83 Float_t ndf_neg;
84 Float_t Pval_pos;
85 Float_t Pval_neg;
86 Float_t nCDC_pos;
87 Float_t nCDC_neg;
89 Float_t D0_pos;
90 Float_t D0_neg;
91 Float_t Z0_pos;
92 Float_t Z0_neg;
93 Float_t D0ip_pos;
94 Float_t D0ip_neg;
95 Float_t Z0ip_pos;
96 Float_t Z0ip_neg;
97 Float_t Pt_pos;
98 Float_t Pt_neg;
100 Float_t Pt_pos_cm;
101 Float_t Pt_neg_cm;
102 Float_t Theta_pos_cm;
103 Float_t Theta_neg_cm;
104 Float_t Phi0_pos_cm;
105 Float_t Phi0_neg_cm;
107 };
108 }
110}
Collect hit information for cdc calibration with CAF.
Float_t Phi0_neg_cm
phi0 of the negative track in c.m frame.
Double_t m_minCollinearityTheta
Minimum requirement for accolinear theta in c.m frame.
Float_t nCDC_pos
Number of CDC hit of the positive track.
Double_t m_minCollinearityPhi0
Minimum requirement for accolinear phi0 in c.m frame.
Int_t exp_run
Exp and run numbers, encoded by exp*10^6+run.
Float_t Pt_pos_cm
Transeverse momentum of the positive track in c.m frame.
StoreArray< TrackFitResult > m_TrackFitResults
Track fit results.
Float_t Phi0_pos_cm
phi0 of the positive 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 Theta_neg_cm
theta of the negative track in c.m frame.
bool m_StoreNtuple
Option to store ntuple, =true: tree with these variables will be stored.
Float_t Pt_neg_cm
Transeverse momentum of the negative track in c.m frame.
StoreObjPtr< ParticleList > m_DiMuonList
List of the reconstructed dimion.
Float_t Pt_pos
Transeverse momentum of the positive track
Float_t nCDC_neg
Number of CDC hit of the negative track.
std::string m_trackFitResultArrayName
Belle2::TrackFitResult StoreArray name.
Float_t Theta_pos_cm
theta of the positive track in c.m frame.
Float_t Pt_neg
Transeverse momentum of the negative track
std::string m_GammaListName
List name for the reconstruted dimuon.
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.