![]() |
Belle II Software
release-05-02-19
|
Classes | |
class | B2BIIMCParticlesMonitorModule |
Declaration of class B2BIIMCParticlesMonitor. More... | |
class | B2BIIConvertBeamParamsModule |
Convert the IpProfile and Benergy to BeamParameters, BeamSpot, CollisionInvariantMass and CollisionBoostVector. More... | |
class | B2BIIConvertMdstModule |
Module converts Belle MDST objects (Panther records) to Belle II MDST objects. More... | |
class | B2BIIFixMdstModule |
Declaration of class B2BIIFixMdst. More... | |
class | MuidProb |
Class computes probability density for Muid calculation. More... | |
class | B2BIIMdstInputModule |
Module reads Belle MDST files and converts Belle_event record to Belle II EventMetaData StoreObjectPointer. More... | |
struct | cal_scale_error_func_set_t |
Structure type cal_scale_error_func_set_t. More... | |
class | BelleMCOutputModule |
KLM digitization module. More... | |
Macros | |
#define | NOMINAL_ENERGY 5.290024915 |
Nomial beam energy. | |
Typedefs | |
typedef void(* | cal_scale_error_func_t) (double scale[5], const double pt, const double tanl) |
Function pointer type. | |
Functions | |
REG_MODULE (B2BIIConvertBeamParams) | |
Register the module. | |
static double | ecl_adhoc_corr (int Exp, int Run, int iflag05th, double Energy, double) |
The function giving correction factor. More... | |
static double | ecl_adhoc_corr_45 (int exp, int, int cid) |
The function giving correction factor in Exp.45. | |
static double | ecl_mcx3_corr (int, int, double energy, double) |
Correct energy scale (MC) to make pi0 peak nominal. | |
static double | mpi0pdg (double Energy) |
Make MC mass peak to PDG value. | |
static bool | operator== (const cal_scale_error_func_set_t &lhs, const cal_scale_error_func_set_t &rhs) |
Operator definition for cal_scale_error_func_set_t. | |
static void | null_scale (double[5], double, double) |
Dummy function. | |
static void | get_event_id (int *no_exp, int *no_run, int *no_evt, int *no_frm, int *expmc) |
Get event ID. | |
static bool | is_already_scaled (void) |
Check if event is already scaled. | |
double | vfunc (const double x, const double x1, const double yc, const double a1, const double a2) |
vfunc | |
double | cupfunc (const double x, const double x1, const double x2, const double yc, const double a1, const double a2) |
cupfunc | |
double | rootfunc (const double x, const double x1, const double x2, const double yc, const double a1, const double a2) |
rootfunc | |
double | lambdafunc (const double x, const double x1, const double x2, const double yc, const double a1, const double a2, const double a3) |
lambdafunc | |
static void | cal_scale_error_EXP0723_cosmic_mc (double scale[5], const double pt, const double) |
Scale error for Exp.7-23 Cosmic MC. | |
static void | cal_scale_error_EXP2527_cosmic_mc (double scale[5], const double pt, const double) |
Scale error for Exp.25-27 Cosmic MC. | |
static void | cal_scale_error_EXP31_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.31 Cosmic MC. | |
static void | cal_scale_error_EXP33_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.33 Cosmic MC. | |
static void | cal_scale_error_EXP35_cosmic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.35 Cosmic MC. | |
static void | cal_scale_error_EXP37_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.37 Cosmic MC. | |
static void | cal_scale_error_EXP3941_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.39,41 Cosmic MC. | |
static void | cal_scale_error_EXP43_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.43 Cosmic MC. | |
static void | cal_scale_error_EXP45_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.45 Cosmic MC. | |
static void | cal_scale_error_EXP47_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.47 Cosmic MC. | |
static void | cal_scale_error_EXP49_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.49 Cosmic MC. | |
static void | cal_scale_error_EXP51_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.51 Cosmic MC. | |
static void | cal_scale_error_EXP53_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.53 Cosmic MC. | |
static void | cal_scale_error_EXP55_cosmic_mc (double scale[5], double pt, double) |
Scale error for Exp.55 Cosmic MC. | |
static void | cal_scale_error_EXP6165_cosmic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.61-65 Cosmic MC. | |
static void | cal_scale_error_EXP67_cosmic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.67 Cosmic MC. | |
static void | cal_scale_error_EXP6971_cosmic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.69-71 Cosmic MC. | |
static void | cal_scale_error_EXP0723_cosmic_data (double scale[5], const double pt, const double) |
Scale error for Exp.7-23 Cosmic data. | |
static void | cal_scale_error_EXP2527_cosmic_data (double scale[5], const double pt, const double) |
Scale error for Exp.25-27 Cosmic data. | |
static void | cal_scale_error_EXP31_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.31 Cosmic data. | |
static void | cal_scale_error_EXP33_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.33 Cosmic data. | |
static void | cal_scale_error_EXP35_cosmic_data (double scale[5], double pt, double tanl) |
Scale error for Exp.35 Cosmic data. | |
static void | cal_scale_error_EXP37_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.37 Cosmic data. | |
static void | cal_scale_error_EXP3941_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.39-41 Cosmic data. | |
static void | cal_scale_error_EXP43_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.43 Cosmic data. | |
static void | cal_scale_error_EXP4547_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.45,47 Cosmic data. | |
static void | cal_scale_error_EXP49_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.49 Cosmic data. | |
static void | cal_scale_error_EXP51_cosmic_data (double scale[5], double pt, double tanl) |
Scale error for Exp.51 Cosmic data. | |
static void | cal_scale_error_EXP53_cosmic_data (double scale[5], double pt, double) |
Scale error for Exp.53 Cosmic data. | |
static void | cal_scale_error_EXP55_cosmic_data (double scale[5], double pt, double tanl) |
Scale error for Exp.55 Cosmic data. | |
static void | cal_scale_error_EXP6165_cosmic_data (double scale[5], double pt, double tanl) |
Scale error for Exp.61-65 Cosmic data. | |
static void | cal_scale_error_EXP67_cosmic_data (double scale[5], double pt, double tanl) |
Scale error for Exp.67 Cosmic data. | |
static void | cal_scale_error_EXP6971_cosmic_data (double scale[5], double pt, double tanl) |
Scale error for Exp.69,71 Cosmic data. | |
static void | cal_scale_error_EXP0723_hadronic_mc (double scale[5], const double pt, const double tanl) |
Scale error for Exp.7-23 Hadron MC. | |
static void | cal_scale_error_EXP2527_hadronic_mc (double scale[5], const double pt, const double tanl) |
Scale error for Exp.25-27 Hadron MC. | |
static void | cal_scale_error_EXP31_hadronic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.31 Hadron MC. | |
static void | cal_scale_error_EXP33_hadronic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.33,35 Hadron MC. | |
static void | cal_scale_error_EXP35_hadronic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.33,35 Hadron MC. | |
static void | cal_scale_error_EXP37_hadronic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.37 Hadron MC. | |
static void | cal_scale_error_EXP3941_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.39,41 Hadron MC. | |
static void | cal_scale_error_EXP43_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.43 Hadron MC. | |
static void | cal_scale_error_EXP45_hadronic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.45 Hadron MC. | |
static void | cal_scale_error_EXP47_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.47 Hadron MC. | |
static void | cal_scale_error_EXP49_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.49 Hadron MC. | |
static void | cal_scale_error_EXP51_hadronic_mc (double scale[5], double pt, double tanl) |
Scale error for Exp.51 Hadron MC. | |
static void | cal_scale_error_EXP53_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.53 Hadron MC. | |
static void | cal_scale_error_EXP55_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.55 Hadron MC. | |
static void | cal_scale_error_EXP6165_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.61-65 Hadron MC. | |
static void | cal_scale_error_EXP67_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.67 Hadron MC. | |
static void | cal_scale_error_EXP6971_hadronic_mc (double scale[5], double pt, double) |
Scale error for Exp.69,71 Hadron MC. | |
static cal_scale_error_func_set_t | get_scale_error_func_for_exprun (const int no_exp, const int) |
Get scale error fucntion for different Exp. | |
static void | cal_scale_error (double scale[5], const double pt, const double tanl, const int expmc, const int no_exp, const int no_run) |
Calculate scale error. | |
static int | scale_error_impl (const int message_level, const int reprocess_version) |
The implementation of B2BIIFixMdstModule::scale_error() More... | |
void | recsim_mdst_propgt_ (float *, float[], float[], float[], float[], float[], int *) |
recsim_mdst_propgt from legacy C code | |
static void | scale_err_ms (Belle::Mdst_trk_fit &fit, double scale[]) |
Scale error. | |
static void | smear_trk_ms (Belle::Mdst_trk_fit &fit, double scale[]) |
Smear MC tracks. | |
static void | smear_charged () |
Smear tracks in Mdst_Charged. | |
B2BIIConvertBeamParamsModule () | |
Create parameters. | |
void | initialize () override |
Initialize phanter banks. | |
void | beginRun () override |
Set run info in panther and load IPProfile/Benergy and convert the values to payloads. | |
B2BIIFixMdstModule () | |
Constructor. | |
virtual void | initialize () override |
Initialize the module. | |
virtual void | terminate () override |
Terminates the module. | |
virtual void | event () override |
Called for each event. | |
virtual void | beginRun () override |
Called when a new run is started. | |
Variables | |
static int | SE_Message_Level |
Message level of scale_error(). More... | |
static int | SE_Reprocess_Version = 0 |
Reprocess verison used in scale_error() | |
static const struct cal_scale_error_func_set_t | EXP0723_scale |
Scale error for Exp.7-23. More... | |
static const struct cal_scale_error_func_set_t | EXP2527_scale |
Scale error for Exp.25-27. More... | |
static const struct cal_scale_error_func_set_t | EXP31_scale |
Scale error for Exp.31. More... | |
static const struct cal_scale_error_func_set_t | EXP33_scale |
Scale error for Exp.33. More... | |
static const struct cal_scale_error_func_set_t | EXP35_scale |
Scale error for Exp.35. More... | |
static const struct cal_scale_error_func_set_t | EXP37_scale |
Scale error for Exp.37. More... | |
static const struct cal_scale_error_func_set_t | EXP3941_scale |
Scale error for Exp.39,41. More... | |
static const struct cal_scale_error_func_set_t | EXP43_scale |
Scale error for Exp.43. More... | |
static const struct cal_scale_error_func_set_t | EXP45_scale |
Scale error for Exp.45. More... | |
static const struct cal_scale_error_func_set_t | EXP47_scale |
Scale error for Exp.47. More... | |
static const struct cal_scale_error_func_set_t | EXP49_scale |
Scale error for Exp.49. More... | |
static const struct cal_scale_error_func_set_t | EXP51_scale |
Scale error for Exp.51. More... | |
static const struct cal_scale_error_func_set_t | EXP53_scale |
Scale error for Exp.53. More... | |
static const struct cal_scale_error_func_set_t | EXP55_scale |
Scale error for Exp.55. More... | |
static const struct cal_scale_error_func_set_t | EXP6165_scale |
Scale error for Exp.61-65. More... | |
static const struct cal_scale_error_func_set_t | EXP67_scale |
Scale error for Exp.67. More... | |
static const struct cal_scale_error_func_set_t | EXP6971_scale |
Scale error for Exp.69-71. More... | |
static const struct cal_scale_error_func_set_t | DUMMY_scale |
Dummy scale. More... | |
static double | s_benergy_value = NOMINAL_ENERGY |
Beam energy. | |
Muid user parameters (set via basf) | |
int | get_reprocess_version () |
Get reprocess version of input mdst. | |
bool | good_event () |
Check if event correspondes to the period when Belle detector not in good condition. | |
double | Benergy (int expnum=0, int runnum=0) |
Return Beam energy. | |
void | fix_pi0_brecon (void) |
Fix relation gamma<->pi0 in brecon table. | |
static double | pi0resol (double, double, const char *, bool, int, int) |
Treat pi0 mass width as a func. More... | |
void | correct_ecl (int, int) |
Correct photon's momenta and error matrix. | |
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 after ad_hoc correction. | |
void | make_pi0_primary_vertex (int, double, double, const HepPoint3D &, const CLHEP::HepSymMatrix &) |
Fill Mdst_pi0 based on the fit result. | |
void | correct_ecl_primary_vertex (const HepPoint3D &, const CLHEP::HepSymMatrix &) |
Correct ecl using primary vertex. | |
void | Muid_init (void) |
Initialize the Muid module. | |
void | Muid_term (void) |
Terminate the Muid module. | |
void | Muid_begin_run (const int, const int, const int) |
Called for each new run. | |
void | Muid_end_run (void) |
Called when the current run ends. | |
void | Muid_event (void) |
Called for each event. | |
void | shift_tof (const int mode) |
Shift tof times to account for residuals. More... | |
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. | |
double | vee_mass_nofit (const Belle::Mdst_vee2 &vee2, float scale=1.0) |
Calculates V0 mass with non-constraint fit results. | |
void | scale_momenta (float scale_data=1.0, float scale_mc=1.0, int mode=0) |
Scale momenta of Mdst_trk. | |
void | scale_momenta_set (const int, const int, const int, double &) |
Return scale factors for 2001 summer confs. More... | |
void | scale_momenta_set_v1 (const int, const int, const int, double &) |
Return scale factors set_v1. | |
void | scale_momenta_set_v2 (const int, const int, const int, double &) |
Return scale factors set_v2. | |
void | scale_error (const int message_level=0) |
Apply scale error. | |
int | set_primary_vertex (HepPoint3D &v, CLHEP::HepSymMatrix &ve) |
Set primary vertex assuming all tracks are pions. | |
int | add_extra_trk_vee2 () |
Add Mdst_trk_extra and Mdst_vee_extra to Mdst_trk and Mdst_vee2, respectively. | |
int | remove_extra_trk_vee2 () |
Remove extra tracks from Mdst_trk and Mdst_vee2. | |
void | smear_trk () |
Apply track smearing (on MC) | |
MuidProb methods: | |
static const double | kRchisqMax = 10.0 |
Overflow value of reduced chi-squared. | |
static const double | kEEclMax = 1.0 |
Overflow value of ECL energy. | |
static const double | kPTrkMax = 5.0 |
Overflow value of CDC momentum. | |
MuidProb (const char *, int &) | |
Constructor. | |
void | readDB (const char *, int &) |
Read in probability density functions from database. | |
void | spline (int, double, double *, double *, double *, double *) |
Generate the spline interpolation coefficients to smooth out a binned histogram. | |
double | prob (int, int, int, int, double) const |
Compute probability density. | |
double | probRange (int, int, int, int) const |
Compute probability density for range. | |
double | probRchisq (int, int, int, double) const |
Compute probability density for reduced chi-squared. | |
double | probECL (double, double) const |
Compute probability density for ECL energy deposit. | |
|
static |
The function giving correction factor.
Corresponding Data/MC so that energy in data should be divided by this.
Definition at line 148 of file B2BIIFixMdstModule_ecl.cc.
|
staticprivate |
Treat pi0 mass width as a func.
of pi0 momentum.
Definition at line 678 of file B2BIIFixMdstModule_ecl.cc.
|
static |
The implementation of B2BIIFixMdstModule::scale_error()
Definition at line 2768 of file B2BIIFixMdstModule_trk.cc.
|
private |
Return scale factors for 2001 summer confs.
analyses, only for exp < 17
Definition at line 399 of file B2BIIFixMdstModule_trk.cc.
|
private |
Shift tof times to account for residuals.
Based on scale_momenta code
Definition at line 52 of file B2BIIFixMdstModule_tof.cc.
|
static |
Dummy scale.
Definition at line 2608 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.7-23.
Definition at line 2506 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.25-27.
Definition at line 2512 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.31.
Definition at line 2518 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.33.
Definition at line 2524 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.35.
Definition at line 2530 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.37.
Definition at line 2536 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.39,41.
Definition at line 2542 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.43.
Definition at line 2548 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.45.
Definition at line 2554 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.47.
Definition at line 2560 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.49.
Definition at line 2566 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.51.
Definition at line 2572 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.53.
Definition at line 2578 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.55.
Definition at line 2584 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.61-65.
Definition at line 2590 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.67.
Definition at line 2596 of file B2BIIFixMdstModule_trk.cc.
|
static |
Scale error for Exp.69-71.
Definition at line 2602 of file B2BIIFixMdstModule_trk.cc.
|
static |
Message level of scale_error().
0: none, 1: warning, 2: info
Definition at line 1427 of file B2BIIFixMdstModule_trk.cc.