Belle II Software  release-05-01-25
B2BIIFixMdstModule.h
1 //
2 // $Id: B2BIIFixMdst.h 11331 2011-07-25 11:58:12Z hitoshi $
3 //
4 // $Log$
5 // Revision 1.16 2005/03/10 14:16:14 hitoshi
6 // check table sizes
7 //
8 // Revision 1.15 2004/04/25 16:33:47 hitoshi
9 // modified to be able to handle output from low p finder (by kakuno). modified
10 // Benergy to fetch data from DB (by Shibata).
11 //
12 // Revision 1.14 2003/06/24 07:55:15 katayama
13 // Remived unused parameters
14 //
15 // Revision 1.13 2003/06/12 13:25:24 hitoshi
16 // scale_error implemented last year (by Higuchi; valid up to exp19) is incorporated
17 //
18 // Revision 1.12 2003/03/19 05:02:32 hitoshi
19 // minor change (by Miyabayashi).
20 //
21 // Revision 1.11 2002/09/06 03:47:21 hitoshi
22 // Endcap_MX_layer=11 is now the default (by muon group).
23 //
24 // Revision 1.9 2002/04/26 01:25:07 katayama
25 // New correction from Perers san
26 //
27 // Revision 1.8 2002/04/24 00:58:36 hitoshi
28 // new scale factors for e15 mdst reprocessed with 20020405.
29 //
30 // Revision 1.7 2002/04/19 07:24:38 katayama
31 // Added pi0/vertex, calibdedx
32 //
33 // Revision 1.6 2002/04/05 01:19:32 katayama
34 // templates for ecl_primary_vertex
35 //
36 // Revision 1.5 2002/03/31 06:54:39 katayama
37 // fix_pi0
38 //
39 // Revision 1.4 2002/03/30 01:06:05 katayama
40 // HadronB & L4passed events only
41 //
42 // Revision 1.3 2002/03/19 04:25:47 katayama
43 // Add parameters for scale_momenta, set nominal b energy
44 //
45 // Revision 1.2 2002/03/13 02:55:19 katayama
46 // First version
47 //
48 //
49 #ifndef __FIX_MDST_H__
50 #define __FIX_MDST_H__
51 
52 #define HEP_SHORT_NAMES
53 
54 #include <framework/core/Module.h>
55 #include <framework/logging/Logger.h>
56 
57 #include "belle_legacy/belle.h"
58 #include "belle_legacy/tables/run_info.h"
59 
60 #include <string>
61 
62 #include "CLHEP/Matrix/SymMatrix.h"
63 #include "CLHEP/Geometry/Point3D.h"
64 
66 
67 namespace Belle {
68 
69  class Mdst_vee2;
70 
71 }
72 
73 namespace Belle2 {
79  class MuidProb;
80 
89 
90  static const int m_muid_version = 100;
92  public:
97 
101  virtual void initialize() override;
102 
106  virtual void beginRun() override;
107 
111  virtual void event() override;
112 
116  virtual void terminate() override;
117 
121  static double get_Benergy()
122  {
123  return s_benergy_value;
124  };
125 
129  static double get_pi0resol(double p, double theta, const char* side,
130  bool mcdata, int exp, int option)
131  {
132  return pi0resol(p, theta, side, mcdata, exp, option);
133  };
134 
135  public: // BASF Parameters
136 
137  int m_scale_momenta;
155  int m_benergy;
158  static double s_benergy_value;
170  int m_5Srun;
174  int m_eklm_max_layer;
185  int m_expno;
187 
188  protected:
189 
190  private:
191 
192  int m_old_expno = 0;
193  int m_mapped_expno = 0;
195  MuidProb* m_muonprob{nullptr};
196  MuidProb* m_pionprob{nullptr};
197  MuidProb* m_kaonprob{nullptr};
199  bool good_event();
201  int get_reprocess_version();
203  void scale_momenta(float scale_data = 1.0, float scale_mc = 1.0, int mode = 0);
205  void scale_momenta_set(const int, const int, const int,
206  double&);
207  void scale_momenta_set_v1(const int, const int, const int, double&);
208  void scale_momenta_set_v2(const int, const int, const int, double&);
210  double vee_mass_nofit(const Belle::Mdst_vee2& vee2, float scale = 1.0);
212  // Author: J.Tanaka (+T.Higuchi/2002,2003)
213  void scale_error(const int message_level = 0);
214  // void scale_error(void);
215 
216  void smear_trk();
218  // Author: H.Kakuno
219  int add_extra_trk_vee2();
220  int remove_extra_trk_vee2();
222  // Author: Miyabayashi
227  void make_pi0(int, double, double);
228  void correct_ecl(int, int);
230  int set_primary_vertex(HepPoint3D& v, CLHEP::HepSymMatrix& ve);
232  void make_pi0_primary_vertex(int, double, double, const HepPoint3D&,
233  const CLHEP::HepSymMatrix&);
235  const CLHEP::HepSymMatrix&);
237  static double pi0resol(double, double, const char*, bool, int, int);
238 
239  // Author: T. Matsumoto
240  // based on dcpvrare_ml:0127, interface is modified by M. Nakao
241  //
243  double Benergy(int expnum = 0, int runnum = 0);
244 
245  // Author: Kakuno
247  void fix_pi0_brecon(void);
248  // Author: Mike Peters
250  void shift_tof(const int mode);
252  void shift_tof_set(const int expno, const int runno,
253  const int mode, const int im,
254  const double pmom, const double sgn,
255  double& shift);
256  // Author: Leo Piilonen
257  void Muid_init(void);
258  void Muid_term(void);
259  void Muid_event(void);
260  void Muid_begin_run(const int, const int, const int);
261  void Muid_end_run(void);
263  };
264 
266  class MuidProb {
267 
268  public:
269 
272  MuidProb(const char*, int&);
275  ~MuidProb() {};
277  double prob(int, int, int, int, double) const;
279  double probRange(int, int, int, int) const;
281  double probRchisq(int, int, int, double) const;
283  double probECL(double, double) const;
285  void readDB(const char*, int&);
287 
288  private:
289 
290  // Array sizes as stored in input file
291 
292  static const int kRange = 16;
293  static const int kRchisq = 50;
294  static const int kEEcl = 100;
295  static const int kPTrk = 50;
297  // Overflow value of reduced chi-squared, ECL energy, CDC momentum
298 
299  static const double kRchisqMax;
300  static const double kEEclMax;
301  static const double kPTrkMax;
303  // Probability density arrays for range, reduced chi**2, and ECL energy
304  // (last one sliced by tracdk momentum in 100 MeV/c bins).
305  // One extra bin in chi-squared and ECL-energy distributions for overflows.
306  // For reduced chi-squared and ECL-energy, three extra arrays are stored for
307  // spline interpolation to eliminate binning artifacts.
308 
309  double fRange[2][4][15][kRange];
310  double fRchisq[2][4][kRchisq + 1];
311  double fRchisqN[2][4][15];
312  double fRchisqD1[2][4][kRchisq + 1] = {0.0};
313  double fRchisqD2[2][4][kRchisq + 1] = {0.0};
314  double fRchisqD3[2][4][kRchisq + 1] = {0.0};
315  double fEEcl[kPTrk][kEEcl + 1];
316  double fEEclD1[kPTrk][kEEcl + 1] = {0.0};
317  double fEEclD2[kPTrk][kEEcl + 1] = {0.0};
318  double fEEclD3[kPTrk][kEEcl + 1] = {0.0};
320  // private member functions
324  void spline(int, double, double*, double*, double*, double*);
325 
326  };
327 
329 } // namespace Belle
330 #endif /* __FIX_MDST_H__ */
331 
Belle2::MuidProb::fEEclD1
double fEEclD1[kPTrk][kEEcl+1]
First derivatives of ECL energy pdf.
Definition: B2BIIFixMdstModule.h:316
Belle2::B2BIIFixMdstModule::m_limit_mdst_klm_cluster_hit
int m_limit_mdst_klm_cluster_hit
Limit of mdst_klm_cluster_hit table size.
Definition: B2BIIFixMdstModule.h:167
Belle2::B2BIIFixMdstModule::m_mapped_expno
int m_mapped_expno
Mapped value of m_old_exp_no.
Definition: B2BIIFixMdstModule.h:193
Belle2::MuidProb::kRchisq
static const int kRchisq
Array size of reduced chi-squared.
Definition: B2BIIFixMdstModule.h:293
Belle2::B2BIIFixMdstModule::m_correct_ecl_option
int m_correct_ecl_option
Apply correct_ecl_option.
Definition: B2BIIFixMdstModule.h:146
Belle2::B2BIIFixMdstModule::get_pi0resol
static double get_pi0resol(double p, double theta, const char *side, bool mcdata, int exp, int option)
Get pi0 resolution.
Definition: B2BIIFixMdstModule.h:129
Belle2::B2BIIFixMdstModule::add_extra_trk_vee2
int add_extra_trk_vee2()
Add Mdst_trk_extra and Mdst_vee_extra to Mdst_trk and Mdst_vee2, respectively.
Definition: B2BIIFixMdstModule_trk.cc:3064
Belle2::MuidProb::fRchisqD1
double fRchisqD1[2][4][kRchisq+1]
First derivatives of Reduced chi-squared pdf.
Definition: B2BIIFixMdstModule.h:312
Belle2::B2BIIFixMdstModule::scale_momenta_set_v1
void scale_momenta_set_v1(const int, const int, const int, double &)
Return scale factors set_v1.
Definition: B2BIIFixMdstModule_trk.cc:521
Belle2::MuidProb::spline
void spline(int, double, double *, double *, double *, double *)
Generate the spline interpolation coefficients to smooth out a binned histogram.
Definition: B2BIIFixMdstModule_muid.cc:373
Belle2::B2BIIFixMdstModule::m_scale_error_dataset_name
std::string m_scale_error_dataset_name
Set scale_error_dataset name.
Definition: B2BIIFixMdstModule.h:143
Belle2::B2BIIFixMdstModule::shift_tof
void shift_tof(const int mode)
Shift tof times to account for residuals.
Definition: B2BIIFixMdstModule_tof.cc:52
Belle2::B2BIIFixMdstModule::initialize
virtual void initialize() override
Initialize the module.
Definition: B2BIIFixMdstModule.cc:214
Belle2::B2BIIFixMdstModule::m_reprocess_version_specified
int m_reprocess_version_specified
Specify reprocess version.
Definition: B2BIIFixMdstModule.h:169
Belle2::B2BIIFixMdstModule::s_benergy_value
static double s_benergy_value
Beam energy.
Definition: B2BIIFixMdstModule.h:158
Belle2::B2BIIFixMdstModule::remove_extra_trk_vee2
int remove_extra_trk_vee2()
Remove extra tracks from Mdst_trk and Mdst_vee2.
Definition: B2BIIFixMdstModule_trk.cc:3240
Belle2::B2BIIFixMdstModule::m_check_version_consistency
int m_check_version_consistency
Check consistency between environment variable and mdst version.
Definition: B2BIIFixMdstModule.h:171
Belle2::B2BIIFixMdstModule::m_scale_momenta_scale_data
float m_scale_momenta_scale_data
Set parameter scale_data for scale_momenta.
Definition: B2BIIFixMdstModule.h:138
Belle2::B2BIIFixMdstModule::m_kaonprob
MuidProb * m_kaonprob
Pointer to kaons' prob-density object.
Definition: B2BIIFixMdstModule.h:197
Belle2::B2BIIFixMdstModule::Muid_event
void Muid_event(void)
Called for each event.
Definition: B2BIIFixMdstModule_muid.cc:129
Belle2::MuidProb::fEEclD3
double fEEclD3[kPTrk][kEEcl+1]
Third derivatives of ECL energy pdf.
Definition: B2BIIFixMdstModule.h:318
Belle2::MuidProb::probRange
double probRange(int, int, int, int) const
Compute probability density for range.
Definition: B2BIIFixMdstModule_muid.cc:431
Belle2::B2BIIFixMdstModule::m_scale_momenta_scale_mc
float m_scale_momenta_scale_mc
Set parameter scale_mc for scale_momenta.
Definition: B2BIIFixMdstModule.h:139
Belle2::MuidProb::kEEclMax
static const double kEEclMax
Overflow value of ECL energy.
Definition: B2BIIFixMdstModule.h:300
Belle2::B2BIIFixMdstModule::m_correct_ecl_primary_vertex
int m_correct_ecl_primary_vertex
Apply correct_ecl_primary_vertex.
Definition: B2BIIFixMdstModule.h:148
Belle2::MuidProb::fRchisq
double fRchisq[2][4][kRchisq+1]
Reduced chi-squared pdf.
Definition: B2BIIFixMdstModule.h:310
Belle2::MuidProb::readDB
void readDB(const char *, int &)
Read in probability density functions from database.
Definition: B2BIIFixMdstModule_muid.cc:291
Belle2::B2BIIFixMdstModule::scale_momenta_set_v2
void scale_momenta_set_v2(const int, const int, const int, double &)
Return scale factors set_v2.
Definition: B2BIIFixMdstModule_trk.cc:997
Belle2::MuidProb::fRange
double fRange[2][4][15][kRange]
Range pdf.
Definition: B2BIIFixMdstModule.h:309
Belle2::B2BIIFixMdstModule::shift_tof_set
void shift_tof_set(const int expno, const int runno, const int mode, const int im, const double pmom, const double sgn, double &shift)
Return time shifts for different exp.
Definition: B2BIIFixMdstModule_tof.cc:122
Belle2::B2BIIFixMdstModule::m_make_pi0
int m_make_pi0
Apply make_pi0 (after correct_ecl)
Definition: B2BIIFixMdstModule.h:150
Belle2::B2BIIFixMdstModule::m_reprocess_version
int m_reprocess_version
Reprocess version (=0:old; =1:new)
Definition: B2BIIFixMdstModule.h:168
Belle2::B2BIIFixMdstModule::m_muonprob
MuidProb * m_muonprob
Pointer to muons' prob-density object.
Definition: B2BIIFixMdstModule.h:195
Belle2::B2BIIFixMdstModule::m_correct_ecl
int m_correct_ecl
Apply correct_ecl.
Definition: B2BIIFixMdstModule.h:145
Belle2::B2BIIFixMdstModule::get_Benergy
static double get_Benergy()
Get Benergy.
Definition: B2BIIFixMdstModule.h:121
Belle2::MuidProb
Class computes probability density for Muid calculation.
Definition: B2BIIFixMdstModule.h:266
Belle2::MuidProb::prob
double prob(int, int, int, int, double) const
Compute probability density.
Definition: B2BIIFixMdstModule_muid.cc:413
Belle2::B2BIIFixMdstModule::pi0resol
static double pi0resol(double, double, const char *, bool, int, int)
Treat pi0 mass width as a func.
Definition: B2BIIFixMdstModule_ecl.cc:678
Belle2::B2BIIFixMdstModule::m_correct_ecl_version
int m_correct_ecl_version
Apply correct_ecl_version.
Definition: B2BIIFixMdstModule.h:147
Belle2::MuidProb::kRange
static const int kRange
Array size of range.
Definition: B2BIIFixMdstModule.h:292
Belle2::Module
Base class for Modules.
Definition: Module.h:74
Belle2::B2BIIFixMdstModule::B2BIIFixMdstModule
B2BIIFixMdstModule()
Constructor.
Definition: B2BIIFixMdstModule.cc:159
Belle2::B2BIIFixMdstModule::m_correct_ecl_5s
int m_correct_ecl_5s
For run indep.
Definition: B2BIIFixMdstModule.h:149
Belle2::B2BIIFixMdstModule::m_benergy_mcdb
int m_benergy_mcdb
Apply Benergy from DB or default value in MC.
Definition: B2BIIFixMdstModule.h:157
Belle2::B2BIIFixMdstModule::m_make_pi0_option
int m_make_pi0_option
Set make_pi0 option.
Definition: B2BIIFixMdstModule.h:151
Belle2::B2BIIFixMdstModule::vee_mass_nofit
double vee_mass_nofit(const Belle::Mdst_vee2 &vee2, float scale=1.0)
Calculates V0 mass with non-constraint fit results.
Definition: B2BIIFixMdstModule_trk.cc:182
Belle2::B2BIIFixMdstModule
Declaration of class B2BIIFixMdst.
Definition: B2BIIFixMdstModule.h:88
Belle2::B2BIIFixMdstModule::m_calib_dedx
int m_calib_dedx
Do dedx calibration.
Definition: B2BIIFixMdstModule.h:163
Belle2::B2BIIFixMdstModule::m_make_pi0_upper_limit
double m_make_pi0_upper_limit
Set make_pi0 upper mass limit.
Definition: B2BIIFixMdstModule.h:153
Belle2::B2BIIFixMdstModule::Muid_begin_run
void Muid_begin_run(const int, const int, const int)
Called for each new run.
Definition: B2BIIFixMdstModule_muid.cc:101
Belle2::B2BIIFixMdstModule::Benergy
double Benergy(int expnum=0, int runnum=0)
Return Beam energy.
Definition: B2BIIFixMdstModule.cc:509
Belle2::B2BIIFixMdstModule::Muid_init
void Muid_init(void)
Initialize the Muid module.
Definition: B2BIIFixMdstModule_muid.cc:59
Belle2::B2BIIFixMdstModule::correct_ecl
void correct_ecl(int, int)
Correct photon's momenta and error matrix.
Definition: B2BIIFixMdstModule_ecl.cc:1220
Belle2::MuidProb::fRchisqD3
double fRchisqD3[2][4][kRchisq+1]
Third derivatives of Reduced chi-squared pdf.
Definition: B2BIIFixMdstModule.h:314
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::B2BIIFixMdstModule::event
virtual void event() override
Called for each event.
Definition: B2BIIFixMdstModule.cc:224
Belle2::B2BIIFixMdstModule::m_use_ecl
int m_use_ecl
parameter UseECL: Use (1) or don't use (0) ECL in muid (default=0)
Definition: B2BIIFixMdstModule.h:180
Belle2::MuidProb::kPTrkMax
static const double kPTrkMax
Overflow value of CDC momentum.
Definition: B2BIIFixMdstModule.h:301
Belle2::MuidProb::fRchisqD2
double fRchisqD2[2][4][kRchisq+1]
Second derivatives of Reduced chi-squared pdf.
Definition: B2BIIFixMdstModule.h:313
Belle2::B2BIIFixMdstModule::m_muid_version
static const int m_muid_version
Version number of muid part.
Definition: B2BIIFixMdstModule.h:90
Belle2::MuidProb::kEEcl
static const int kEEcl
Array size of ECL energy.
Definition: B2BIIFixMdstModule.h:294
Belle2::B2BIIFixMdstModule::m_scale_error
int m_scale_error
Apply scale_error.
Definition: B2BIIFixMdstModule.h:141
Belle2::B2BIIFixMdstModule::Muid_end_run
void Muid_end_run(void)
Called when the current run ends.
Definition: B2BIIFixMdstModule_muid.cc:122
Belle2::B2BIIFixMdstModule::m_eklm_max_layer
int m_eklm_max_layer
parameter Endcap_MX_layer: Max layer # of KLM endcap (default=11) 0 ==> use same value as was used by...
Definition: B2BIIFixMdstModule.h:178
Belle2::B2BIIFixMdstModule::terminate
virtual void terminate() override
Terminates the module.
Definition: B2BIIFixMdstModule.cc:219
Belle2::MuidProb::kRchisqMax
static const double kRchisqMax
Overflow value of reduced chi-squared.
Definition: B2BIIFixMdstModule.h:299
Belle2::B2BIIFixMdstModule::m_smear_trk
int m_smear_trk
Do extra-smearing for MC tracks.
Definition: B2BIIFixMdstModule.h:142
Belle2::B2BIIFixMdstModule::m_good_event
int m_good_event
Select good event only.
Definition: B2BIIFixMdstModule.h:159
Belle2::B2BIIFixMdstModule::m_old_expno
int m_old_expno
Most recently used experiment # in muid.
Definition: B2BIIFixMdstModule.h:192
Belle2::MuidProb::~MuidProb
~MuidProb()
Destructor.
Definition: B2BIIFixMdstModule.h:275
Belle2::B2BIIFixMdstModule::fix_pi0_brecon
void fix_pi0_brecon(void)
Fix relation gamma<->pi0 in brecon table.
Definition: B2BIIFixMdstModule_brecon.cc:29
Belle2::B2BIIFixMdstModule::get_reprocess_version
int get_reprocess_version()
Get reprocess version of input mdst.
Definition: B2BIIFixMdstModule.cc:391
Belle2::B2BIIFixMdstModule::scale_error
void scale_error(const int message_level=0)
Apply scale error.
Definition: B2BIIFixMdstModule_trk.cc:2879
Belle2::B2BIIFixMdstModule::Muid_term
void Muid_term(void)
Terminate the Muid module.
Definition: B2BIIFixMdstModule_muid.cc:88
Belle2::B2BIIFixMdstModule::m_add_or_remove_extra_trk_vee2
int m_add_or_remove_extra_trk_vee2
(1) to add to Mdst_charged etc, (-1) to remove (move to Mdst_*_extra), (0) do nothing
Definition: B2BIIFixMdstModule.h:144
Belle2::MuidProb::probRchisq
double probRchisq(int, int, int, double) const
Compute probability density for reduced chi-squared.
Definition: B2BIIFixMdstModule_muid.cc:454
Belle2::MuidProb::fRchisqN
double fRchisqN[2][4][15]
Non-overflow normalization.
Definition: B2BIIFixMdstModule.h:311
Belle2::B2BIIFixMdstModule::m_hadron_b_only
int m_hadron_b_only
Select Hadron B event only.
Definition: B2BIIFixMdstModule.h:161
Belle2::B2BIIFixMdstModule::make_pi0
void make_pi0(int, double, double)
Create Mdst_pi0 from Mdst_gamma and Mdst_ecl to let people get mass-constraint fitted momentum of pi0...
Definition: B2BIIFixMdstModule_ecl.cc:1563
Belle2::MuidProb::MuidProb
MuidProb(const char *, int &)
Constructor.
Definition: B2BIIFixMdstModule_muid.cc:284
Belle2::B2BIIFixMdstModule::m_shift_tof_mode
int m_shift_tof_mode
Do tof_correction.
Definition: B2BIIFixMdstModule.h:164
Belle2::B2BIIFixMdstModule::m_make_pi0_lower_limit
double m_make_pi0_lower_limit
Set make_pi0 lower mass limit.
Definition: B2BIIFixMdstModule.h:152
Belle2::MuidProb::probECL
double probECL(double, double) const
Compute probability density for ECL energy deposit.
Definition: B2BIIFixMdstModule_muid.cc:493
Belle2::B2BIIFixMdstModule::m_benergy
int m_benergy
Apply Benergy.
Definition: B2BIIFixMdstModule.h:155
Belle2::B2BIIFixMdstModule::m_pionprob
MuidProb * m_pionprob
Pointer to pions' prob-density object.
Definition: B2BIIFixMdstModule.h:196
Belle2::B2BIIFixMdstModule::m_make_pi0_primary_vertex
int m_make_pi0_primary_vertex
Apply make_pi0_primary_vertex (after correct_ecl)
Definition: B2BIIFixMdstModule.h:154
Belle2::B2BIIFixMdstModule::m_limit_mdst_ecl_trk
int m_limit_mdst_ecl_trk
Limit of mdst_ecl_trk table size.
Definition: B2BIIFixMdstModule.h:166
Belle2::MuidProb::fEEclD2
double fEEclD2[kPTrk][kEEcl+1]
Second derivatives of ECL energy pdf.
Definition: B2BIIFixMdstModule.h:317
Belle2::B2BIIFixMdstModule::set_primary_vertex
int set_primary_vertex(HepPoint3D &v, CLHEP::HepSymMatrix &ve)
Set primary vertex assuming all tracks are pions.
Definition: B2BIIFixMdstModule_trk.cc:2921
HepGeom::Point3D< double >
Belle2::MuidProb::kPTrk
static const int kPTrk
Array size of CDC momentum.
Definition: B2BIIFixMdstModule.h:295
Belle2::B2BIIFixMdstModule::m_scale_momenta
int m_scale_momenta
Apply scale_momenta.
Definition: B2BIIFixMdstModule.h:133
Belle2::B2BIIFixMdstModule::m_5Srun
int m_5Srun
5S,2S,1S run or not
Definition: B2BIIFixMdstModule.h:170
Belle2::B2BIIFixMdstModule::correct_ecl_primary_vertex
void correct_ecl_primary_vertex(const HepPoint3D &, const CLHEP::HepSymMatrix &)
Correct ecl using primary vertex.
Definition: B2BIIFixMdstModule_ecl.cc:2270
Belle2::B2BIIFixMdstModule::good_event
bool good_event()
Check if event correspondes to the period when Belle detector not in good condition.
Definition: B2BIIFixMdstModule.cc:478
Belle2::B2BIIFixMdstModule::scale_momenta_set
void scale_momenta_set(const int, const int, const int, double &)
Return scale factors for 2001 summer confs.
Definition: B2BIIFixMdstModule_trk.cc:399
Belle2::B2BIIFixMdstModule::m_hadron_a_only
int m_hadron_a_only
Select Hadron A event only.
Definition: B2BIIFixMdstModule.h:160
Belle2::B2BIIFixMdstModule::scale_momenta
void scale_momenta(float scale_data=1.0, float scale_mc=1.0, int mode=0)
Scale momenta of Mdst_trk.
Definition: B2BIIFixMdstModule_trk.cc:270
Belle2::B2BIIFixMdstModule::m_table_size
int m_table_size
Check table sizes.
Definition: B2BIIFixMdstModule.h:165
Belle2::B2BIIFixMdstModule::m_benergy_db
int m_benergy_db
Apply Benergy from DB or file.
Definition: B2BIIFixMdstModule.h:156
Belle2::B2BIIFixMdstModule::m_expno
int m_expno
parameter ExpNo: Experiment number for muid (default=0) 0 ==> use experiment number stored in data fi...
Definition: B2BIIFixMdstModule.h:185
Belle2::B2BIIFixMdstModule::m_l4passed_only
int m_l4passed_only
Select level4-passed event only.
Definition: B2BIIFixMdstModule.h:162
Belle2::B2BIIFixMdstModule::smear_trk
void smear_trk()
Apply track smearing (on MC)
Definition: B2BIIFixMdstModule_trk.cc:3339
Belle2::B2BIIFixMdstModule::m_scale_momenta_mode
int m_scale_momenta_mode
Set parameter mode for scale_momenta.
Definition: B2BIIFixMdstModule.h:140
Belle2::MuidProb::fEEcl
double fEEcl[kPTrk][kEEcl+1]
ECL energy pdf.
Definition: B2BIIFixMdstModule.h:315
Belle2::B2BIIFixMdstModule::make_pi0_primary_vertex
void make_pi0_primary_vertex(int, double, double, const HepPoint3D &, const CLHEP::HepSymMatrix &)
Fill Mdst_pi0 based on the fit result.
Definition: B2BIIFixMdstModule_ecl.cc:1816
Belle2::B2BIIFixMdstModule::beginRun
virtual void beginRun() override
Called when a new run is started.
Definition: B2BIIFixMdstModule.cc:348