Dear Developers,
I want to add two more conditions in a loo`p. I do not know where I should add them to get correct results. The conditions are
m3 = 0;
if( (m3 > m2) && (VetoMu_charge[m2]*VetoMu_charge[m3]) < 0. ) {
m1_tmp = z_mass - b;
if( (m1 > m3) && (VetoMu_charge[m1]*VetoMu_charge[m3]) < 0. ) {
m1_tmp = z_mass - c;
The original scripts part is
int j=0, jj=0, m_i =999, m_ii=999;
for( int m1=0; m1 <VetoMu; ++m1){
jj=0;
for( int m2=0; m2 <VetoMu; ++m2) {
if( (m2 > m1) && (VetoMu_charge[m1]*VetoMu_charge[m2]) < 0. ) {
m1_tmp = z_mass - a;
{
min1_m = fabs(m1_tmp); m_i = j; m_ii = jj;
}
}//end of sfos if loop
jj++;
} //end of nested mu 2 loop
j++;
} //end of nested mu 1 loop
Kindly help me where I have to add these conditions in the above script.
Cheers,
Nab