BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcCalibAlg/MdcCalibConst.h
Go to the documentation of this file.
1#ifndef MDCCALIBCONST_H
2#define MDCCALIBCONST_H
3
4#include <map>
5#include <vector>
6
8
9public:
11 MdcCalibConst(const MdcCalibConst& calconst);
12
13 void initCalibConst();
14
15 void fillXtpar(int key, double val);
16 void resetXtpar(int lay, int entr, int lr, int order, double val);
17 int getXtSize() const { return m_xtmap.size(); }
18 void setXtBegin();
19 int getNextXtpar(int& key, double& xtpar);
20 double getXtpar(int lay, int entr, int lr, int order);
21 int getXtKey(int lay, int entr, int lr, int order) const;
22
23 void fillT0(double val) { m_t0.push_back( val ); }
24 void fillDelT0(double val) { m_delt0.push_back( val ); }
25 void resetT0(int wireid, double val) { m_t0[wireid] = val; }
26 void resetDelT0(int wireid, double val) { m_delt0[wireid] = val; }
27 double getT0(int wireid) const { return m_t0[wireid]; }
28 double getDelT0(int wireid) const { return m_delt0[wireid]; }
29 int getT0Size() const { return m_t0.size(); }
30
31 void fillQtpar(int order, double val);
32 void fillQtpar0(double val) { m_qtpar0.push_back( val ); }
33 void fillQtpar1(double val) { m_qtpar1.push_back( val ); }
34 void resetQtpar(int lay, int order, double val);
35 void resetQtpar0(int lay, double val) { m_qtpar0[lay] = val; }
36 void resetQtpar1(int lay, double val) { m_qtpar1[lay] = val; }
37 double getQtpar(int lay, int order) const;
38 double getQtpar0(int lay) const { return m_qtpar0[lay]; }
39 double getQtpar1(int lay) const { return m_qtpar1[lay]; }
40 int getQtSize() const { return m_qtpar0.size(); }
41
42 void fillSdpar(int key, double val);
43 void resetSdpar(int lay, int entr, int lr, int bin, double val);
44 int getSdSize() const { return m_sdmap.size(); }
45 void setSdBegin();
46 int getNextSdpar(int& key, double& sdpar);
47 double getSdpar(int lay, int entr, int lr, int bin);
48 int getSdKey(int lay, int entr, int lr, int bin) const;
49
50 void clear();
51
52private:
53 std::map<int, double> m_xtmap;
54 std::vector<double> m_t0;
55 std::vector<double> m_delt0;
56 std::vector<double> m_qtpar0;
57 std::vector<double> m_qtpar1;
58 std::map<int, double> m_sdmap;
59
60 std::map<int, double>::iterator m_xtiter;
61 std::map<int, double>::iterator m_sditer;
62
63 static const int XTLAYER_INDEX = 11;
64 static const int XTLAYER_MASK = 0x1F800;
65
66 static const int XTENTRA_INDEX = 6;
67 static const int XTENTRA_MASK = 0x7C0;
68
69 static const int XTLR_INDEX = 4;
70 static const int XTLR_MASK = 0x30;
71
72 static const int XTORDER_INDEX = 0;
73 static const int XTORDER_MASK = 0xF;
74
75
76 static const int SDLAYER_INDEX = 10;
77 static const int SDLAYER_MASK = 0xFC00;
78
79 static const int SDENTRA_INDEX = 7;
80 static const int SDENTRA_MASK = 0x380;
81
82 static const int SDLR_INDEX = 5;
83 static const int SDLR_MASK = 0x60;
84
85 static const int SDBIN_INDEX = 0;
86 static const int SDBIN_MASK = 0x1F;
87};
88
89#endif /* MDCCALIBCONST_H */
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per bin
Definition: FoamA.h:85
*************DOUBLE PRECISION m_pi *DOUBLE PRECISION m_HvecTau2 DOUBLE PRECISION m_HvClone2 DOUBLE PRECISION m_gamma1 DOUBLE PRECISION m_gamma2 DOUBLE PRECISION m_thet1 DOUBLE PRECISION m_thet2 INTEGER m_IFPHOT *COMMON c_Taupair $ !Spin Polarimeter vector first Tau $ !Spin Polarimeter vector second Tau $ !Clone Spin Polarimeter vector first Tau $ !Clone Spin Polarimeter vector second Tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !phi of HvecTau1 $ !theta of HvecTau1 $ !phi of HvecTau2 $ !theta of HvecTau2 $ !super key
Definition: Taupair.h:42
void initCalibConst()
int getXtKey(int lay, int entr, int lr, int order) const
void fillXtpar(int key, double val)
void resetQtpar0(int lay, double val)
void resetSdpar(int lay, int entr, int lr, int bin, double val)
void fillQtpar0(double val)
void resetXtpar(int lay, int entr, int lr, int order, double val)
void resetQtpar1(int lay, double val)
double getT0(int wireid) const
void resetDelT0(int wireid, double val)
double getXtpar(int lay, int entr, int lr, int order)
void fillQtpar(int order, double val)
double getQtpar(int lay, int order) const
int getNextXtpar(int &key, double &xtpar)
void resetQtpar(int lay, int order, double val)
double getSdpar(int lay, int entr, int lr, int bin)
void fillT0(double val)
void fillQtpar1(double val)
int getSdKey(int lay, int entr, int lr, int bin) const
double getDelT0(int wireid) const
void resetT0(int wireid, double val)
void fillDelT0(double val)
double getQtpar1(int lay) const
double getQtpar0(int lay) const
int getNextSdpar(int &key, double &sdpar)
void fillSdpar(int key, double val)