|
| 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, const double scale[]) |
| Scale error.
|
|
static void | smear_trk_ms (Belle::Mdst_trk_fit &fit, const 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.
|
|
|
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 | 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)
|
|