<commit_before>#ifndef ALIADDECISION_H
#define ALIADDECISION_H

///_________________________________________________________________________
///
///  Auxiliary classs to compute the AD Trigger
///_________________________________________________________________________   

#include <TObject.h>
#include "AliLog.h"

class TTree;
class TClonesArray;
class TF1;
class AliESDAD;
class AliADCalibData;
class AliADRecoParam;

class AliADDecision : public TObject
{
 public:
                   AliADDecision();   // constructor
   virtual        ~AliADDecision(){}  // destructor

   void FillDecisions(AliESDAD *esdAD);
   Double_t GetZPosition(const char* symname);

   void SetRecoParam(const AliADRecoParam *param) { fRecoParam = param; }
   const AliADRecoParam* GetRecoParam() const
   {
     if (!fRecoParam) {
       AliError("Reco-param object is not set!");
       return NULL;
     }
     return fRecoParam;
   }

private:
   AliADDecision(const AliADDecision& mask);
   AliADDecision& operator = (const AliADDecision& mask);

   Float_t fADADist;     // Z position of ADA<commit_msg>memory leak fix<commit_after>#ifndef ALIADDECISION_H
#define ALIADDECISION_H

///_________________________________________________________________________
///
///  Auxiliary classs to compute the AD Trigger
///_________________________________________________________________________   

#include <TObject.h>
#include "AliLog.h"

class TTree;
class TClonesArray;
class TF1;
class AliESDAD;
class AliADCalibData;
class AliADRecoParam;

class AliADDecision : public TObject
{
 public:
  AliADDecision();   // constructor
  virtual        ~AliADDecision() { delete fEarlyHitCutShape; }  // destructor

   void FillDecisions(AliESDAD *esdAD);
   Double_t GetZPosition(const char* symname);

   void SetRecoParam(const AliADRecoParam *param) { fRecoParam = param; }
   const AliADRecoParam* GetRecoParam() const
   {
     if (!fRecoParam) {
       AliError("Reco-param object is not set!");
       return NULL;
     }
     return fRecoParam;
   }

private:
   AliADDecision(const AliADDecision& mask);
   AliADDecision& operator = (const AliADDecision& mask);

   Float_t fADADist;     // Z position of ADA
{'fraction_non_alphanumeric': 0.0863013698630137, 'fraction_numerical': 0.0009132420091324201, 'mean_word_length': 4.060046189376443, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5796790', 'n_tokens_mistral': 671, 'n_tokens_neox': 656, 'n_words': 163}