8typedef map<int, double>::value_type
valType;
14 m_xtmap = calconst.m_xtmap;
16 m_delt0 = calconst.m_delt0;
17 m_qtpar0 = calconst.m_qtpar0;
18 m_qtpar1 = calconst.m_qtpar1;
19 m_sdmap = calconst.m_sdmap;
52 m_delt0.push_back(dt0);
58 m_qtpar0.push_back(qtpar0);
59 m_qtpar1.push_back(qtpar1);
66 for(lr=0; lr<2; lr++){
86 double xtpar = -999.0;
88 if( 1 == m_xtmap.count(
key) )
97 key = ( (lay << XTLAYER_INDEX) & XTLAYER_MASK ) |
98 ( (entr << XTENTRA_INDEX) & XTENTRA_MASK ) |
99 ( (lr << XTLR_INDEX) & XTLR_MASK ) |
100 ( (order << XTORDER_INDEX) & XTORDER_MASK );
106 m_xtiter = m_xtmap.begin();
110 if( m_xtiter != m_xtmap.end() ){
111 key = (*m_xtiter).first;
112 xtpar = (*m_xtiter).second;
121 m_qtpar0.push_back( val );
122 }
else if( 1 == order ){
123 m_qtpar1.push_back( val );
125 cout <<
"Order of Qtpar Error in fillQtpar()!" << endl;
132 }
else if( 1 == order ){
135 cout <<
"Order of Qtpar Error in resetQtpar()!" << endl;
141 return m_qtpar0[lay];
142 }
else if( 1 == order ){
143 return m_qtpar1[lay];
145 cout <<
"Order of Qtpar Error in getQtpar()!" << endl;
161 double sdpar = -999.0;
163 if( 1 == m_sdmap.count(
key) ){
173 key = ( (lay << SDLAYER_INDEX) & SDLAYER_MASK ) |
174 ( (entr << SDENTRA_INDEX) & SDENTRA_MASK ) |
175 ( (lr << SDLR_INDEX) & SDLR_MASK ) |
176 ( (
bin << SDBIN_INDEX) & SDBIN_MASK );
182 m_sditer = m_sdmap.begin();
186 if( m_sditer != m_sdmap.end() ){
187 key = (*m_sditer).first;
188 sdpar = (*m_sditer).second;
*******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
map< int, double >::value_type valType
std::map< int, double >::value_type valType
*************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
int getXtKey(int lay, int entr, int lr, int order) const
void fillXtpar(int key, double val)
void resetSdpar(int lay, int entr, int lr, int bin, double val)
void resetXtpar(int lay, int entr, int lr, int order, 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)
int getSdKey(int lay, int entr, int lr, int bin) const
int getNextSdpar(int &key, double &sdpar)
void fillSdpar(int key, double val)