 |
Belle II Software
release-05-01-25
|
136 double m_par6[56] = {89, 91, 94, 99, 104, 107, 110, 117,
138 126, 144, 150, 157, 170, 180,
139 160, 167, 183, 205, 200, 194,
140 177, 189, 192, 206, 224, 234,
141 193, 206, 209, 215, 222, 239,
142 204, 212, 217, 227, 235, 240,
143 215, 222, 230, 239, 246, 253,
144 227, 232, 239, 243, 253, 258,
145 231, 243, 246, 256, 263, 300
bool m_storeHisto
Store histogram or not.
virtual void setUseDB(bool useDB=false)
Set to run with database mode or text mode.
double u_alpha[18]
Upper boundays of alpha bins.
int m_MAXtheta
max theta bin
void execute()
Run calibration.
bool m_LRseparate
Separate LR in calibration or mix.
TH2D * hist2d_draw[56][20][10]
2d histo for draw
virtual void CreateHisto()
Create histogram for calibration.
virtual void inputFileNames(std::string inputname)
Input root file name, output of collector.
unsigned short xtmode_old
XT mode old, 0-polynomial, 1 Cheb.
TF1 * xtf5r[56][2][20][10]
XTFunction.
double u_theta[7]
Upper boundays of theta bins.
int nalpha_old
number of alpha bins from input
void setLRSeparate(bool lr=true)
Set LR separate mode (default is true).
virtual void storeHisto()
Store histogram to file.
double m_ndfmin
minimum ndf required
TH2D * hist2d[56][2][20][10]
2D histo of xt
virtual void readProfile()
Read profile xt file.
double l_theta[7]
Lower boundays of theta bins.
std::string m_profileFileName
profile file name
virtual void setXTFileName(std::string name)
input xt file name incase text mode is used.
double itheta[7]
represented alphas of theta bins.
virtual bool calibrate()
Run algo on data.
virtual void setMode(unsigned short mode=1)
set xt mode, 0 is polynimial, 1 is Chebshev polynomial
XTCalibration()
Constructor.
std::string m_xtfile
Input xt file name, incase text mode.
double itheta_old[7]
represented alphas of theta bins from input.
bool m_BField
with b field or none
double xtold[56][2][18][7][8]
Old paremeter.
double m_Pvalmin
minimum pvalue required
int m_smallestEntryRequire
minimum number of hit per hitosgram.
virtual void setMinimumPval(double minPval)
set minimum Prob(Chi2) requirement
int fitflag[56][2][20][10]
Fit flag.
std::string m_OutputXTFileName
Out put xt filename.
unsigned short m_xtmode
Mode of xt; 0 is polynomial;1 is Chebyshev.
double ialpha[18]
represented alphas of alpha bins.
bool m_useDB
Use Database or text mode.
TH1D * hist2d_1[56][2][20][10]
1D xt histo, results of slice fit
virtual void useProfileFromInputXT(bool useProfileXTFromInputXT)
if you want to change xt bining, you have to set this to true
Abstract base class for different kinds of events.
virtual void readXT()
read xt paramter (wrap text mode and database mode)
double l_theta_old[7]
Lower boundays of theta bins from input.
std::string m_inputRootFileNames
input root filename
int m_firstExperiment
First experiment.
virtual void profileFileNames(std::string profileFileName)
Profile file name incase you want to change the xt binning.
virtual void Write()
Store calibrated constand.
int ntheta_old
number of theta bins from input
virtual void setMinimumNDF(double minndf)
set minimum number of degree of freedom requirement
int m_lastExperiment
Last experiment.
bool m_debug
run in debug or silent
virtual void readXTFromDB()
Read old xt parameter from database.
TProfile * hprof[56][2][20][10]
Profile xt histo.
double u_theta_old[7]
Upper boundays of theta bins from input.
virtual void readXTFromText()
Read old xt parameter from text file, incase text mode is used.
int m_nalpha
number of alpha bins
double u_alpha_old[18]
Upper boundays of alpha bins from input.
double ialpha_old[18]
represented alphas of alpha bins from input.
bool m_useSliceFit
Use slice fit or profile.
int m_ntheta
number of theta bins
double m_par6[56]
boundary parameter for fitting, semi-experiment number
virtual void setStoreHisto(bool storeHist=false)
set to store histogram or not.
double l_alpha[18]
Lower boundays of alpha bins.
double l_alpha_old[18]
Lower boundays of alpha bins from input.
virtual void BField(bool bfield)
set to use BField
virtual void setDebug(bool debug=false)
Run in debug or silent.
virtual ~XTCalibration()
Destructor.
Class to perform xt calibration for drift chamber.
double m_XT_fit[56][2][18][7][8]
Fitted parameter.
bool m_useProfileXTFromInputXT
use profile from text file or default in input xt
int m_MAXalpha
max alpha bin