<commit_before>#ifndef ALIPHOSCLUSTERIZER_H
#define ALIPHOSCLUSTERIZER_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */
                            
/* $Id$ */

////////////////////////////////////////////////
//  Algorithme class for the clusterization   //
//  interface class                           //
//  Version SUBATECH                          //
//  Author <NAME>     SUBATECH           //
//                                            //  
//   pABC                                     //
////////////////////////////////////////////////

// --- ROOT system ---

#include "TObject.h" 
#include "TClonesArray.h"

// --- Standard library ---

// --- AliRoot header files ---

#include "AliPHOSDigit.h"

typedef TClonesArray    RecPointsList ; // a cluster has a variable size (see ROOT FAQ)  
typedef TClonesArray    DigitsList ; //for digits saved on disk

class AliPHOSClusterizer : public TObject {

public:

  AliPHOSClusterizer() ;          // ctor            
  virtual ~AliPHOSClusterizer() ; // dtor

  virtual Float_t Calibrate(Int_t Amp) = 0 ; 
  virtual Bool_t IsInEmc(AliPHOSDigit * digit)= 0 ;   
  virtual void GetNumberOfClustersFound(Int_t * numb) = 0 ; 
  virtual void GetCalibrationParameters(Float_t & A, Float_t &B) = 0 ; 
  virtual void GetEmcClusteringThreshold(Float_t & cluth) = 0 ; 
  virtual void GetEmcEnergyThreshold(Float_t & enth) = 0 ;  
  virtual void GetLocalMaxCut(Float_t & cut) = 0 ; 
  virtual void GetLogWeightCut(Float_t & w) = 0 ; 
  virtual void GetPpsdClusteringThreshold(Float_t & cluth) = 0 ; 
  virtual void GetPpsdEnergyThreshold(Float_t & enth) = 0 ; 

  virtual void  MakeClusters(const DigitsList * dl, RecPointsList * emccl, RecPointsList * ppsdl) = 0 ; 
  virtual void PrintParameters() = 0 ;  
  virtual void SetCalibrationParameters(Float_t A, Float_t B) = 0 ; 
  virtual void SetEmcClusteringThreshold(Float_t cluth) = 0 ; 
  virtual void SetEmcEnergyThreshold(Float_t enth) = 0 ;  
  virtual void SetLocalMaxCut(Float_t cut) = 0 ; 
  virtual void SetLogWeightCut(Float_t w) = 0 ; 
  virtual void SetPpsdClusteringThreshold(Float_t cluth) = 0 ; 
  virtual void SetPpsdEnergyThreshold(Float_t enth) = 0 ; 
 
  ClassDef(AliPHOSClusterizer,1)  // clusterization interface, version 1

} ;

#endif // AliPHOSCLUSTERIZER_H<commit_msg>Adding Get virtual functions to Clusterizer<commit_after>#ifndef ALIPHOSCLUSTERIZER_H
#define ALIPHOSCLUSTERIZER_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */
                            
/* $Id$ */

////////////////////////////////////////////////
//  Algorithme class for the clusterization   //
//  interface class                           //
//  Version SUBATECH                          //
//  Author <NAME>     SUBATECH           //
//                                            //  
//   pABC                                     //
////////////////////////////////////////////////

// --- ROOT system ---

#include "TObject.h" 
#include "TClonesArray.h"

// --- Standard library ---

// --- AliRoot header files ---

#include "AliPHOSDigit.h"

typedef TClonesArray    RecPointsList ; // a cluster has a variable size (see ROOT FAQ)  
typedef TClonesArray    DigitsList ; //for digits saved on disk

class AliPHOSClusterizer : public TObject {

public:

  AliPHOSClusterizer() ;          // ctor            
  virtual ~AliPHOSClusterizer() ; // dtor

  virtual Float_t Calibrate(Int_t Amp) = 0 ; 
  virtual Bool_t IsInEmc(AliPHOSDigit * digit)= 0 ;   
  virtual void    GetNumberOfClustersFound(Int_t * numb) = 0 ; 
  virtual void    GetCalibrationParameters(Float_t & A, Float_t &B) = 0 ; 
  virtual Float_t GetEmcClusteringThreshold() = 0 ; 
  virtual Float_t GetEmcEnergyThreshold() = 0 ;  
  virtual Float_t GetLocalMaxCut() = 0 ; 
  virtual Float_t GetLogWeightCut() = 0 ; 
  virtual Float_t GetPpsdClusteringThreshold() = 0 ; 
  virtual Float_t GetPpsdEnergyThreshold() = 0 ; 

  virtual void  MakeClusters(const DigitsList * dl, RecPointsList * emccl, RecPointsList * ppsdl) = 0 ; 
  virtual void PrintParameters() = 0 ;  
  virtual void SetCalibrationParameters(Float_t A, Float_t B) = 0 ; 
  virtual void SetEmcClusteringThreshold(Float_t cluth) = 0 ; 
  virtual void SetEmcEnergyThreshold(Float_t enth) = 0 ;  
  virtual void SetLocalMaxCut(Float_t cut) = 0 ; 
  virtual void SetLogWeightCut(Float_t w) = 0 ; 
  virtual void SetPpsdClusteringThreshold(Float_t cluth) = 0 ; 
  virtual void SetPpsdEnergyThreshold(Float_t enth) = 0 ; 
 
  ClassDef(AliPHOSClusterizer,1)  // clusterization interface, version 1

} ;

#endif // AliPHOSCLUSTERIZER_H
{'fraction_non_alphanumeric': 0.12751677852348994, 'fraction_numerical': 0.012164429530201342, 'mean_word_length': 2.0887305699481864, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7427956', 'n_tokens_mistral': 1547, 'n_tokens_neox': 1414, 'n_words': 372}