Belle II Software development
CDCDedxHadSat.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 <framework/database/DBObjPtr.h>
12
13#include <cdc/dbobjects/CDCDedxHadronCor.h>
14
15#include <vector>
16#include <memory>
17#include <cmath>
18#include <iostream>
19#include <fstream>
20
21namespace Belle2 {
32
33 public:
34
38 void setParameters();
39
43 void setParameters(std::string infile);
44
48 double D2I(double cosTheta, double D) const;
49
53 double I2D(double cosTheta, double I) const;
54
58 double D2I(double cosTheta, double D, double alpha, double gamma, double delta, double power, double ratio) const;
59
63 double I2D(double cosTheta, double I, double alpha, double gamma, double delta, double power, double ratio) const;
64
65 private:
66
67 double m_alpha;
68 double m_gamma;
69 double m_delta;
70 double m_power;
71 double m_ratio;
75 };
77} // Belle2 namespace
Class to hold the hadron saturation functions.
Definition: CDCDedxHadSat.h:31
double I2D(double cosTheta, double I) const
hadron saturation parameterization part 2
double D2I(double cosTheta, double D) const
hadron saturation parameterization part 1
void setParameters()
set the parameters
double m_delta
the delta parameter for the hadron saturation correction
Definition: CDCDedxHadSat.h:69
DBObjPtr< CDCDedxHadronCor > m_DBHadronCor
db object for dE/dx hadron saturation parameters
Definition: CDCDedxHadSat.h:73
double m_ratio
the ratio parameter for the hadron saturation correction
Definition: CDCDedxHadSat.h:71
double m_gamma
the gamma parameter for the hadron saturation correction
Definition: CDCDedxHadSat.h:68
double m_alpha
the alpha parameter for the hadron saturation correction
Definition: CDCDedxHadSat.h:67
double m_power
the power parameter for the hadron saturation correction
Definition: CDCDedxHadSat.h:70
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Abstract base class for different kinds of events.