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

/* $Id$*/

////////////////////////////////////////////////////////////////////////
//
//  Base Class for Detector specific Merging/Digitization   
//                  
//  Author: <NAME> (CERN)
//
////////////////////////////////////////////////////////////////////////

#include "TTask.h"

class AliRunDigitizer;

class AliDigitizer: public TTask {

 public:
// ctor with name and title
    AliDigitizer(const Text_t* name="AliDigitizer",
		 const Text_t* title="AliDigitizer");
// ctor to be used with name and title
    AliDigitizer(AliRunDigitizer *manager,
		 const Text_t* name="AliDigitizer",
		 const Text_t* title="AliDigitizer");
// Copy ctor needed because there is a pointer
    AliDigitizer(const AliDigitizer &dig);
    AliDigitizer& operator=(AliDigitizer &dig)
      {dig.Copy(*this);return *this;}
      
    virtual ~AliDigitizer();
    virtual Bool_t Init() const {return kTRUE;}
//    virtual void Digitize() = 0;

protected:
    Int_t GetNInputStreams() const;
    void Copy(AliDigitizer &dig) const;

    AliRunDigitizer *fManager;   // Pointer to the Digitizer manager
    
    ClassDef(AliDigitizer,1) // Base class for detector digitizers
};

#endif // ALIDIGITIZER_H<commit_msg>Init() should not be const<commit_after>#ifndef ALIDIGITIZER_H
#define ALIDIGITIZER_H
/* Copyright(c) 1998-2001, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$*/

////////////////////////////////////////////////////////////////////////
//
//  Base Class for Detector specific Merging/Digitization   
//                  
//  Author: <NAME> (CERN)
//
////////////////////////////////////////////////////////////////////////

#include "TTask.h"

class AliRunDigitizer;

class AliDigitizer: public TTask {

 public:
// ctor with name and title
    AliDigitizer(const Text_t* name="AliDigitizer",
		 const Text_t* title="AliDigitizer");
// ctor to be used with name and title
    AliDigitizer(AliRunDigitizer *manager,
		 const Text_t* name="AliDigitizer",
		 const Text_t* title="AliDigitizer");
// Copy ctor needed because there is a pointer
    AliDigitizer(const AliDigitizer &dig);
    AliDigitizer& operator=(AliDigitizer &dig)
      {dig.Copy(*this);return *this;}
      
    virtual ~AliDigitizer();
    virtual Bool_t Init() {return kTRUE;}
//    virtual void Digitize() = 0;

protected:
    Int_t GetNInputStreams() const;
    void Copy(AliDigitizer &dig) const;

    AliRunDigitizer *fManager;   // Pointer to the Digitizer manager
    
    ClassDef(AliDigitizer,1) // Base class for detector digitizers
};

#endif // ALIDIGITIZER_H
{'fraction_non_alphanumeric': 0.19599578503688092, 'fraction_numerical': 0.007024938531787847, 'mean_word_length': 2.143487858719647, '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': '7108396', 'n_tokens_mistral': 871, 'n_tokens_neox': 838, 'n_words': 236}