<commit_before>#ifndef ALITOFPIDESD_H
#define ALITOFPIDESD_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

//-------------------------------------------------------
//                    TOF PID class
//   Origin: <NAME>, CERN, <EMAIL> 
//-------------------------------------------------------

#include "TObject.h"

class AliESDEvent;

class AliTOFGeometry;

class AliTOFpidESD : public TObject {
public:
  AliTOFpidESD();
  AliTOFpidESD(Double_t *param);
 ~AliTOFpidESD(){}
 
  void     SetMaxMismatchProbability(Double_t p) {fPmax=p;}
  Double_t GetMaxMismatchProbability() {return fPmax;}

  Int_t MakePID(AliESDEvent *event);
  Int_t MakePID(AliESDEvent *event, Double_t timeZero);

private:
  Double_t GetMismatchProbability(Double_t p,Double_t mass) const;

  Double_t fSigma;        // intrinsic TOF resolution
  Double_t fRange;        // one particle type PID range (in sigmas)
  Double_t fPmax;         // "maximal" probability of mismathing (at ~0.5 GeV/c)

  ClassDef(AliTOFpidESD,2)   // TOF PID class
};

#endif<commit_msg>Coding convention: RC11 rule violation -> suppression<commit_after>#ifndef ALITOFPIDESD_H
#define ALITOFPIDESD_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

//-------------------------------------------------------
//                    TOF PID class
//   Origin: <NAME>, CERN, <EMAIL> 
//-------------------------------------------------------

#include "TObject.h"

class AliESDEvent;

class AliTOFGeometry;

class AliTOFpidESD : public TObject {
public:
  AliTOFpidESD();
  AliTOFpidESD(Double_t *param);
 ~AliTOFpidESD(){}
 
  void     SetMaxMismatchProbability(Double_t p) {fPmax=p;}
  Double_t GetMaxMismatchProbability() const {return fPmax;}

  Int_t MakePID(AliESDEvent *event);
  Int_t MakePID(AliESDEvent *event, Double_t timeZero);

private:
  Double_t GetMismatchProbability(Double_t p,Double_t mass) const;

  Double_t fSigma;        // intrinsic TOF resolution
  Double_t fRange;        // one particle type PID range (in sigmas)
  Double_t fPmax;         // "maximal" probability of mismathing (at ~0.5 GeV/c)

  ClassDef(AliTOFpidESD,2)   // TOF PID class
};

#endif
{'fraction_non_alphanumeric': 0.18403074295473953, 'fraction_numerical': 0.010247651579846286, 'mean_word_length': 2.249653259361997, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '3554217', 'n_tokens_mistral': 803, 'n_tokens_neox': 744, 'n_words': 189}