<commit_before>#include<stdio.h>

#include"AliBlastwaveFitter.h"

#include"TMath.h"
#include"TH1.h"
#include"TGraphErrors.h"
#include"TGraphAsymmErrors.h"

ClassImp(AliBlastwaveFitter);

Int_t AliBlastwaveFitter::fgNparReal = 0;
Int_t AliBlastwaveFitter::fgNDGF = 0;
Int_t AliBlastwaveFitter::fgNfunctionCurrent=0;
AliBlastwaveFit *AliBlastwaveFitter::fgFuncC[50];
Int_t AliBlastwaveFitter::fgSpectraFlagC[50];
Int_t AliBlastwaveFitter::fgV2FlagC[50];
Double_t AliBlastwaveFitter::fgChi2 = 0;

AliBlastwaveFitter::AliBlastwaveFitter(const char *name) :
    TNamed(name,name),
    fNfunction(0),
    fMinuit(new TMinuit()),
    fMinos(kFALSE)
{
}
//------------------------------------------------------------------------------
AliBlastwaveFitter::AliBlastwaveFitter() :
    TNamed("BlastwaveFitter","BlastwaveFitter"),
    fNfunction(0),
    fMinuit(new TMinuit()),
    fMinos(kFALSE)
{
  // inititalize arrays
  for(Int_t i=0;i<fgNmaxFunction;i++){
    fFunc[i]=NULL;
    fSpectraFlag[i]=0;
    fV2Flag[i]=0;
  }
  
}
//------------------------------------------------------------------------------
AliBlastwaveFitter::~AliBlastwaveFitter(){
}
//------------------------------------------------------------------------------
Int_t AliBlastwaveFitter::CheckAvailability(){
    Int_t something = 2;
    Int_t consistency = 0;
    Int_t nparameters = -1;
    for(Int_t i=0;i < fNfunction;i++){
	if(!fFunc[i]){
	    fSpectraFlag[i] = 0;
	    fV2Flag[i] = 0;<commit_msg>coverity fix<commit_after>#include<stdio.h>

#include"AliBlastwaveFitter.h"

#include"TMath.h"
#include"TH1.h"
#include"TGraphErrors.h"
#include"TGraphAsymmErrors.h"

ClassImp(AliBlastwaveFitter);

Int_t AliBlastwaveFitter::fgNparReal = 0;
Int_t AliBlastwaveFitter::fgNDGF = 0;
Int_t AliBlastwaveFitter::fgNfunctionCurrent=0;
AliBlastwaveFit *AliBlastwaveFitter::fgFuncC[50];
Int_t AliBlastwaveFitter::fgSpectraFlagC[50];
Int_t AliBlastwaveFitter::fgV2FlagC[50];
Double_t AliBlastwaveFitter::fgChi2 = 0;

AliBlastwaveFitter::AliBlastwaveFitter(const char *name) :
    TNamed(name,name),
    fNfunction(0),
    fMinuit(new TMinuit()),
    fMinos(kFALSE)
{
  // inititalize arrays
  for(Int_t i=0;i<fgNmaxFunction;i++){
    fFunc[i]=NULL;
    fSpectraFlag[i]=0;
    fV2Flag[i]=0;
  }
}
//------------------------------------------------------------------------------
AliBlastwaveFitter::AliBlastwaveFitter() :
    TNamed("BlastwaveFitter","BlastwaveFitter"),
    fNfunction(0),
    fMinuit(new TMinuit()),
    fMinos(kFALSE)
{
  // inititalize arrays
  for(Int_t i=0;i<fgNmaxFunction;i++){
    fFunc[i]=NULL;
    fSpectraFlag[i]=0;
    fV2Flag[i]=0;
  } 
}
//------------------------------------------------------------------------------
AliBlastwaveFitter::~AliBlastwaveFitter(){
}
//------------------------------------------------------------------------------
Int_t AliBlastwaveFitter::CheckAvailability(){
    Int_t something = 2;
    Int_t consistency = 0;
    Int_t nparameters = -1;
    for(Int_t i=0;i < fNfunction;i++){
	if(!fFunc[i]){
	    fSpectraFlag[i] = 0;
	    fV2Flag[i] = 0;
{'fraction_non_alphanumeric': 0.27945026178010474, 'fraction_numerical': 0.01832460732984293, 'mean_word_length': 2.5259515570934257, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358182', 'n_tokens_mistral': 1152, 'n_tokens_neox': 1113, 'n_words': 137}