<commit_before>#ifndef ALIFMDBASEDA_H
#define ALIFMDBASEDA_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
 * reserved. 
 *
 * See cxx source for full Copyright notice                               
 */
//
//This class provides a base interface for the Detector Algorithms (DA) of the FMD. 
//At least three implementations are needed: AliFMDPedestalDA, AliFMDGainDA and AliFMDPhysicsDA . 
//These classes will provide the calibration data for the AliFMDPreprocessor to be used in the shuttle.
//The input for this class are raw data (AliRawReader) and the output is a comma-separated file
//(std::ofstream) that contains the values defined in the implementations of this class.
//
//Author: <NAME>, <EMAIL>
//

#include "TNamed.h"
#include "TObjArray.h"
#include "TClonesArray.h"
#include "TFile.h"
#include "iostream"
#include "fstream"

#include "AliRawReader.h"
#include "AliFMDDigit.h"
#include "AliFMDParameters.h"


class AliFMDBaseDA: public TNamed {
  
 public:
  AliFMDBaseDA() ;
  AliFMDBaseDA(const AliFMDBaseDA & baseDA) ;
  AliFMDBaseDA& operator = (const AliFMDBaseDA & baseDA) ; 
  
  ~AliFMDBaseDA() ;
  
  void Run(AliRawReader* fmdReader);
  void SetSaveDiagnostics(Bool_t save) {fSaveHistograms = save;}
  void SetRequiredEvents(Int_t nEvents) {fRequiredEvents = nEvents;}
  Int_t GetRequiredEvents() {return fRequiredEvents ;}
 protected:
  
  virtual void Init()  {};
  virtual void FillChannels(AliFMDDigit* )  {};
  virtual void Analyse(UShort_t, Char_t, UShort_t, UShort_t )  {};
  virtual void WriteHeaderToFile()  {};
  virtual void AddChannelContainer(TObjArray*, UShort_t, Char_t, UShort_t, UShort_t )  {};
  virtual void FinishEvent()  {};
  
  
  Int_t GetCurrentEvent() {return fCurrentEvent;}
  
  static const UInt_t kBaseDDL = 3072;
  Char_t* fDiagnosticsFilename;<commit_msg>New version to reduce printouts and to comply with the static linking required for the DA RPMs<commit_after>#ifndef ALIFMDBASEDA_H
#define ALIFMDBASEDA_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
 * reserved. 
 *
 * See cxx source for full Copyright notice                               
 */
//
//This class provides a base interface for the Detector Algorithms (DA) of the FMD. 
//At least three implementations are needed: AliFMDPedestalDA, AliFMDGainDA and AliFMDPhysicsDA . 
//These classes will provide the calibration data for the AliFMDPreprocessor to be used in the shuttle.
//The input for this class are raw data (AliRawReader) and the output is a comma-separated file
//(std::ofstream) that contains the values defined in the implementations of this class.
//
//Author: <NAME> Dalsgaard, <EMAIL>
//

#include "TNamed.h"
#include "TObjArray.h"
#include "TClonesArray.h"
#include "TFile.h"
#include "iostream"
#include "fstream"

#include "AliRawReader.h"
#include "AliFMDDigit.h"
#include "AliFMDParameters.h"


class AliFMDBaseDA: public TNamed {
  
 public:
  AliFMDBaseDA() ;
  AliFMDBaseDA(const AliFMDBaseDA & baseDA) ;
  //  AliFMDBaseDA& operator = (const AliFMDBaseDA & baseDA) ; 
  
  ~AliFMDBaseDA() ;
  
  void Run(AliRawReader* fmdReader);
  void SetSaveDiagnostics(Bool_t save) {fSaveHistograms = save;}
  void SetRequiredEvents(Int_t nEvents) {fRequiredEvents = nEvents;}
  Int_t GetRequiredEvents() {return fRequiredEvents ;}
 protected:
  
  virtual void Init()  {};
  virtual void FillChannels(AliFMDDigit* )  {};
  virtual void Analyse(UShort_t, Char_t, UShort_t, UShort_t )  {};
  virtual void WriteHeaderToFile()  {};
  virtual void AddChannelContainer(TObjArray*, UShort_t, Char_t, UShort_t, UShort_t )  {};
  virtual void FinishEvent()  {};
  
  
  Int_t GetCurrentEvent() {return fCurrentEvent;}
  
  static const UInt_t kBaseDDL = 3072;
  Char_t* fDiagnosticsFilename;
{'fraction_non_alphanumeric': 0.09693741677762982, 'fraction_numerical': 0.006391478029294274, 'mean_word_length': 4.231197771587744, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1501614', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1252, 'n_words': 372}