Subversion Repositories f9daq

Rev

Rev 344 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 344 Rev 347
Line 171... Line 171...
171
    }
171
    }
172
    Npar += 2;
172
    Npar += 2;
173
  }
173
  }
174
 
174
 
175
  if(funList[3]){
175
  if(funList[3]){
176
    var BWParameters = ["N_{BW}", "#Gamma", "Mean_{BW}"]
176
    var BWParameters = ["N_{BW}", "#Gamma", "M_{BW}"]
177
    if((Npar > 0)){
177
    if((Npar > 0)){
178
      formula.fFormula += " + ";
178
      formula.fFormula += " + ";
179
    }
179
    }
180
    formula.fFormula += "[N_{BW}] * TMath::BreitWigner(x, [Mean_{BW}], [#Gamma])"; // * [Gamma] / ((x - [MeanBW])^2 + ([Gamma]/2)^2)
180
    formula.fFormula += "[N_{BW}] * TMath::BreitWigner(x, [M_{BW}], [#Gamma])"; // * [Gamma] / ((x - [MeanBW])^2 + ([Gamma]/2)^2)
181
    formula.fClingParameters.push(param[10]);
181
    formula.fClingParameters.push(param[10]);
182
    formula.fClingParameters.push(param[11]);
182
    formula.fClingParameters.push(param[11]);
183
    formula.fClingParameters.push(param[12]);
183
    formula.fClingParameters.push(param[12]);
184
 
184
 
185
    for(var i = 0; i<3;i++){
185
    for(var i = 0; i<3;i++){